Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| 5 | <meta name="Author" content="IBM"> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 6 | <title>JDT/Core Release Notes 3.7</title> |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 7 | <link rel="stylesheet" href="jdt_core_style.css" charset="iso-8859-1" type="text/css"> |
| 8 | </head> |
| 9 | <body text="#000000" bgcolor="#FFFFFF"> |
| 10 | <table border=0 cellspacing=5 cellpadding=2 width="100%" > |
| 11 | <tr> |
| 12 | <td align="left" width="72%" class="title1"> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 13 | <font size="+3"><b>jdt core - build notes 3.7 stream</b></font> |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 14 | </td> |
| 15 | </tr> |
| 16 | <tr><td align="left" width="72%" class="title2"><font size="-2">Java development tools core</font></td></tr> |
| 17 | <tr><td> </td></tr> |
| 18 | <tr> |
| 19 | <td class="title3"> |
| 20 | <font size="-1"> |
| 21 | Here are the build notes for the Eclipse JDT/Core plug-in project |
| 22 | <a href="http://www.eclipse.org/jdt/core/index.php"><b>org.eclipse.jdt.core</b></a>, |
| 23 | describing <a href="https://bugs.eclipse.org/bugs" target=new>bug</a> resolution and substantial changes in the <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core"><b>HEAD</b></a> branch. |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 24 | For more information on 3.7 planning, please refer to <a href="http://www.eclipse.org/jdt/core/r3.7/index.php#release-plan">JDT/Core release plan</a>, |
| 25 | the next <a href="http://www.eclipse.org/jdt/core/r3.7/index.php#milestone-plan">milestone plan</a>, |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 26 | the overall <a href="http://www.eclipse.org/eclipse/development/eclipse_project_plan_3_6.html">official plan</a>, |
| 27 | or the <a href="http://www.eclipse.org/eclipse/platform-releng/buildSchedule.html">build schedule</a>. |
| 28 | This present document covers all changes since Release 3.5 (also see a summary of <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.jdt.core/notes/API_changes.html">API changes</a>). |
| 29 | <br>Maintenance of previous releases of JDT/Core is performed in parallel branches: |
| 30 | <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_5_maintenance">R3.5.x</a>, |
| 31 | <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_4_maintenance">R3.4.x</a>, |
| 32 | <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_3_maintenance">R3.3.x</a>, |
| 33 | <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_2_maintenance">R3.2.x</a>, |
| 34 | <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_1_maintenance">R3.1.x</a>, |
| 35 | <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_0_maintenance">R3.0.x</a>, |
| 36 | <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R2_1_maintenance">R2.1.x</a>, |
| 37 | <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R2_0_1">R2.0.x</a>, |
| 38 | <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=ECLIPSE_1_0">R1.0.x</a>. |
| 39 | </font> |
| 40 | </td> |
| 41 | </tr> |
| 42 | </table> |
Stephan Herrmann | 016c426 | 2010-10-20 22:02:18 +0000 | [diff] [blame^] | 43 | <a name="v_B18"></a> |
| 44 | <hr><h1> |
| 45 | Eclipse Platform Build Notes<br> |
| 46 | Java development tools core</h1> |
| 47 | Eclipse SDK 3.7M3 - October 19, 2010 - 3.7.0 M3 |
| 48 | <br>Project org.eclipse.jdt.core v_B18 |
| 49 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B18">cvs</a>). |
| 50 | <h2>What's new in this drop</h2> |
| 51 | |
| 52 | <h3>Problem Reports Fixed</h3> |
| 53 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327429">327429</a> |
| 54 | Use Charset.name() instead of Charset.toString() to get the encoding |
| 55 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327817">327817</a> |
| 56 | ecjsrc.zip should be ecjsrc.jar |
| 57 | |
| 58 | <a name="v_B17"></a> |
| 59 | <hr><h1> |
| 60 | Eclipse Platform Build Notes<br> |
| 61 | Java development tools core</h1> |
| 62 | Eclipse SDK 3.7M3 - October 12, 2010 |
| 63 | <br>Project org.eclipse.jdt.core v_B17 |
| 64 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B17">cvs</a>). |
| 65 | <h2>What's new in this drop</h2> |
| 66 | <ul> |
| 67 | <li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_MISSING_JAVADOC_TAGS_METHOD_TYPE_PARAMETERS added to enable or disable the missing Javadoc tag warning or error for a method |
| 68 | paramater without a corresponding <code>@param</code> tag. (see details in bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322581">322581</a>): |
| 69 | <pre> |
| 70 | /** |
| 71 | * Compiler option ID: Reporting Missing Javadoc Tags for Method Type Parameters. |
| 72 | * Specify whether a missing <code>@param</code> for a type parameter in a method declaration should be reported. |
| 73 | * When enabled, the compiler will issue a missing Javadoc tag error or warning for a type parameter without a |
| 74 | * corresponding <code>@param</code> tag. |
| 75 | * |
| 76 | * This option only has an effect if the compiler compliance is 1.5 or greater. |
| 77 | * |
| 78 | * Option id:<code>"org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters"</code> |
| 79 | * Possible values:<code>{ "enabled", "disabled" }</code> |
| 80 | * Default:<code>"disabled"</code> |
| 81 | * |
| 82 | * @since 3.7 |
| 83 | * @category CompilerOptionID |
| 84 | */ |
| 85 | public static final String COMPILER_PB_MISSING_JAVADOC_TAGS_METHOD_TYPE_PARAMETERS = PLUGIN_ID + ".compiler.problem.missingJavadocTagsMethodTypeParameters"; |
| 86 | </pre> |
| 87 | </li> |
| 88 | <li>Added new API on org.eclipse.jdt.core.dom.rewrite.ASTRewrite to store properties (See bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325131">325131</a>). |
| 89 | <pre> |
| 90 | /** |
| 91 | * Returns the value of the named property of this rewrite, or null if none. |
| 92 | * |
| 93 | * @param propertyName the property name |
| 94 | * @return the property value, or <code>null</code> if none |
| 95 | * @see #setProperty(String,Object) |
| 96 | * @throws IllegalArgumentException if the given property name is null |
| 97 | * @since 3.7 |
| 98 | */ |
| 99 | public final Object getProperty(String propertyName); |
| 100 | </pre> |
| 101 | <pre> |
| 102 | /** |
| 103 | * Sets the named property of this rewrite to the given value, |
| 104 | * or to null to clear it. |
| 105 | * |
| 106 | * Clients should employ property names that are sufficiently unique |
| 107 | * to avoid inadvertent conflicts with other clients that might also be |
| 108 | * setting properties on the same rewrite. |
| 109 | * |
| 110 | * |
| 111 | * Note that modifying a property is not considered a modification to the |
| 112 | * AST itself. This is to allow clients to decorate existing rewrites with |
| 113 | * their own properties without jeopardizing certain things (like the |
| 114 | * validity of bindings), which rely on the underlying tree remaining static. |
| 115 | * |
| 116 | * |
| 117 | * @param propertyName the property name |
| 118 | * @param data the new property value, or null if none |
| 119 | * @see #getProperty(String) |
| 120 | * @throws IllegalArgumentException if the given property name is null |
| 121 | * @since 3.7 |
| 122 | */ |
| 123 | public final void setProperty(String propertyName, Object data); |
| 124 | </pre> |
| 125 | </li> |
| 126 | </ul> |
| 127 | |
| 128 | <h3>Problem Reports Fixed</h3> |
| 129 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324367">324367</a> |
| 130 | IJavaProject.findPackageFragmentRoots(IClasspathEntry cpe) returns empty list |
| 131 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=311022">311022</a> |
| 132 | NPE in InternalExtendedCompletionContext.getVisibleElement |
| 133 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325131">325131</a> |
| 134 | ASTRewrite should offer get/setProperty() like ASTNode |
| 135 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322789">322789</a> |
| 136 | package-info.java Won't Build On First Compile Pass |
| 137 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322581">322581</a> |
| 138 | [5.0] Add Javadoc compiler option to (not) report missing tags for method type parameters |
| 139 | |
| 140 | <a name="v_B16"></a> |
| 141 | <hr><h1> |
| 142 | Eclipse Platform Build Notes<br> |
| 143 | Java development tools core</h1> |
| 144 | Eclipse SDK 3.7M3 - October 5, 2010 - 3.7.0 M3 |
| 145 | <br>Project org.eclipse.jdt.core v_B16 |
| 146 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B16">cvs</a>). |
| 147 | <h2>What's new in this drop</h2> |
| 148 | <ul> |
| 149 | <li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_INCLUDE_ASSERTS_IN_NULL_ANALYSIS added to give the user flexibility to see null related warning arising because of assert statements (see details in <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=325342">bug 325342</a>): |
| 150 | <pre> |
| 151 | /** |
| 152 | * Compiler option ID: Raise null related errors or warnings arising because of assert statements. |
| 153 | * When enabled, the compiler will flag all null related errors or warnings that have been enabled by the user, |
| 154 | * irrespective of whether a variable occurred in an assert statement. |
| 155 | * When disabled, the compiler will not flag null related errors or warnings on variables that got marked as maybe or definitely |
| 156 | * <code>null</code> in an assert statement upstream. |
| 157 | * |
| 158 | * Option id:<code>"org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts"</code> |
| 159 | * Possible values:<code>{ "enabled", "disabled" }</code> |
| 160 | * Default:<code>"disabled"</code> |
| 161 | * |
| 162 | * @since 3.7 |
| 163 | * @category CompilerOptionID |
| 164 | */ |
| 165 | public static final String COMPILER_PB_INCLUDE_ASSERTS_IN_NULL_ANALYSIS = PLUGIN_ID + ".compiler.problem.includeNullInfoFromAsserts"; |
| 166 | </pre> |
| 167 | </li> |
| 168 | </ul> |
| 169 | |
| 170 | <h3>Problem Reports Fixed</h3> |
| 171 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323012">323012</a> |
| 172 | [jsr14][compiler] Class literal value is not cached when target is jsr14 |
| 173 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325342">325342</a> |
| 174 | Add new option for null analysis based on assert result. |
| 175 | |
| 176 | <a name="v_B15"></a> |
| 177 | <hr><h1> |
| 178 | Eclipse Platform Build Notes<br> |
| 179 | Java development tools core</h1> |
| 180 | Eclipse SDK 3.7M3 - September 28, 2010 |
| 181 | <br>Project org.eclipse.jdt.core v_B15 |
| 182 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B15">cvs</a>). |
| 183 | <h2>What's new in this drop</h2> |
| 184 | |
| 185 | <h3>Problem Reports Fixed</h3> |
| 186 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=312603">312603</a> |
| 187 | [content assist] field being declared is proposed as a method argument inside initialization |
| 188 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325342">325342</a> |
| 189 | Add new option for null analysis based on assert result. |
| 190 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325481">325481</a> |
| 191 | [assist] fields declared after a particular field are proposed in its initialization |
| 192 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325633">325633</a> |
| 193 | 1.4 project confused when referencing a return type of generic array from 1.5 project |
| 194 | |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 195 | <a name="v_B14a"></a> |
Stephan Herrmann | e042d00 | 2010-06-05 13:49:29 +0000 | [diff] [blame] | 196 | <hr><h1> |
| 197 | Eclipse Platform Build Notes<br> |
| 198 | Java development tools core</h1> |
Stephan Herrmann | 016c426 | 2010-10-20 22:02:18 +0000 | [diff] [blame^] | 199 | Eclipse SDK 3.7M3 - September 21, 2010 |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 200 | <br>Project org.eclipse.jdt.core v_B14a |
| 201 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B14a">cvs</a>). |
Stephan Herrmann | e042d00 | 2010-06-05 13:49:29 +0000 | [diff] [blame] | 202 | <h2>What's new in this drop</h2> |
| 203 | |
| 204 | <h3>Problem Reports Fixed</h3> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 205 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325567">325567</a> |
| 206 | A blocking "java.lang.IllegalArgumentException: info cannot be null" exception |
Stephan Herrmann | e042d00 | 2010-06-05 13:49:29 +0000 | [diff] [blame] | 207 | |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 208 | <a name="v_B13a"></a> |
Stephan Herrmann | e042d00 | 2010-06-05 13:49:29 +0000 | [diff] [blame] | 209 | <hr><h1> |
| 210 | Eclipse Platform Build Notes<br> |
| 211 | Java development tools core</h1> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 212 | Eclipse SDK 3.7M2 - September 21, 2010 - 3.7.0 M2 |
| 213 | <br>Project org.eclipse.jdt.core v_B13a |
| 214 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B13a">cvs</a>). |
| 215 | <h2>What's new in this drop</h2> |
| 216 | |
| 217 | <h3>Problem Reports Fixed</h3> |
| 218 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325755">325755</a> |
| 219 | [compiler] wrong initialization state after conditional expression |
| 220 | |
| 221 | <a name="v_B13"></a> |
| 222 | <hr><h1> |
| 223 | Eclipse Platform Build Notes<br> |
| 224 | Java development tools core</h1> |
| 225 | Eclipse SDK 3.7M2 - September 15, 2010 |
| 226 | <br>Project org.eclipse.jdt.core v_B13 |
| 227 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B13">cvs</a>). |
| 228 | <h2>What's new in this drop</h2> |
| 229 | |
| 230 | <h3>Problem Reports Fixed</h3> |
| 231 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325229">325229</a> |
| 232 | [compiler] eclipse compiler differs from javac when assert is present (FUP of bug 319510) |
| 233 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325270">325270</a> |
| 234 | [content assist] Parameter names are not displayed for static inner class of an external jar |
| 235 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325321">325321</a> |
| 236 | [compiler] Synthetic constructors for non-static inner classes can exceed 255 parameters -> ClassFormatError |
| 237 | |
| 238 | <a name="v_B12a"></a> |
| 239 | <hr><h1> |
| 240 | Eclipse Platform Build Notes<br> |
| 241 | Java development tools core</h1> |
| 242 | Eclipse SDK 3.7M2 - September 13, 2010 |
| 243 | <br>Project org.eclipse.jdt.core v_B12a |
| 244 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B12a">cvs</a>). |
| 245 | <h2>What's new in this drop</h2> |
| 246 | |
| 247 | <h3>Problem Reports Fixed</h3> |
| 248 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324840">324840</a> |
| 249 | [compiler] Improving debug strings for Break statement, IntLiteral and CaseStatement |
| 250 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324848">324848</a> |
| 251 | [1.6][compiler] NullPointerException when trying to synchronize on non-existing outer class instance |
| 252 | |
| 253 | <a name="v_B11"></a> |
| 254 | <hr><h1> |
| 255 | Eclipse Platform Build Notes<br> |
| 256 | Java development tools core</h1> |
| 257 | Eclipse SDK 3.7M2 - September 9, 2010 - 3.7.0 M2 |
| 258 | <br>Project org.eclipse.jdt.core v_B11 |
| 259 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B11">cvs</a>). |
Stephan Herrmann | e042d00 | 2010-06-05 13:49:29 +0000 | [diff] [blame] | 260 | <h2>What's new in this drop</h2> |
| 261 | <ul> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 262 | <li>Adding missing API methods on org.eclipse.jdt.core.ILocalVariable (see details in <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=48420">bug 48420</a>): |
Stephan Herrmann | 8f4b321 | 2010-05-22 16:38:56 +0000 | [diff] [blame] | 263 | <pre> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 264 | /** |
| 265 | * Returns true if this local variable is a method parameter, false otherwise. |
| 266 | * |
| 267 | * @return true if this local variable is a method parameter, false otherwise |
| 268 | * @since 3.7 |
| 269 | */ |
| 270 | boolean isParameter(); |
Stephan Herrmann | 8f4b321 | 2010-05-22 16:38:56 +0000 | [diff] [blame] | 271 | |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 272 | /** |
| 273 | * Returns the modifier flags for this local variable. The flags can be examined using class. |
| 274 | * |
| 275 | * Note that only flags as indicated in the source are returned. |
| 276 | * |
| 277 | * @return the modifier flags for this local variable |
| 278 | * @see Flags |
| 279 | * @since 3.7 |
| 280 | */ |
| 281 | int getFlags(); |
Stephan Herrmann | 8f4b321 | 2010-05-22 16:38:56 +0000 | [diff] [blame] | 282 | |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 283 | /** |
| 284 | * Returns the declaring member of this local variable. |
| 285 | * |
| 286 | * This is a handle-only method. |
| 287 | * |
| 288 | * @return the declaring member of this local variable |
| 289 | * @since 3.7 |
| 290 | */ |
| 291 | IMember getDeclaringMember(); |
Stephan Herrmann | 9900472 | 2010-05-17 20:32:50 +0000 | [diff] [blame] | 292 | |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 293 | /** |
| 294 | * Returns the Java type root in which this local variable is declared. |
| 295 | * |
| 296 | * This is a handle-only method. |
| 297 | * |
| 298 | * @return the Java type root in which this local variable is declared |
| 299 | * @since 3.7 |
| 300 | */ |
| 301 | ITypeRoot getTypeRoot(); |
Stephan Herrmann | e5d6be8 | 2010-04-02 03:29:32 +0000 | [diff] [blame] | 302 | </pre> |
| 303 | </li> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 304 | <li>Adding missing API method on org.eclipse.jdt.core.ITypeParameter (see details in <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=48420">bug 48420</a>): |
Stephan Herrmann | e5d6be8 | 2010-04-02 03:29:32 +0000 | [diff] [blame] | 305 | <pre> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 306 | /** |
| 307 | * Returns the Java type root in which this type parameter is declared. |
| 308 | * |
| 309 | * This is a handle-only method. |
| 310 | * |
| 311 | * @return the Java type root in which this type parameter is declared |
| 312 | * @since 3.7 |
| 313 | */ |
| 314 | ITypeRoot getTypeRoot(); |
Stephan Herrmann | e5d6be8 | 2010-04-02 03:29:32 +0000 | [diff] [blame] | 315 | </pre> |
| 316 | </li> |
| 317 | </ul> |
| 318 | |
| 319 | <h3>Problem Reports Fixed</h3> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 320 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324762">324762</a> |
| 321 | Compiler thinks there is deadcode and removes it! |
| 322 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=292478">292478</a> |
| 323 | Report potentially null across variable assignment |
| 324 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324748">324748</a> |
| 325 | JDT core tests have restrictive range on com.ibm.icu |
| 326 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323633">323633</a> |
| 327 | [1.5][compiler] Reconciler issues mixing 1.4 projects with & 1.5 project with generics. |
| 328 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317046">317046</a> |
| 329 | Exception during debugging when hover mouse over a field |
| 330 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=48420">48420</a> |
| 331 | [API] ILocalVariable and ITypeParameter should provide more methods |
| 332 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321414">321414</a> |
| 333 | Synthetic constructors can exceed 255 parameters -> ClassFormatError |
Stephan Herrmann | e5d6be8 | 2010-04-02 03:29:32 +0000 | [diff] [blame] | 334 | |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 335 | <a name="v_B10"></a> |
Stephan Herrmann | e5d6be8 | 2010-04-02 03:29:32 +0000 | [diff] [blame] | 336 | <hr><h1> |
| 337 | Eclipse Platform Build Notes<br> |
| 338 | Java development tools core</h1> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 339 | Eclipse SDK 3.7M2 - September 7, 2010 |
| 340 | <br>Project org.eclipse.jdt.core v_B10 |
| 341 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B10">cvs</a>). |
Stephan Herrmann | e5d6be8 | 2010-04-02 03:29:32 +0000 | [diff] [blame] | 342 | <h2>What's new in this drop</h2> |
| 343 | <ul> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 344 | <li>Code formatter: 4 new options were added to better handle the addition of |
| 345 | new lines after annotations. |
Stephan Herrmann | e5d6be8 | 2010-04-02 03:29:32 +0000 | [diff] [blame] | 346 | <pre> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 347 | * FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_FIELD |
| 348 | * FORMATTER / Option to insert a new line after an annotation on a field declaration |
| 349 | * - option id: "org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field" |
Stephan Herrmann | e5d6be8 | 2010-04-02 03:29:32 +0000 | [diff] [blame] | 350 | * - possible values: { INSERT, DO_NOT_INSERT } |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 351 | * - default: INSERT |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 352 | * |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 353 | * FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_METHOD |
| 354 | * FORMATTER / Option to insert a new line after an annotation on a method declaration |
| 355 | * - option id: "org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method" |
| 356 | * - possible values: { INSERT, DO_NOT_INSERT } |
| 357 | * - default: INSERT |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 358 | * |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 359 | * FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_PACKAGE |
| 360 | * FORMATTER / Option to insert a new line after an annotation on a package declaration |
| 361 | * - option id: "org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package" |
| 362 | * - possible values: { INSERT, DO_NOT_INSERT } |
| 363 | * - default: INSERT |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 364 | * |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 365 | * FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_TYPE |
| 366 | * FORMATTER / Option to insert a new line after an annotation on a type declaration |
| 367 | * - option id: "org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type" |
| 368 | * - possible values: { INSERT, DO_NOT_INSERT } |
| 369 | * - default: INSERT |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 370 | </pre> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 371 | The addition of new lines after annotations has been discussed in <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=308000">bug 308000</a><br> |
| 372 | Also note that previously available code formatter constant FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_MEMBER has been deprecated.<br> |
| 373 | All new options must be enabled to activate old strategy. |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 374 | </li> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 375 | <li> |
| 376 | The previously added new APIs: |
| 377 | <blockquote> |
| 378 | <code>org.eclipse.jdt.core.IImportDeclaration#getNameRange()</code>,<br> |
| 379 | <code>org.eclipse.jdt.core.IPackageDeclaration#getNameRange()</code> |
| 380 | </blockquote> |
| 381 | have been moved to the org.eclipse.jdt.core.ISourceReference interface. See bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321764">321764</a> for details: |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 382 | <pre> |
| 383 | /** |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 384 | * Returns the name range associated with this element. |
| 385 | * |
| 386 | * If the element is an IMember, it returns |
| 387 | * the source range of this member's simple name, |
| 388 | * or null if this member does not have a name |
| 389 | * (for example, an initializer), or if this member does not have |
| 390 | * associated source code (for example, a binary type). |
| 391 | * |
| 392 | * If this element is an IImportDeclaration, the source range |
| 393 | * of this import declaration's name, or null if this import |
| 394 | * declaration does not have associated source code (for example, a binary type). |
| 395 | * The source range for the name includes the trailing '*' if the call to |
| 396 | * IImportDeclaration#isOnDemand() returns true. |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 397 | * |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 398 | * If this element is an IPackageDeclaration, the source range of |
| 399 | * this package declaration's name, or null if this package |
| 400 | * declaration does not have associated source code (for example, a binary type). |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 401 | * |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 402 | * If this element is an IAnnotation, the source range of |
| 403 | * this annotation's name, or null if this annotation does not have |
| 404 | * associated source code (for example, in a binary type). |
| 405 | * |
| 406 | * If this element is an ITypeParameter, the source range of this |
| 407 | * type parameter's name, or null if this type parameter does not have |
| 408 | * associated source code (for example, in a binary type). |
| 409 | * |
| 410 | * If this element is an ITypeRoot or IImportContainer, it |
| 411 | * returns null. |
| 412 | * |
| 413 | * @return the name range associated with this element, or null if |
| 414 | * not available |
| 415 | * |
| 416 | * @since 3.7 |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 417 | */ |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 418 | ISourceRange getNameRange() throws JavaModelException; |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 419 | </pre> |
| 420 | </li> |
| 421 | </ul> |
| 422 | |
| 423 | <h3>Problem Reports Fixed</h3> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 424 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322979">322979</a> |
| 425 | [search] use of IJavaSearchConstants.IMPLEMENTORS yields surprising results |
| 426 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316937">316937</a> |
| 427 | JavaElement.getElementInfo(..) throws JavaModelException when trying to get info for an inner class in an external jar |
| 428 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322531">322531</a> |
| 429 | [1.5][Generics] eclipse compiles code rejected by javac with incomparable types error. |
| 430 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=308000">308000</a> |
| 431 | [formatter] Formatter is missing options regarding Annotation Newlines |
| 432 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321276">321276</a> |
| 433 | JDT core apis dont recognize InnerClass constructor inside .class files |
| 434 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=252556">252556</a> |
| 435 | [formatter] Spaces removed before formatted region of a compilation unit. |
| 436 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323785">323785</a> |
| 437 | [builder] NPE when adding 'package-info.java' to default package |
| 438 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321358">321358</a> |
| 439 | NPE refreshing external folders |
| 440 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322596">322596</a> |
| 441 | [DOM] ASTNode APIs should specify types of property descriptors |
| 442 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324109">324109</a> |
| 443 | [search] Java search shows incorrect results as accurate matches |
| 444 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324154">324154</a> |
| 445 | NPE in FlowContext while building |
| 446 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=133125">133125</a> |
| 447 | [compiler][null] need to report the null status of expressions and analyze them simultaneously |
| 448 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321695">321695</a> |
| 449 | Test added for bug 319425 doesn't detect the bug |
| 450 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=258905">258905</a> |
| 451 | making java.lang.AssertionError accessible thru resolveWellKnownType method |
| 452 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321764">321764</a> |
| 453 | Add getNameRange() to ISourceReference |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 454 | |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 455 | <a name="v_B09"></a> |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 456 | <hr><h1> |
| 457 | Eclipse Platform Build Notes<br> |
| 458 | Java development tools core</h1> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 459 | Eclipse SDK 3.7M2 - August 31, 2010 - 3.7.0 M2 |
| 460 | <br>Project org.eclipse.jdt.core v_B09 |
| 461 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B09">cvs</a>). |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 462 | <h2>What's new in this drop</h2> |
| 463 | |
| 464 | <h3>Problem Reports Fixed</h3> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 465 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=311578">311578</a> |
| 466 | [formatter] Enable/disable tag detection should include comment start/end tokens |
| 467 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320618">320618</a> |
| 468 | inconsistent initialization of classpath container backed by external class folder |
| 469 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323693">323693</a> |
| 470 | [1.5][compiler] Compiler fails to diagnose name clash |
| 471 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323558">323558</a> |
| 472 | Tests test0307a and test0307e under BatchCompilerTest failing |
| 473 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=308402">308402</a> |
| 474 | [index] PatternSearchJob ignores participant index entries |
| 475 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317264">317264</a> |
| 476 | [search] Refactoring is impossible with commons.lang added to project |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 477 | |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 478 | <a name="v_B08"></a> |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 479 | <hr><h1> |
| 480 | Eclipse Platform Build Notes<br> |
| 481 | Java development tools core</h1> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 482 | Eclipse SDK 3.7M1 - August 24, 2010 |
| 483 | <br>Project org.eclipse.jdt.core v_B08 |
| 484 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B08">cvs</a>). |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 485 | <h2>What's new in this drop</h2> |
| 486 | |
| 487 | <h3>Problem Reports Fixed</h3> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 488 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321926">321926</a> |
| 489 | Erroneously deems null check conditional branch to be dead code, and produces incorrect bytecode |
| 490 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320170">320170</a> |
| 491 | [compiler] [null] Whitebox issues in null analysis |
| 492 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=305259">305259</a> |
| 493 | Strange error when referencing code produced with jsr14 target |
| 494 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321115">321115</a> |
| 495 | Compiler is not case sensitive with package names |
| 496 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=310427">310427</a> |
| 497 | [content assist] FUP of 236306: Variable proposed before definition. |
| 498 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320911">320911</a> |
| 499 | Not all redundant superinterface problems reported |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 500 | |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 501 | <a name="v_B07"></a> |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 502 | <hr><h1> |
| 503 | Eclipse Platform Build Notes<br> |
| 504 | Java development tools core</h1> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 505 | Eclipse SDK 3.7M1 - August 17, 2010 |
| 506 | <br>Project org.eclipse.jdt.core v_B07 |
| 507 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B07">cvs</a>). |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 508 | <h2>What's new in this drop</h2> |
| 509 | |
| 510 | <h3>Problem Reports Fixed</h3> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 511 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319201">319201</a> |
| 512 | [null] no warning when unboxing SingleNameReference causes NPE |
| 513 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322154">322154</a> |
| 514 | Compiler bug that does not occur in Galileo 3.5.2 |
| 515 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320754">320754</a> |
| 516 | [formatter] formatter:off/on tags does not work correctly |
| 517 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322001">322001</a> |
| 518 | [1.5][compiler] Name Clash error occurs |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 519 | |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 520 | <a name="v_B06"></a> |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 521 | <hr><h1> |
| 522 | Eclipse Platform Build Notes<br> |
| 523 | Java development tools core</h1> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 524 | Eclipse SDK 3.7M1 - August 10, 2010 |
| 525 | <br>Project org.eclipse.jdt.core v_B06 |
| 526 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B06">cvs</a>). |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 527 | <h2>What's new in this drop</h2> |
| 528 | |
| 529 | <h3>Problem Reports Fixed</h3> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 530 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320167">320167</a> |
| 531 | Auto-Activation works only once |
| 532 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320809">320809</a> |
| 533 | ArrayIndexOutOfBoundsException in IndexManager.writeSavedIndexNamesFile - concurrency issue? |
| 534 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321085">321085</a> |
| 535 | Enhanced for loops need to implement type safety checks on array initializers |
| 536 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319626">319626</a> |
| 537 | Preferences->Java Compiler-> Errors/Warnings -> Undocumented Empty Block |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 538 | |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 539 | <a name="v_B05"></a> |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 540 | <hr><h1> |
| 541 | Eclipse Platform Build Notes<br> |
| 542 | Java development tools core</h1> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 543 | Eclipse SDK 3.7M1 - July 30, 2010 - 3.7.0 M1 |
| 544 | <br>Project org.eclipse.jdt.core v_B05 |
| 545 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B05">cvs</a>). |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 546 | <h2>What's new in this drop</h2> |
| 547 | <ul> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 548 | <li> |
| 549 | New API added to be able to retrieve the name range for <code>org.eclipse.jdt.core.IImportDeclaration</code>: |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 550 | <pre> |
| 551 | /** |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 552 | * Returns the source range of this import declaration's name, |
| 553 | * or null if this import declaration does not have |
| 554 | * associated source code (for example, a binary type). |
| 555 | * |
| 556 | * The source range for the name includes the trailing '*' if the call to |
| 557 | * isOnDemand() returns true. |
| 558 | * |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 559 | * |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 560 | * @exception JavaModelException if this element does not exist or if an |
| 561 | * exception occurs while accessing its corresponding resource. |
| 562 | * @return the source range of this import declaration's name, |
| 563 | * or null if this import declaration does not have |
| 564 | * associated source code (for example, a binary type) |
| 565 | * @since 3.7 |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 566 | */ |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 567 | ISourceRange getNameRange() throws JavaModelException; |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 568 | </pre> |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 569 | </li> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 570 | <li> |
| 571 | New API added to be able to retrieve the name range for <code>org.eclipse.jdt.core.IPackageDeclaration</code>: |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 572 | <pre> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 573 | /** |
| 574 | * Returns the source range of this package declaration's name, |
| 575 | * or null if this package declaration does not have |
| 576 | * associated source code (for example, a binary type). |
| 577 | * |
| 578 | * @exception JavaModelException if this element does not exist or if an |
| 579 | * exception occurs while accessing its corresponding resource. |
| 580 | * @return the source range of this package declaration's name, |
| 581 | * or null if this package declaration does not have |
| 582 | * associated source code (for example, a binary type) |
| 583 | * @since 3.7 |
| 584 | */ |
| 585 | ISourceRange getNameRange() throws JavaModelException; |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 586 | </pre> |
| 587 | </li> |
| 588 | </ul> |
| 589 | |
| 590 | <h3>Problem Reports Fixed</h3> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 591 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=306524">306524</a> |
| 592 | ASTRewriteAnalyzer uses wrong starting offset in case of comments before a node |
| 593 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=150980">150980</a> |
| 594 | [API] Selecting import declaration with space in outline highlights wrong range |
| 595 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320841">320841</a> |
| 596 | TypeConverters don't set enclosingType |
| 597 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320802">320802</a> |
| 598 | ASTParser.createASTs(..) fails silently on multiple missing parameter types. |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 599 | |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 600 | <a name="v_B04"></a> |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 601 | <hr><h1> |
| 602 | Eclipse Platform Build Notes<br> |
| 603 | Java development tools core</h1> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 604 | Eclipse SDK 3.7M1 - July 27, 2010 |
| 605 | <br>Project org.eclipse.jdt.core v_B04 |
| 606 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B04">cvs</a>). |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 607 | <h2>What's new in this drop</h2> |
| 608 | |
| 609 | <h3>Problem Reports Fixed</h3> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 610 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319425">319425</a> |
| 611 | [compiler] JDT outputs corrupt .class file for problem type |
| 612 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319885">319885</a> |
| 613 | Spurious 'cycle detected'/'hierarchy inconsistent' errors if a type that WOULD be cyclic is static-imported |
| 614 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=312076">312076</a> |
| 615 | [1.5][compiler] Eclipse compiler behaves differently from javac |
| 616 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320414">320414</a> |
| 617 | Compiler produces incorrect bytecode for null pointer check |
| 618 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=223225">223225</a> |
| 619 | [DOM] IMemberValuePairBinding does not desugar single values into one-element arrays |
| 620 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319603">319603</a> |
| 621 | [1.5][compiler] eclipse fails with 2 generics methods with the same name while javac succeeds |
| 622 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=318020">318020</a> |
| 623 | [compiler] wrong initialization flow info with if (true) throw... pattern in else block |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 624 | |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 625 | <a name="v_B03"></a> |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 626 | <hr><h1> |
| 627 | Eclipse Platform Build Notes<br> |
| 628 | Java development tools core</h1> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 629 | Eclipse SDK 3.7M1 - July 20, 2010 |
| 630 | <br>Project org.eclipse.jdt.core v_B03 |
| 631 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B03">cvs</a>). |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 632 | <h2>What's new in this drop</h2> |
| 633 | |
| 634 | <h3>Problem Reports Fixed</h3> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 635 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320340">320340</a> |
| 636 | Test failures in debug mode |
| 637 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=307523">307523</a> |
| 638 | Differences between patch of bug 210422 and sources |
| 639 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319900">319900</a> |
| 640 | StringLiteral#setLiteralValue needlessly escapes apostrophes (') |
| 641 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=310264">310264</a> |
| 642 | Wrong warning: The assignment to variable has no effect |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 643 | |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 644 | <a name="v_B02"></a> |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 645 | <hr><h1> |
| 646 | Eclipse Platform Build Notes<br> |
| 647 | Java development tools core</h1> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 648 | Eclipse SDK 3.7M1 - July 13, 2010 |
| 649 | <br>Project org.eclipse.jdt.core v_B02 |
| 650 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B02">cvs</a>). |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 651 | <h2>What's new in this drop</h2> |
| 652 | |
| 653 | <h3>Problem Reports Fixed</h3> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 654 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=314556">314556</a> |
| 655 | [1.5][compiler] compiler fails to report attempt to assign weaker access privileges |
| 656 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316956">316956</a> |
| 657 | [compiler] Private superclass and enclosing scope field names incorrectly reported as conflicting |
| 658 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=151500">151500</a> |
| 659 | [assist] Method parameter names are not displayed for inner classes |
| 660 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=304006">304006</a> |
| 661 | [code assist] Autocast after instanceof feature doesnt work in some cases. |
| 662 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=210419">210419</a> |
| 663 | [compiler] Invalid field initializer not flagged as error |
| 664 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=212713">212713</a> |
| 665 | Bad error message for static block inside an interface |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 666 | |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 667 | <a name="v_B01"></a> |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 668 | <hr><h1> |
| 669 | Eclipse Platform Build Notes<br> |
| 670 | Java development tools core</h1> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 671 | Eclipse SDK 3.7M1 - July 6, 2010 - 3.7M1 |
| 672 | <br>Project org.eclipse.jdt.core v_B01 |
| 673 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B01">cvs</a>). |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 674 | <h2>What's new in this drop</h2> |
| 675 | |
| 676 | <h3>Problem Reports Fixed</h3> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 677 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313153">313153</a> |
| 678 | Too many blocked "Refreshing external folders" jobs (FUP of bug 302295) |
| 679 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316654">316654</a> |
| 680 | ITypeHierarchyChangedListener receive spurious callbacks |
| 681 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317858">317858</a> |
| 682 | Eclipse isn't accessing the correct field/class - causes compile error |
| 683 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=318171">318171</a> |
| 684 | fieldHiding-Warning does not appear if classes are in different packages |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 685 | |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 686 | <a name="v_B00"></a> |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 687 | <hr><h1> |
| 688 | Eclipse Platform Build Notes<br> |
| 689 | Java development tools core</h1> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 690 | Eclipse SDK 3.7M1 - June 29, 2010 |
| 691 | <br>Project org.eclipse.jdt.core v_B00 |
| 692 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B00">cvs</a>). |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 693 | <h2>What's new in this drop</h2> |
| 694 | |
| 695 | <h3>Problem Reports Fixed</h3> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 696 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317841">317841</a> |
| 697 | [incremental build] unnecessary 'structural changes' due to annotation parameters |
| 698 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317468">317468</a> |
| 699 | Adding elements to an enum body with trailing comma generates bad code |
| 700 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313668">313668</a> |
| 701 | [search] Call hierarchy doesn't show all calls of the method in workspace |
| 702 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317972">317972</a> |
| 703 | Fix for wrong usages of affect* and effect* |
| 704 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313651">313651</a> |
| 705 | [formatter] format comments (differs between paste and save action) |
| 706 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316889">316889</a> |
| 707 | Internal compiler error: java.lang.NullPointerException with a specific use of recursive generics |
| 708 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=315978">315978</a> |
| 709 | Big regression, eclipse compiles my workspace in 3 mins instead of few seconds |
| 710 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=315577">315577</a> |
| 711 | [formatter] No line break after <br> if followed by {@link when formatting java source file |
| 712 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=306464">306464</a> |
| 713 | NPE in ProblemReporter.missingTypeInMethod(ProblemReporter.java:5113) |
| 714 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317212">317212</a> |
| 715 | [compiler] Illegal permission to invoke the constructor of a member class of an inaccessible type. |
| 716 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=195346">195346</a> |
| 717 | [assist] Array type should be filtered while completing in case of a switch |
| 718 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=315732">315732</a> |
| 719 | [formatter] NullPointerException (always) on inserting a custom template proposal into java code when "Use code formatter" is on |
| 720 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316456">316456</a> |
| 721 | [1.5][compiler] Annotation values can access private class members |
| 722 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=312989">312989</a> |
| 723 | Accepts illegal method-local classes if hidden by generics parameters |
| 724 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=310423">310423</a> |
| 725 | [content assist] After 'implements' annotation types should not be proposed |
| 726 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=314830">314830</a> |
| 727 | [compiler] Switching on a null expression doesn't always throw NullPointerException |
| 728 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313825">313825</a> |
| 729 | Erroneous local variable's problems reported at surrounding ParenthesizedExpression |
| 730 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=314898">314898</a> |
| 731 | Typo in org.eclipse.jdt.core.dom.NameEnviromentWithProgress |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 732 | |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 733 | |
| 734 | <hr> |
Stephan Herrmann | 66cc2b6 | 2010-09-26 15:38:59 +0000 | [diff] [blame] | 735 | <p>For earlier build notes, also see <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.jdt.core/notes/R36_buildnotes_jdt-core.html">build notes up to Release 3.6</a>.</p> |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 736 | <br> |
| 737 | <p> |
| 738 | <a href="http://validator.w3.org/check?uri=referer"><img |
| 739 | src="http://www.w3.org/Icons/valid-html401" |
| 740 | alt="Valid HTML 4.01 Transitional" height="31" width="88"></a> |
| 741 | </p> |
| 742 | </body> |
| 743 | </html> |
| 744 | |