| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <html lang="en"> |
| |
| <head> |
| |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > |
| |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| <meta http-equiv="Content-Style-Type" content="text/css"> |
| <link rel="STYLESHEET" href="../../book.css" charset="ISO-8859-1" type="text/css"> |
| <title>Incompatibilities between Eclipse JDT 3.1 and 3.2</title> |
| </head> |
| |
| <body> |
| |
| <h1>Incompatibilities between Eclipse JDT 3.1 and 3.2</h1> |
| |
| <p> Eclipse changed in incompatible ways between 3.1 and 3.2 in ways that affect |
| plug-ins. The following entries describe the areas that changed and provide |
| instructions for migrating 3.1 plug-ins to 3.2. Note that you only need to look |
| here if you are experiencing problems running your 3.1 plug-in on 3.2.</p> |
| <ol> |
| <li><a href="#NullClassLoaderObject">API contract changes to IJavaReferenceType</a></li> |
| </ol> |
| <hr> |
| |
| <!-- ############################################## --> |
| <h2>1. <a name="NullClassLoaderObject"></a>API contract changes to IJavaReferenceType</h2> |
| <p><strong>What is affected:</strong> Clients that call <code>IJavaReferenceType.getClassLoaderObject()</code>.</p> |
| <p><strong>Description:</strong> In Eclipse 3.1, the method <code>org.eclipse.jdt.debug.core.IJavaReferenceType.getClassLoaderObject()</code> |
| was added to <code>IJavaReferenceType</code>. The method was not specified to |
| return <code>null</code>, but could. In Eclipse 3.2, the specification has been |
| updated to indicate that <code>null</code> is a valid return value. The behavior |
| of the method has not changed, but callers should be aware that <code>null</code> |
| can be returned and should add appropriate checks.</p> |
| <p><strong>Action required:</strong> Clients calling <code>IJavaReferenceType.getClassLoaderObject()</code> |
| should be modified to handle <code>null</code> as a return value.</p> |
| <!-- ############################################## --> |
| |
| </body> |
| </html> |