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