Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 1 | <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| 5 | <meta name="Author" content="IBM"> |
| 6 | <title>JDT/Core Release Notes</title> |
| 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"> |
| 13 | <font size="+3"><b>jdt core - build notes 3.1 stream</b></font> |
| 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://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/jdt-core-home/main.html"><b>org.eclipse.jdt.core</b></a>, |
| 23 | describing <a href="http://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>R3.1</b></a> branch. |
| 24 | This present document covers all changes since Release 3.0 (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>). |
| 25 | Older changes which occurred up to Release 3.0 can be found in |
| 26 | <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.jdt.core/notes/R30_buildnotes_jdt-core.html">build notes R3.0</a>. |
| 27 | </font> |
| 28 | </td> |
| 29 | </tr> |
| 30 | </table> |
| 31 | |
| 32 | <a name="v_570"></a> |
| 33 | <p><hr><h1> |
| 34 | Eclipse Platform Build Notes <br> |
| 35 | Java development tools core</h1> |
| 36 | Eclipse SDK 3.1RC4 - 27th June 2005 - 3.1 RELEASE (R3_1) |
| 37 | <br>Project org.eclipse.jdt.core v_570 |
| 38 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_570">cvs</a>). |
| 39 | <h2> |
| 40 | What's new in this drop</h2> |
| 41 | <ul> |
| 42 | </ul> |
| 43 | |
| 44 | <h3>Problem Reports Fixed</h3> |
| 45 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=101453">101453</a> |
| 46 | java.lang.UnsupportedOperationException: Operation only supported in JLS2 AST |
| 47 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=101794">101794</a> |
| 48 | [1.5][compiler] Compiling Classpath classes results in bad class file |
| 49 | |
| 50 | |
| 51 | <a name="v_569"></a> |
| 52 | <p><hr><h1> |
| 53 | Eclipse Platform Build Notes <br> |
| 54 | Java development tools core</h1> |
| 55 | Eclipse SDK 3.1RC4 - 24th June 2005 - 3.1 RELEASE CANDIDATE 4 |
| 56 | <br>Project org.eclipse.jdt.core v_569 |
| 57 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_569">cvs</a>). |
| 58 | <h2> |
| 59 | What's new in this drop</h2> |
| 60 | <ul> |
| 61 | </ul> |
| 62 | |
| 63 | <h3>Problem Reports Fixed</h3> |
| 64 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=101613">101613</a> |
| 65 | Performance regressions in Open Type Hierarchy performance test |
| 66 | |
| 67 | <a name="v_568"></a> |
| 68 | <p><hr><h1> |
| 69 | Eclipse Platform Build Notes <br> |
| 70 | Java development tools core</h1> |
| 71 | Eclipse SDK 3.1RC4 - 23rd June 2005 |
| 72 | <br>Project org.eclipse.jdt.core v_568 |
| 73 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_568">cvs</a>). |
| 74 | <h2> |
| 75 | What's new in this drop</h2> |
| 76 | <ul> |
| 77 | </ul> |
| 78 | |
| 79 | <h3>Problem Reports Fixed</h3> |
| 80 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=101426">101426</a> |
| 81 | [search] Search doesn't work with imported plugin |
| 82 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=101120">101120</a> |
| 83 | Cannot generate an executable of the batch compiler using gcj 3.4.4 |
| 84 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=100631">100631</a> |
| 85 | Internal compiler error in 3.1RC2 |
| 86 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=101230">101230</a> |
| 87 | [compiler] Internal compiler error when labeled statement processing |
| 88 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=101022">101022</a> |
| 89 | [search] JUnit Test Runner on folder runs tests outside directory |
| 90 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=101019">101019</a> |
| 91 | RC3: Type Hierarchy does not find implementers/extenders of inner class/interface in other project |
| 92 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=100009">100009</a> |
| 93 | [assist] Content assist uses generic parameter name arg0 instead of real name |
| 94 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=100584">100584</a> |
| 95 | [1.5][dom] NPE when selecting a faulty member type following a generic type reference |
| 96 | |
| 97 | <a name="v_567"></a> |
| 98 | <p><hr><h1> |
| 99 | Eclipse Platform Build Notes <br> |
| 100 | Java development tools core</h1> |
| 101 | Eclipse SDK 3.1RC3 - 17th June 2005 - 3.1 RELEASE CANDIDATE 3 |
| 102 | <br>Project org.eclipse.jdt.core v_567 |
| 103 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_567">cvs</a>). |
| 104 | <h2> |
| 105 | What's new in this drop</h2> |
| 106 | <ul> |
| 107 | </ul> |
| 108 | |
| 109 | <h3>Problem Reports Fixed</h3> |
| 110 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=100519">100519</a> |
| 111 | [1.5][compiler] generic parameter and qualified access seems to confuse each other |
| 112 | |
| 113 | |
| 114 | <a name="v_566"></a> |
| 115 | <p><hr><h1> |
| 116 | Eclipse Platform Build Notes <br> |
| 117 | Java development tools core</h1> |
| 118 | Eclipse SDK 3.1RC3 - 16th June 2005 |
| 119 | <br>Project org.eclipse.jdt.core v_566 |
| 120 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_566">cvs</a>). |
| 121 | <h2> |
| 122 | What's new in this drop</h2> |
| 123 | <ul> |
| 124 | </ul> |
| 125 | |
| 126 | <h3>Problem Reports Fixed</h3> |
| 127 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=100421">100421</a> |
| 128 | [1.5][compiler] chain of generics-extends confuse compiler |
| 129 | |
| 130 | |
| 131 | <a name="v_565"></a> |
| 132 | <p><hr><h1> |
| 133 | Eclipse Platform Build Notes <br> |
| 134 | Java development tools core</h1> |
| 135 | Eclipse SDK 3.1RC3 - 16th June 2005 |
| 136 | <br>Project org.eclipse.jdt.core v_565 |
| 137 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_565">cvs</a>). |
| 138 | <h2> |
| 139 | What's new in this drop</h2> |
| 140 | <ul> |
| 141 | </ul> |
| 142 | |
| 143 | <h3>Problem Reports Fixed</h3> |
| 144 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99654">99654</a> |
| 145 | [5.0] JavaModel returns both IClassFile and ICompilationUnit for package-info.java |
| 146 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=100393">100393</a> |
| 147 | Defaults for compiler errors/warnings settings |
| 148 | |
| 149 | <a name="v_564"></a> |
| 150 | <p><hr><h1> |
| 151 | Eclipse Platform Build Notes <br> |
| 152 | Java development tools core</h1> |
| 153 | Eclipse SDK 3.1RC3 - 16th June 2005 |
| 154 | <br>Project org.eclipse.jdt.core v_564 |
| 155 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_564">cvs</a>). |
| 156 | <h2> |
| 157 | What's new in this drop</h2> |
| 158 | <ul> |
| 159 | <li>Fix for <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99606">bug 99606</a> required the index version to be incremented. |
| 160 | Indexes will be automatically regenerated upon subsequent search queries (accounting for indexing notification in search progress dialogs). |
| 161 | </li> |
| 162 | </ul> |
| 163 | |
| 164 | <h3>Problem Reports Fixed</h3> |
| 165 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=100302">100302</a> |
| 166 | StackOverflowError during completion |
| 167 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99606">99606</a> |
| 168 | Subtype not found if parameterized on inner class |
| 169 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=100293">100293</a> |
| 170 | 1.5 compiler - Methods using non-generic inner types of concreted generic classes generate wrong signatures |
| 171 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98322">98322</a> |
| 172 | [compiler] ParameterizedTypeBinding should not have AccGenericSignature set when no type arguments |
| 173 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99978">99978</a> |
| 174 | MalformedTreeException on Inline Method |
| 175 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=100128">100128</a> |
| 176 | [1.5][compiler] StackOverflow compiling GNU Classpath generics branch |
| 177 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=100142">100142</a> |
| 178 | CCE when calling ITypeBinding#getJavaElement() on char[][] |
| 179 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=100147">100147</a> |
| 180 | [1.5][compiler] NPE when reporting an error on an unsafe type conversion |
| 181 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=100062">100062</a> |
| 182 | [formatting] Code formatter is broken on test case from bug 99999 |
| 183 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=100162">100162</a> |
| 184 | java.lang.VerifyError is produced by Eclipse Java compiler |
| 185 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99428">99428</a> |
| 186 | [1.5][compiler] enum classes created without final accessFlag |
| 187 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99999">99999</a> |
| 188 | [1.5][compiler] AIOOBE with generics + nested classes + arrays |
| 189 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99686">99686</a> |
| 190 | IAE in Util#scanTypeBoundSignature |
| 191 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=100149">100149</a> |
| 192 | [1.5][compiler] Raw type upper bounds should be raw types |
| 193 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99927">99927</a> |
| 194 | NPE in ParameterizedTypeBinding.initialize |
| 195 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=100138">100138</a> |
| 196 | [doc] Confusing documentation in Project Configuration tutorial |
| 197 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99915">99915</a> |
| 198 | [search] Open Type: not yet saved types not found if case-sensitve name is entered |
| 199 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=100007">100007</a> |
| 200 | [1.5][compiler] ClassCastException using array object as generic type |
| 201 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99600">99600</a> |
| 202 | [search] Java model exception on "Move to new file" on inner type with inner type |
| 203 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99982">99982</a> |
| 204 | [DOM] Wrong positions for boolean[] type |
| 205 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99811">99811</a> |
| 206 | NPE during content assist |
| 207 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99629">99629</a> |
| 208 | Error while entering expression in change variable value dialog |
| 209 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99922">99922</a> |
| 210 | [1.5][compiler] NPE in compiler for Arrays.asList(3, 3.1); |
| 211 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98378">98378</a> |
| 212 | [search] Can't find declarations in hierarchy of interface. |
| 213 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97614">97614</a> |
| 214 | [1.5][search] Refactoring: renaming of field of a (complex) parametrized type does not replace all occurrences |
| 215 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97547">97547</a> |
| 216 | [search] Package search does not find references in member types import clause |
| 217 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96950">96950</a> |
| 218 | [search] Code assist proposes non accessible types into completion |
| 219 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99510">99510</a> |
| 220 | isCastCompatible seems to need capture bindings now to answer correct results |
| 221 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99608">99608</a> |
| 222 | IMethodBinding#overrides returns false on overridden method |
| 223 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99901">99901</a> |
| 224 | [select] AIOOBE when selecting package reference in import statement |
| 225 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99282">99282</a> |
| 226 | [1.5][compiler] Enum / Switch method is not initialized in a thread safe way |
| 227 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=52921">52921</a> |
| 228 | [formatting] Javadoc formatting: extra newline with [pre] |
| 229 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99507">99507</a> |
| 230 | [javadoc] Infinit loop in DocCommentParser |
| 231 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99397">99397</a> |
| 232 | Typo in CompletionProposal#isConstructor() |
| 233 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99553">99553</a> |
| 234 | [1.5][compiler] Parameterized class nested statically inside another parameterized type causes compile errors when used in method signatures |
| 235 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99355">99355</a> |
| 236 | extract method trips up with generics and final variables |
| 237 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99469">99469</a> |
| 238 | [1.5][compiler] NPE compiling code with unknown annotations |
| 239 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99375">99375</a> |
| 240 | Compiler error using Annotations |
| 241 | |
| 242 | <a name="v_563"></a> |
| 243 | <p><hr><h1> |
| 244 | Eclipse Platform Build Notes <br> |
| 245 | Java development tools core</h1> |
| 246 | Eclipse SDK 3.1RC2 - 10th June 2005 - 3.1 RELEASE CANDIDATE 2 |
| 247 | <br>Project org.eclipse.jdt.core v_563 |
| 248 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_563">cvs</a>). |
| 249 | <h2> |
| 250 | What's new in this drop</h2> |
| 251 | <ul> |
| 252 | </ul> |
| 253 | |
| 254 | <h3>Problem Reports Fixed</h3> |
| 255 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99260">99260</a> |
| 256 | [1.5][compiler] Bad bytecode generated with varargs + generics |
| 257 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98331">98331</a> |
| 258 | [1.5][compiler] Casting Conversion needs to check all supertypes for conflicts |
| 259 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99106">99106</a> |
| 260 | [1.5][compiler] Ambiguous method error because methods don't override in eclipse |
| 261 | |
| 262 | |
| 263 | <a name="v_562"></a> |
| 264 | <p><hr><h1> |
| 265 | Eclipse Platform Build Notes <br> |
| 266 | Java development tools core</h1> |
| 267 | Eclipse SDK 3.1RC2 - 9th June 2005 |
| 268 | <br>Project org.eclipse.jdt.core v_562 |
| 269 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_562">cvs</a>). |
| 270 | <h2> |
| 271 | What's new in this drop</h2> |
| 272 | <ul> |
| 273 | </ul> |
| 274 | |
| 275 | <h3>Problem Reports Fixed</h3> |
| 276 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97487">97487</a> |
| 277 | [call hierarchy] Call Hierarchy Fails in mounted classes with attached src files |
| 278 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97524">97524</a> |
| 279 | [prefs] Importing preferences with user library doesn't recreate jar entries |
| 280 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99142">99142</a> |
| 281 | Exception when shutting down quickly after starting |
| 282 | |
| 283 | <a name="v_561"></a> |
| 284 | <p><hr><h1> |
| 285 | Eclipse Platform Build Notes <br> |
| 286 | Java development tools core</h1> |
| 287 | Eclipse SDK 3.1RC2 - 9th June 2005 |
| 288 | <br>Project org.eclipse.jdt.core v_561 |
| 289 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_561">cvs</a>). |
| 290 | <h2> |
| 291 | What's new in this drop</h2> |
| 292 | <ul> |
| 293 | <li>The build state version number has changed. A full build of all projects in the workspace will be triggered upon |
| 294 | startup if autobuild is on, or on the next build if autobuild is off.</li> |
| 295 | <li>The new list of supported warning tokens for the @SuppressWarnings annotation is: |
| 296 | <ul> |
| 297 | <li><b><font color="red">all</font></b> : any warning</li> |
| 298 | <li><b>boxing</b> : autoboxing conversion</li> |
| 299 | <li><b><font color="red">dep-ann</font></b> : missing @Deprecated annotation</li> |
| 300 | <li><b><font color="red">deprecation</font></b> : deprecation outside deprecated code</li> |
| 301 | <li><b>incomplete-switch</b> : incomplete enum switch (<i>enumSwitch</i>)</li> |
| 302 | <li><b>hiding</b> : |
| 303 | <ol><li>field hiding another variable (<i>fieldHiding</i>)</li> |
| 304 | <li>local variable hiding another variable (<i>localHiding</i>)</li> |
| 305 | <li>type parameter hiding another type (<i>typeHiding</i>)</li> |
| 306 | <li>hidden catch block (<i>maskedCatchBlock</i>)</li> |
| 307 | </ol> |
| 308 | </li> |
| 309 | <li><b><font color="red">finally</font></b> : finally block not completing normally</li> |
| 310 | <li><b>static-access</b> : |
| 311 | <ol> |
| 312 | <li>indirect reference to static member (<i>indirectStatic</i>)</li> |
| 313 | <li>non-static reference to static member (<i>staticReceiver</i>)</li> |
| 314 | </ol> |
| 315 | </li> |
| 316 | <li><b>nls</b> : string literal lacking non-nls tag //$NON-NLS-<n>$</li> |
| 317 | <li><b><font color="red">serial</font></b> : missing serialVersionUID</li> |
| 318 | <li><b>unqualified-field-access </b>: unqualified reference to field (<i>unQualifiedField</i>)</li> |
| 319 | <li><b><font color="red">unchecked</font></b> : unchecked type operation</li> |
| 320 | <li><b>unused</b> : |
| 321 | <ol> |
| 322 | <li>unread method parameter (<i>unusedArgument</i>)</li> |
| 323 | <li>unread local variable (<i>unusedLocal</i>)</li> |
| 324 | <li>unused private member declaration (<i>unusedPrivate</i>)</li> |
| 325 | <li>unused declared thrown exception (<i>unusedThrown</i>)</li> |
| 326 | </ol> |
| 327 | </li> |
| 328 | <li><b>synthetic-access</b> : synthetic access for innerclass (<i>syntheticAccess</i>)</li> |
| 329 | </ul> |
| 330 | <p>NOTE:</p><blockquote>All other warning tokens are not longer supported by @SuppressWarnings; |
| 331 | considering that for some diagnosis, it is simpler to just fix the code than silence some warning. |
| 332 | In <i>Italic</i> the old warning token is specified. |
| 333 | <br>Warning tokens also supported by javac are in <font color="red">red</font> (also see <a href="http://www.javac.info/doc?n=JavaCompiler.WarningTokens">declared warning tokens</a>). |
| 334 | </blockquote> |
| 335 | </li> |
| 336 | <li>CodeAssist: added a new API CompletionProposal#isConstructor() to distinguish method and constructor proposal</li> |
| 337 | <li>Access rules file patterns have been changed to ignore the file extension. This allow easy switching from a source project |
| 338 | to a binary project. Thus <code>"com/test/X.java"</code> is now an invalid access rule pattern, and |
| 339 | <code>"com/test/X"</code> is a valid access rule pattern.</li> |
| 340 | <li> |
| 341 | Following batch compiler options default value have been changed from "ignore" to "warning": |
| 342 | <ul> |
| 343 | <li>unusedLocal (unread local variable)</li> |
| 344 | <li>unusedPrivate (unused private member declaration)</li> |
| 345 | <li>fieldHiding (field hiding another variable)</li> |
| 346 | <li>localHiding (local variable hiding another variable)</li> |
| 347 | </ul> |
| 348 | (see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76530">76530</a>) |
| 349 | </li> |
| 350 | <li>Compiler optional diagnosis for unused private members got generalized to also flag unused |
| 351 | members of local types. |
| 352 | </li> |
| 353 | <li>Compiler no longer reports as unchecked the situation where a method of a raw type is invoked, |
| 354 | and only the return type got altered by raw conversion (also see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85815">85815</a>). |
| 355 | This change is motivated to better match the language spec 3rd edition.</li> |
| 356 | <li>Fix for <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97087">bug 97087</a> required the index version to be incremented. |
| 357 | Indexes will be automatically regenerated upon subsequent search queries (accounting for indexing notification in search progress dialogs). |
| 358 | </li> |
| 359 | </ul> |
| 360 | |
| 361 | <h3>Problem Reports Fixed</h3> |
| 362 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99138">99138</a> |
| 363 | NPE in RawTypeBinding.computeUniqueKey(..) for raw type inside anonymous parameterized type |
| 364 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93975">93975</a> |
| 365 | [1.5][syntax] Poor recovery when extra semicolon in annotation |
| 366 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93208">93208</a> |
| 367 | [dom] CompilationUnit.rewrite throws AssertionFailedException with legal AST (bug in recoding ast modifications) |
| 368 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97440">97440</a> |
| 369 | [1.5][compiler] StackOverflow compiling heavily generic code |
| 370 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99104">99104</a> |
| 371 | Startup job displayed as "Initializing the Java d...ent tooling" |
| 372 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99084">99084</a> |
| 373 | Formatter error when generic method has an argument |
| 374 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98892">98892</a> |
| 375 | [compiler] Eclipse compiler generates code that calls the finally block twice |
| 376 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98969">98969</a> |
| 377 | Builder didn't find state for prereq project |
| 378 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96586">96586</a> |
| 379 | [1.5][compiler] Invalid cycle detected |
| 380 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98954">98954</a> |
| 381 | Javadoc of ITypeBinding#getErasure() is wrong for array types |
| 382 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98504">98504</a> |
| 383 | [1.5][compiler] Compiler difference between javac and jdt? |
| 384 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96763">96763</a> |
| 385 | [1.5][search] Search for method declarations does not find overridden method with different signature |
| 386 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96761">96761</a> |
| 387 | [1.5][search] Search for declarations of generic method finds non-overriding method |
| 388 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98228">98228</a> |
| 389 | [1.5][compiler] regression - incorrect handling of generics |
| 390 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98720">98720</a> |
| 391 | [preferences] classpath variables are not exported if the session is closed and restored |
| 392 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98906">98906</a> |
| 393 | No rebuild after upgrade |
| 394 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98711">98711</a> |
| 395 | no way to distinguish constructor from method proposals |
| 396 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98434">98434</a> |
| 397 | A non-1.5 project with 1.5 projects in the classpath does not show methods with generics |
| 398 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98750">98750</a> |
| 399 | [dom] Java DOM Parser finding syntax Problems when parsing Annotations |
| 400 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90619">90619</a> |
| 401 | [1.5][compiler] Cannot implement generified interface with erased method |
| 402 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98500">98500</a> |
| 403 | [1.5] Internal compiler error |
| 404 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98488">98488</a> |
| 405 | NPE while computing a key for a paramterized type binding |
| 406 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97087">97087</a> |
| 407 | [1.5][search] Can't find reference of generic class's constructor. |
| 408 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93668">93668</a> |
| 409 | Search indexes not rebuild |
| 410 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98473">98473</a> |
| 411 | AST binding: type variable reports as 'isTopLevel' |
| 412 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98364">98364</a> |
| 413 | [1.5][compiler] Compiler allowing invalid generic interface inheritance |
| 414 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85815">85815</a> |
| 415 | [1.5] warn when raw iterator is used |
| 416 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93377">93377</a> |
| 417 | [1.5][compiler] Multiple auto-build failures when using generics |
| 418 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79309">79309</a> |
| 419 | Nested interfaces aren't resolved correctly in import (with "Open Declaration" / F3) |
| 420 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96765">96765</a> |
| 421 | Code completion does not work in enum constants |
| 422 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98483">98483</a> |
| 423 | IMethodBinding.override does not compare method names |
| 424 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98115">98115</a> |
| 425 | Field completion failed to propose a field declared into an innerclass |
| 426 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93789">93789</a> |
| 427 | [1.5][compiler] Compiler incorrectly allows static declarations in enum constants. |
| 428 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98396">98396</a> |
| 429 | [1.5][compiler] Casting Conversion ignores second bound of Type Variables |
| 430 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98383">98383</a> |
| 431 | [1.5][compiler] ClassCastException attempting to cast from intersection type |
| 432 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97322">97322</a> |
| 433 | [search] Search for method references sometimes reports potential match with differing argument count |
| 434 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94160">94160</a> |
| 435 | [1.5][search] Generic method in superclass does not exist |
| 436 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91061">91061</a> |
| 437 | [1.5][compiler] Static reference to outer type variable should not be allowed |
| 438 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97108">97108</a> |
| 439 | [1.5][compiler] NullPointerException encountered while running Java Builder |
| 440 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98259">98259</a> |
| 441 | NPE computing ITypeBinding#getKey() |
| 442 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93536">93536</a> |
| 443 | [1.5] Internal compiler generating error on code that javac accepts |
| 444 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97606">97606</a> |
| 445 | [1.5][search] Raw type reference is reported as exact match for qualified names |
| 446 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96424">96424</a> |
| 447 | [search] SearchParticipant sets containerPath to documentPath |
| 448 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97542">97542</a> |
| 449 | ASTParser#createASTs does not correctly resolve bindings in working copies |
| 450 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94898">94898</a> |
| 451 | [1.5] errors in ambiguous method invocation detection |
| 452 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94754">94754</a> |
| 453 | [1.5][compiler] Ambiguous method call is not detected |
| 454 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84035">84035</a> |
| 455 | [1.5][compiler] Ambiguous method call |
| 456 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76530">76530</a> |
| 457 | [options] Warn about unused local variables and private members |
| 458 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98091">98091</a> |
| 459 | [1.5][compiler] @SuppressWarnings("assertIdentifier") cannot be applied |
| 460 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94907">94907</a> |
| 461 | [assist] missing keyword completions for generic signatures |
| 462 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84001">84001</a> |
| 463 | [select] Renaming of class with internal classes fails. |
| 464 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94641">94641</a> |
| 465 | Code assist does not display parameters for constructor with type parameters |
| 466 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96991">96991</a> |
| 467 | [1.5][compiler] Annotation attribute should be able to reference field |
| 468 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96713">96713</a> |
| 469 | [1.5][compiler] Inconsistency with Sun JDK |
| 470 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95684">95684</a> |
| 471 | [1.5][compiler] Type handling on concrete inner class of super class is incorrect |
| 472 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97273">97273</a> |
| 473 | Illegal argument exception in Signature#getTypeSignatureKind |
| 474 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98165">98165</a> |
| 475 | Wrong source range for ConditionalExpression with casted target in FieldAccess as expression |
| 476 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96085">96085</a> |
| 477 | [1.5][compiler] problems with inner classes and generics |
| 478 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98139">98139</a> |
| 479 | Java Code Formatter is severely confused by following code |
| 480 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98079">98079</a> |
| 481 | [1.5][compiler] incorrect Bound mismatch compilation error |
| 482 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97860">97860</a> |
| 483 | [1.5][assist] All current proposals while completing after a type parameter results in a compiler error |
| 484 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82560">82560</a> |
| 485 | [assist] Completion fails on parameterized generic method call |
| 486 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98086">98086</a> |
| 487 | [1.5][dom] CU still have problems even with @SuppressWarnings("all") |
| 488 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=98037">98037</a> |
| 489 | [Java Editor Templates] Templates with multiple lines are inlined when used |
| 490 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96258">96258</a> |
| 491 | Bogus build path errors caused by multiple project import |
| 492 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97902">97902</a> |
| 493 | NPE on Open Declaration on reference to generic type |
| 494 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80432">80432</a> |
| 495 | Code Assist box exhibits strange behavior in an endless for loop |
| 496 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96944">96944</a> |
| 497 | [1.5][assist] shoud not suggest type parameters after new |
| 498 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97801">97801</a> |
| 499 | [1.5][codeassist] The type of the class literal must be parameterized |
| 500 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85384">85384</a> |
| 501 | [1.5][assist] "extends" not proposed when writing method declarations |
| 502 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97219">97219</a> |
| 503 | [1.5] eclipse does not detect ambiguous method invocation errors |
| 504 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97744">97744</a> |
| 505 | [compiler][ant adapter] NPE when verbose = true and destDir not specified |
| 506 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97480">97480</a> |
| 507 | [1.5][compiler] incorrect error on some calls to raw Map.Entry.setValue |
| 508 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97809">97809</a> |
| 509 | Ambiguous method reference wrongly reported |
| 510 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97814">97814</a> |
| 511 | Incorrect resolved information on hover |
| 512 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97841">97841</a> |
| 513 | [1.5][dom] null binding for ClassInstanceCreation |
| 514 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90916">90916</a> |
| 515 | CCE in SourceTypeConverter |
| 516 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97466">97466</a> |
| 517 | NPE in SourceTypeConverter |
| 518 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97307">97307</a> |
| 519 | [5.0][typing] completion for "import static" deletes all source before |
| 520 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97459">97459</a> |
| 521 | CCE during reconcile and AST creation |
| 522 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97800">97800</a> |
| 523 | [1.5][compiler] Cast type shouldn't be used in generic method argument inference |
| 524 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95349">95349</a> |
| 525 | Access rule pattern matching should ignore file extension |
| 526 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97161">97161</a> |
| 527 | [1.5][compiler] Internal compiler error java.lang.NullPointerException |
| 528 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97303">97303</a> |
| 529 | [1.5][compiler] Cannot convert when inferring list of inner parameterized type |
| 530 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97272">97272</a> |
| 531 | Export preferences offers "all" button, does not export classpath variables |
| 532 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96794">96794</a> |
| 533 | Polishing disassembler output |
| 534 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97275">97275</a> |
| 535 | method reference should not contain type variable anymore |
| 536 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97187">97187</a> |
| 537 | [rendering] Shows Single Char for primitve Types |
| 538 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96918">96918</a> |
| 539 | Code Assist - suggest extends and super in the context of a wildcard type argument |
| 540 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97190">97190</a> |
| 541 | Incorrect handling of large long values |
| 542 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97247">97247</a> |
| 543 | ArrayIndexOutOfBoundsException in ClassFile.addSyntheticSwitchTable |
| 544 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76155">76155</a> |
| 545 | [options] Unused code warning for unused methods in anonymous inner classes |
| 546 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97224">97224</a> |
| 547 | [polish][compiler] Inconsistent error message for non-visible field |
| 548 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95481">95481</a> |
| 549 | [1.5] NPE in TypeVariableBinding.checkBounds |
| 550 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=65748">65748</a> |
| 551 | [type hierarchy] Hierarchy view fails to pick up class modifier change |
| 552 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96633">96633</a> |
| 553 | getJavaElement returns null for Object[] array binding |
| 554 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96605">96605</a> |
| 555 | JDTCompilerAdapter should allow a log without all verbose information |
| 556 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96858">96858</a> |
| 557 | IllegalArgumentException in Signature |
| 558 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97164">97164</a> |
| 559 | classpath variables lost when upgrading from M7 to RC1 |
| 560 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97139">97139</a> |
| 561 | eclipse 3.1RC1 compiler crash for project |
| 562 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96974">96974</a> |
| 563 | [5.0] @SuppressWarnings({"nls"}) does not work for unexternalized strings |
| 564 | |
| 565 | <a name="v_560"></a> |
| 566 | <p><hr><h1> |
| 567 | Eclipse Platform Build Notes <br> |
| 568 | Java development tools core</h1> |
| 569 | Eclipse SDK 3.1RC1 - 26th May 2005 - 3.1 RELEASE CANDIDATE 1 |
| 570 | <br>Project org.eclipse.jdt.core v_560 |
| 571 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_560">cvs</a>). |
| 572 | <h2> |
| 573 | What's new in this drop</h2> |
| 574 | <ul> |
| 575 | </ul> |
| 576 | |
| 577 | <h3>Problem Reports Fixed</h3> |
| 578 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96646">96646</a> |
| 579 | [1.5][compiler] VerifyError - Generics and Interfaces - "Wrong return type in function" |
| 580 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96631">96631</a> |
| 581 | NPE in Annotation on empty ArrayInitializer |
| 582 | |
| 583 | |
| 584 | <a name="v_559"></a> |
| 585 | <p><hr><h1> |
| 586 | Eclipse Platform Build Notes <br> |
| 587 | Java development tools core</h1> |
| 588 | Eclipse SDK 3.1RC1 - 26th May 2005 |
| 589 | <br>Project org.eclipse.jdt.core v_559 |
| 590 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_559">cvs</a>). |
| 591 | <h2> |
| 592 | What's new in this drop</h2> |
| 593 | <ul> |
| 594 | </ul> |
| 595 | |
| 596 | <h3>Problem Reports Fixed</h3> |
| 597 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95638">95638</a> |
| 598 | [1.5][compiler] Possibly incorrect Bounds Mismatch errors for complicated bounds |
| 599 | |
| 600 | |
| 601 | <a name="v_558"></a> |
| 602 | <p><hr><h1> |
| 603 | Eclipse Platform Build Notes <br> |
| 604 | Java development tools core</h1> |
| 605 | Eclipse SDK 3.1RC1 - 26th May 2005 |
| 606 | <br>Project org.eclipse.jdt.core v_558 |
| 607 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_558">cvs</a>). |
| 608 | <h2> |
| 609 | What's new in this drop</h2> |
| 610 | <ul> |
| 611 | <li>The Code Assist option CODEASSIST_HIDE_RESTRICTED_REFERENCES is replaced by |
| 612 | CODEASSIST_FORBIDDEN_REFERENCE_CHECK and CODEASSIST_DISCOURAGED_REFERENCE_CHECK |
| 613 | (see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94403">94403</a>). |
| 614 | </li> |
| 615 | <li> Code Assist suggest all member types when completion token is a single name. |
| 616 | <pre> |
| 617 | Y<complete here> // p.q.X.Y is proposed. |
| 618 | </pre> |
| 619 | As all member types are proposed, code assist does not propose types of the wrong kind. |
| 620 | Only classes are proposed inside an extends clause, only interfaces inside an implements clause |
| 621 | and only annotations in annotation reference (It was necessary before to be able to propose |
| 622 | a top level type which contains these types).<br> |
| 623 | Note: To re-enabled quickly the old behaviors, change the value of Completion.PROPOSE_MEMBER_TYPES. |
| 624 | </li> |
| 625 | <li>Added API <code>JavaCore#initializeAfterLoad(IProgressMonitor)</code> to allow |
| 626 | a client to force the initialization of internal structures. |
| 627 | </li> |
| 628 | <li>Default value for <code>COMPILER_PB_MISSING_JAVADOC_COMMENTS_OVERRIDING</code> and |
| 629 | <code>COMPILER_PB_MISSING_JAVADOC_TAGS_OVERRIDING</code> JavaCore options have been changed from "enabled" to "disabled".<br> |
| 630 | (see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96270">96270</a>). |
| 631 | </li> |
| 632 | <li>Fix for <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75816">bug 75816</a> required the index version to be incremented. |
| 633 | Indexes will be automatically regenerated upon subsequent search queries (accounting for indexing notification in search progress dialogs). |
| 634 | </li> |
| 635 | <li> |
| 636 | Duplicate names are not allowed in classpath entry extra attributes.<br> |
| 637 | Javadoc comment of each <code>JavaCore.new*Entry</code> method have been updated to clearly specify this behavior: |
| 638 | <pre> |
| 639 | * The <code>extraAttributes</code> list contains name/value pairs that must be persisted with |
| 640 | * this entry. If no extra attributes are provided, an empty array must be passed in. |
| 641 | * Note that this list should not contain any duplicate name. |
| 642 | </pre> |
| 643 | <code>JavaConventions.validateClasspathEntry(IJavaProject,IClasspathEntry,boolean,boolean)</code> has been modified |
| 644 | to verify this point. It now returns an invalid status (<code>new IJavaStatus(IJavaModelStatusConstants.NAME_COLLISION,...)</code>) |
| 645 | when duplicate names are found in extra attributes. |
| 646 | </li> |
| 647 | </ul> |
| 648 | |
| 649 | <h3>Problem Reports Fixed</h3> |
| 650 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93119">93119</a> |
| 651 | code assist: proposals for wildcard types |
| 652 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95505">95505</a> |
| 653 | Can not use code completion |
| 654 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96698">96698</a> |
| 655 | org.eclipse.jdt.core.dom.VariableBinding.getUnresolvedJavaElement produce ClassCastException |
| 656 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88364">88364</a> |
| 657 | compiler options |
| 658 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94267">94267</a> |
| 659 | [1.5][select] Selecting type parameter in binary answer match on line 0 |
| 660 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96642">96642</a> |
| 661 | CCE in SourceMapper.computeAllRootPaths(..) |
| 662 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87362">87362</a> |
| 663 | BindingKey#internalToSignature() should return the field's type signature |
| 664 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94404">94404</a> |
| 665 | [model] Disallow classpath attributes with same key |
| 666 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92398">92398</a> |
| 667 | [compiler] Leverage access rule support in batch compiler |
| 668 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96588">96588</a> |
| 669 | Rename Signature#removeCaptureFromMethod(...) to removeCaptureFrom(..) |
| 670 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96410">96410</a> |
| 671 | Incorrect information in selection resolved key |
| 672 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75816">75816</a> |
| 673 | [search] Call Hierarchy does not find calls to the constructor of java.util.HashMap.Entry [call hierarchy] |
| 674 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95167">95167</a> |
| 675 | [content assist] Spurious "Access restriction" error during code assist |
| 676 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95580">95580</a> |
| 677 | CreateField on IType doesn't work if the type is an enum type that has enum constants |
| 678 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95963">95963</a> |
| 679 | (3.1M7) Compiler error when parameterizing with missing inner type. |
| 680 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96134">96134</a> |
| 681 | Internal error for odd (probably illegal) class declaration |
| 682 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96464">96464</a> |
| 683 | [assist] JavaCorePreferenceInitializer does not initialized CODEASSIST_DISCOURAGED_REFERENCE_CHECK |
| 684 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96414">96414</a> |
| 685 | Javadoc of ASTParser#setCompilerOptions(..): mention that setProject(..) resets options |
| 686 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95933">95933</a> |
| 687 | Refining a generic method causes AbstractMethodError |
| 688 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94897">94897</a> |
| 689 | [1.5] Compiler does not reject class with two erasure-equivalent methods |
| 690 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96213">96213</a> |
| 691 | Eclipse 3.1M7 - Field completion stack overflow |
| 692 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96401">96401</a> |
| 693 | jdt.core tests pass, but fill the .log |
| 694 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96439">96439</a> |
| 695 | Hierarchy not refreshed if adding a dependent project |
| 696 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82852">82852</a> |
| 697 | "Searching for errors in <project>" running unit tests from package |
| 698 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95154">95154</a> |
| 699 | Missing package.html files for API packages |
| 700 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96387">96387</a> |
| 701 | Schemas for extension points are inaccurate |
| 702 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93249">93249</a> |
| 703 | Code assist doesn't propose full method stub |
| 704 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94878">94878</a> |
| 705 | Configuration details is large, containing many prefs for PDE and JDT classpath containers |
| 706 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96270">96270</a> |
| 707 | [javadoc] Missing Javadoc comment: 'check overriding..' should be 'off' by default |
| 708 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96300">96300</a> |
| 709 | Use the line separator platform preference for new files |
| 710 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94303">94303</a> |
| 711 | import static adds annoying semicolon |
| 712 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83716">83716</a> |
| 713 | [search] refs to 2-arg constructor on Action found unexpected matches |
| 714 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96071">96071</a> |
| 715 | Javadoc for IJavaProject.findType(String ) is not consistant |
| 716 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94903">94903</a> |
| 717 | Error setting method breakpoint in 1.5 project |
| 718 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88395">88395</a> |
| 719 | [1.5][compiler] Binary compat problem with enum/switch codegen |
| 720 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95727">95727</a> |
| 721 | ITypeBinding#getJavaElement() returns a ResolvedSourceField for an anonymous class |
| 722 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95909">95909</a> |
| 723 | Error with static import |
| 724 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95794">95794</a> |
| 725 | [1.5][search] Search for all occurrences does not find references in static imports |
| 726 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95911">95911</a> |
| 727 | [5.0][dom] Wrong node range for variable declaration fragment containing anonymous class declaration |
| 728 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93941">93941</a> |
| 729 | Classpath initialization on shutdown |
| 730 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93731">93731</a> |
| 731 | JDT core job still running after shutdown. |
| 732 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89849">89849</a> |
| 733 | [1.5][assist] Completion in switch proposes already written enum constants |
| 734 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91670">91670</a> |
| 735 | package-info.java is not being correctly compiled |
| 736 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93880">93880</a> |
| 737 | [1.5][javadoc] Source range of PackageDeclaration does not include Javadoc child |
| 738 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93254">93254</a> |
| 739 | [assist] ClassCastException when complete annotation type ref |
| 740 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95760">95760</a> |
| 741 | [1.5][search] MatchLocator does not compile against 5.0 JRE |
| 742 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93668">93668</a> |
| 743 | Search indexes not rebuild |
| 744 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95748">95748</a> |
| 745 | SourceMapper should not write timing info to stdout |
| 746 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92555">92555</a> |
| 747 | Code assist in Annotations suggests non-annotations |
| 748 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92733">92733</a> |
| 749 | [assist] Classes suggested in implements clause |
| 750 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94965">94965</a> |
| 751 | [assist] code assist should suggest inner types |
| 752 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92937">92937</a> |
| 753 | Need API: JavaCore#initializeAfterLoad() |
| 754 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90215">90215</a> |
| 755 | [1.5] Enums implementing generic interfaces can compile incorrectly. |
| 756 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95244">95244</a> |
| 757 | performance optimization in SourceMapper.computeAllRootPaths |
| 758 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91615">91615</a> |
| 759 | Wrong class opened by debugger/"Open Type" |
| 760 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=39856">39856</a> |
| 761 | External jar's timestamps should be persisted accross sessions |
| 762 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89632">89632</a> |
| 763 | Exception when trying to evaluate in Snippet Editor |
| 764 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95538">95538</a> |
| 765 | Operation not supported in JLS2 AST from resolving MethodBinding |
| 766 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95521">95521</a> |
| 767 | [1.5][javadoc] validation with @see tag not working for generic method |
| 768 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95286">95286</a> |
| 769 | [1.5][javadoc] package-info.java incorrectly flags "Missing comment for public declaration" |
| 770 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95388">95388</a> |
| 771 | [code manipulation] NPE sorting members |
| 772 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94150">94150</a> |
| 773 | [1.5][javadoc][enum] javadoc is always null for EnumConstantDeclaration |
| 774 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94653">94653</a> |
| 775 | [1.5][select] Selection on invalid raw member type should still surface raw type |
| 776 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94092">94092</a> |
| 777 | ASTParser#createASTs(..) restores wrong bindings from capture keys |
| 778 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88719">88719</a> |
| 779 | UserLibrary.serialize /createFromString need support for access restriction / attributes |
| 780 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89937">89937</a> |
| 781 | [1.5][compiler] Annotation attribute should not be able to reference field |
| 782 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93891">93891</a> |
| 783 | Restricted UIPlugin is in my code assist |
| 784 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93905">93905</a> |
| 785 | Batch compiler - add a timestamp to log files |
| 786 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95262">95262</a> |
| 787 | ASTParser fails with K_CLASS_BODY_DECLARATIONS |
| 788 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95211">95211</a> |
| 789 | [api] stale J2SE5 comment in IDOMImport |
| 790 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95431">95431</a> |
| 791 | Code formatter fails to format this code |
| 792 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95394">95394</a> |
| 793 | Problem resolving types for Assignment ("+=") on 3.1M7 |
| 794 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83034">83034</a> |
| 795 | [1.5][compiler] method on A<D,?> not applicable for argument <?> |
| 796 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87550">87550</a> |
| 797 | [1.5] [compiler] The method in the type is not applicable for the arguments |
| 798 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95021">95021</a> |
| 799 | [1.5][compiler] incorrectly inferred method type parameters bug in 3.1M6? |
| 800 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91588">91588</a> |
| 801 | Delete CVS project and then add as source project leads to duplicate Open Type entries |
| 802 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73969">73969</a> |
| 803 | Full build on startup |
| 804 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80118">80118</a> |
| 805 | [search] OutOfMemoryError while searching for Test class |
| 806 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87749">87749</a> |
| 807 | different IMethodBindings of generic method have equal getKey() |
| 808 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94398">94398</a> |
| 809 | Error attempting to find References |
| 810 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93408">93408</a> |
| 811 | ITypeBinding#isEqualTo(..) does not resolve type variables |
| 812 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94389">94389</a> |
| 813 | [search] InvocationTargetException on Rename |
| 814 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79990">79990</a> |
| 815 | [1.5][search] Search for method declaration doesn't find method with instantiated type parameters |
| 816 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95066">95066</a> |
| 817 | [1.5][compiler] Wrong Cast Allowed |
| 818 | |
| 819 | |
| 820 | <a name="v_557"></a> |
| 821 | <p><hr><h1> |
| 822 | Eclipse Platform Build Notes <br> |
| 823 | Java development tools core</h1> |
| 824 | Eclipse SDK 3.1M7 - 12th May 2005 - 3.1 MILESTONE 7 / 3.1 RELEASE CANDIDATE 0 |
| 825 | <br>Project org.eclipse.jdt.core v_557 |
| 826 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_557">cvs</a>). |
| 827 | <h2> |
| 828 | What's new in this drop</h2> |
| 829 | <ul> |
| 830 | </ul> |
| 831 | |
| 832 | <h3>Problem Reports Fixed</h3> |
| 833 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94308">94308</a> |
| 834 | [1.5][compiler] @SuppressWarnings("deprecation") does not suppress warnings from javadoc |
| 835 | |
| 836 | |
| 837 | <a name="v_556"></a> |
| 838 | <p><hr><h1> |
| 839 | Eclipse Platform Build Notes <br> |
| 840 | Java development tools core</h1> |
| 841 | Eclipse SDK 3.1M7 - 12th May 2005 |
| 842 | <br>Project org.eclipse.jdt.core v_556 |
| 843 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_556">cvs</a>). |
| 844 | <h2> |
| 845 | What's new in this drop</h2> |
| 846 | <ul> |
| 847 | <li> Enabled by default the optional compiler diagnosis to signal unhandled warning tokens in <code>@SuppressWarnings</code> annotations. |
| 848 | Note that this warning can itself be turned off using @SuppressWarnings("warningToken"). |
| 849 | <pre> |
| 850 | * COMPILER / Reporting Unhandled Warning Token for @SuppressWarnings |
| 851 | * When enabled, the compiler will issue an error or a warning when encountering a token |
| 852 | * it cannot handle inside a @SuppressWarnings annotation. |
| 853 | * - option id: "org.eclipse.jdt.core.compiler.problem.unhandledWarningToken" |
| 854 | * - possible values: { "error", "warning", "ignore" } |
| 855 | * - default: "warning" |
| 856 | </pre> |
| 857 | </li> |
| 858 | <li>Fix for <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94718">bug 94718</a> required the index version to be incremented. |
| 859 | Indexes will be automatically regenerated upon subsequent search queries (accounting for indexing notification in search progress dialogs). |
| 860 | </li> |
| 861 | </ul> |
| 862 | |
| 863 | <h3>Problem Reports Fixed</h3> |
| 864 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94928">94928</a> |
| 865 | [1.5][compiler] NPE in ParameterizedGenericMethodBinding generated by making method generic |
| 866 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93727">93727</a> |
| 867 | Code Formatter fails with Method Parameter Annotations |
| 868 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93075">93075</a> |
| 869 | Invalid source ranges for nested ParameterizedTypes |
| 870 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92360">92360</a> |
| 871 | type binding with isWildcardType() == true should not have isClass() == true |
| 872 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94168">94168</a> |
| 873 | Java annotation is missing in EnumConstantDeclaration |
| 874 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94867">94867</a> |
| 875 | [1.5][compiler] Annotation method should tolerate empty array default value |
| 876 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94747">94747</a> |
| 877 | [1.5][compiler] Error message is not optimal |
| 878 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94718">94718</a> |
| 879 | [1.5][search][annot] Find references in workspace breaks on an annotation |
| 880 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94644">94644</a> |
| 881 | [1.5][compiler] Non-static member type of raw type should be raw |
| 882 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94206">94206</a> |
| 883 | CCE in BindingKeyResolver when restoring array type of method type parameter |
| 884 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94260">94260</a> |
| 885 | [Preferences] preference option missing in Compiler Settings |
| 886 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94262">94262</a> |
| 887 | [1.5] non static class must not be visible through static import |
| 888 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93904">93904</a> |
| 889 | Batch compiler -log option broken for some values |
| 890 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87627">87627</a> |
| 891 | [1.5][search] references to type variable yield non-existent elements in search view |
| 892 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93588">93588</a> |
| 893 | [compiler] java.lang.VerifyError: Looks similar to 60040 but is happening on current release |
| 894 | |
| 895 | |
| 896 | <a name="v_555"></a> |
| 897 | <p><hr><h1> |
| 898 | Eclipse Platform Build Notes <br> |
| 899 | Java development tools core</h1> |
| 900 | Eclipse SDK 3.1M7 - 9th May 2005 |
| 901 | <br>Project org.eclipse.jdt.core v_555 |
| 902 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_555">cvs</a>). |
| 903 | <h2> |
| 904 | What's new in this drop</h2> |
| 905 | <ul> |
| 906 | <li> Code Assist provide the enclosing type reference when cursor is inside a type argument |
| 907 | and the completion token is empty (in the same way as method calls). |
| 908 | <pre> |
| 909 | p.q.X<<complete here>> // p.q.X<T,U> is proposed. |
| 910 | p.q.X<Object, <complete here>> //p.q.X<T,U> is proposed |
| 911 | </pre> |
| 912 | </li> |
| 913 | <li> Code Assist provide the enclosing annotation reference when completion is inside an annotation argument |
| 914 | and the completion token is empty (in the same way as method calls). |
| 915 | <pre> |
| 916 | @Annot(<complete here>) // p.Annot is proposed. |
| 917 | @Annot(foo1=0, <complete here>) // p.Annot is proposed. |
| 918 | </pre> |
| 919 | </li> |
| 920 | <li> In 5.0 compliant mode, changed local inner type naming convention to reflect JLS 13.1 (3rd edition). |
| 921 | As a consequence, instead of generating a file named <code>X$1$A.class</code>, it will simply be <code>X$1A.class"</code>. |
| 922 | </li> |
| 923 | <li> Added optional compiler diagnosis to signal unhandled warning tokens in <code>@SuppressWarnings</code> annotations. |
| 924 | Note that this warning can itself be turned off using @SuppressWarnings("warningToken"). |
| 925 | <pre> |
| 926 | * COMPILER / Reporting Unhandled Warning Token for @SuppressWarnings |
| 927 | * When enabled, the compiler will issue an error or a warning when encountering a token |
| 928 | * it cannot handle inside a @SuppressWarnings annotation. |
| 929 | * - option id: "org.eclipse.jdt.core.compiler.problem.unhandledWarningToken" |
| 930 | * - possible values: { "error", "warning", "ignore" } |
| 931 | * - default: "ignore" |
| 932 | </pre> |
| 933 | </li> |
| 934 | <li> Added compiler option to control whether @SuppressWarning annotations are active or not. |
| 935 | By disabling them, one can quickly revive all hidden warnings. |
| 936 | <pre> |
| 937 | * COMPILER / Determine whether @SuppressWarnings is effective |
| 938 | * When enabled, the @SuppressWarnings annotation can be used to suppress some compiler warnings. |
| 939 | * When disabled, all @SupressWarnings annotations are ignored; i.e., warnings are reported. |
| 940 | * - option id: "org.eclipse.jdt.core.compiler.problem.suppressWarnings" |
| 941 | * - possible values: { "enabled", "disabled" } |
| 942 | * - default: "enabled" |
| 943 | </pre> |
| 944 | </li> |
| 945 | <li> Added API on <code>CorrectionEngine</code> for computing the warning token corresponding to an optional warning ID. |
| 946 | <pre> |
| 947 | /** |
| 948 | * Returns a token which can be used to suppress a given warning using |
| 949 | * <code>@SuppressWarnings</code> annotation, for a given problem ID |
| 950 | * ({@link IProblem }). If a particular problem is not suppressable, |
| 951 | * <code>null</code> will be returned. |
| 952 | * |
| 953 | * Note: <code>@SuppressWarnings</code> can only suppress warnings, |
| 954 | * which means that if some problems got promoted to ERROR using custom compiler |
| 955 | * settings ({@link IJavaProject#setOption(String, String)}), the |
| 956 | * <code>@SuppressWarnings</code> annotation will be ineffective. |
| 957 | * |
| 958 | * Note: <code>@SuppressWarnings</code> can be argumented with |
| 959 | * <code>"all"</code> so as to suppress all possible warnings at once. |
| 960 | * |
| 961 | * Note: The tokens returned are not necessarily standardized across Java |
| 962 | * compilers. If you were to use one of these tokens in an @SuppressWarnings |
| 963 | * annotation in the Java source code, the effects (if any) may vary from |
| 964 | * compiler to compiler. |
| 965 | * |
| 966 | * @param problemID |
| 967 | * the ID of a given warning to suppress |
| 968 | * @return a String which can be used in <code>@SuppressWarnings</code> annotation, |
| 969 | * or <code>null</code> if unable to suppress this warning. |
| 970 | * @since 3.1 |
| 971 | */ |
| 972 | public static String getWarningToken(int problemID) |
| 973 | </pre> |
| 974 | </li> |
| 975 | <li>More warning tokens are now recognized by <code>@SuppressWarnings</code>, see list below. Note that |
| 976 | these are subject to changing in the near future. |
| 977 | <ul> |
| 978 | <li>all : any warning</li> |
| 979 | <li>boxing : autoboxing conversion</li> |
| 980 | <li>charConcat : char[] in String concat</li> |
| 981 | <li>conditionAssign : possible accidental boolean assignment</li> |
| 982 | <li>constructorName : method with constructor name</li> |
| 983 | <li>dep-ann : missing @Deprecated annotation</li> |
| 984 | <li>deprecation : deprecation outside deprecated code</li> |
| 985 | <li>emptyBlock : undocumented empty block</li> |
| 986 | <li>enumSwitch : incomplete enum switch</li> |
| 987 | <li>fieldHiding : field hiding another variable</li> |
| 988 | <li>finalBound : type parameter with final bound</li> |
| 989 | <li>finally : finally block not completing normally</li> |
| 990 | <li>indirectStatic : indirect reference to static member</li> |
| 991 | <li>intfAnnotation : annotation type used as super interface</li> |
| 992 | <li>intfNonInherited : interface non-inherited method compatibility</li> |
| 993 | <li>javadoc : invalid javadoc</li> |
| 994 | <li>localHiding : local variable hiding another variable</li> |
| 995 | <li>maskedCatchBlock : hidden catch block</li> |
| 996 | <li>nls : string literal lacking non-nls tag //$NON-NLS-<n>$</li> |
| 997 | <li>noEffectAssign : assignment without effect</li> |
| 998 | <li>over-ann : missing @Override annotation</li> |
| 999 | <li>pkgDefaultMethod : attempt to override package-default method</li> |
| 1000 | <li>semicolon : unnecessary semicolon, empty statement</li> |
| 1001 | <li>serial : missing serialVersionUID</li> |
| 1002 | <li>unqualifiedField : unqualified reference to field</li> |
| 1003 | <li>unchecked : unchecked type operation</li> |
| 1004 | <li>unusedArgument : unread method parameter</li> |
| 1005 | <li>unusedImport : unused import declaration</li> |
| 1006 | <li>unusedLocal : unread local variable</li> |
| 1007 | <li>unusedPrivate : unused private member declaration</li> |
| 1008 | <li>unusedThrown : unused declared thrown exception</li> |
| 1009 | <li>unnecessaryElse : unnecessary else clause</li> |
| 1010 | <li>uselessTypeCheck : unnecessary cast/instanceof operation</li> |
| 1011 | <li>specialParamHiding : constructor or setter parameter hiding another field</li> |
| 1012 | <li>staticReceiver : non-static reference to static member</li> |
| 1013 | <li>syntheticAccess : synthetic access for innerclass</li> |
| 1014 | <li>typeHiding : type parameter hiding another type</li> |
| 1015 | <li>varargsCast : varargs argument need explicit cast</li> |
| 1016 | <li>warningToken : unhandled warning token</li> |
| 1017 | </ul> |
| 1018 | </li> |
| 1019 | <li> |
| 1020 | SearchMatch now has a implicit field which shows whether the associated element is implicit or not |
| 1021 | (see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94062">94062</a>).<br> |
| 1022 | Added new API methods to access this field: |
| 1023 | <ul> |
| 1024 | <li><code>SearchMatch#isImplicit()</code><br></li> |
| 1025 | <li><code>SearchMatch#setImplicit(boolean)</code></li> |
| 1026 | </ul> |
| 1027 | </li> |
| 1028 | </ul> |
| 1029 | |
| 1030 | <h3>Problem Reports Fixed</h3> |
| 1031 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94053">94053</a> |
| 1032 | [javadoc] Unknown references are not warned for string or href in @see/@link tags |
| 1033 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94111">94111</a> |
| 1034 | [assist] provide parameter hints for template instantiations |
| 1035 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=94062">94062</a> |
| 1036 | [1.5][search][annot] search for annotation elements incorrect match range |
| 1037 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93392">93392</a> |
| 1038 | [1.5][search] Reference to implicit annotation element "value" has wrong offset |
| 1039 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84968">84968</a> |
| 1040 | [1.5][generics] Exception type handling broken in latest milestone |
| 1041 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75885">75885</a> |
| 1042 | [1.5][compiler] Naming convention for local innerclasses |
| 1043 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89426">89426</a> |
| 1044 | provide Java class file content type |
| 1045 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93826">93826</a> |
| 1046 | ArrayIndexOutOfBoundsException when opening type hierarchy |
| 1047 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83739">83739</a> |
| 1048 | [1.5] support @SuppressWarnings |
| 1049 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89850">89850</a> |
| 1050 | Duplicate strings of VM path |
| 1051 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83750">83750</a> |
| 1052 | [perf] Excessive File.isFile calls for clients of JavaModel.getTarget(...) |
| 1053 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92210">92210</a> |
| 1054 | [search] Search for method declaration in working set (source folder) searches in whole project |
| 1055 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93913">93913</a> |
| 1056 | wrong resolved type caused by a static import |
| 1057 | |
| 1058 | |
| 1059 | <a name="v_554"></a> |
| 1060 | <p><hr><h1> |
| 1061 | Eclipse Platform Build Notes <br> |
| 1062 | Java development tools core</h1> |
| 1063 | Eclipse SDK 3.1M7 - 6th May 2005 |
| 1064 | <br>Project org.eclipse.jdt.core v_554 |
| 1065 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_554">cvs</a>). |
| 1066 | <h2> |
| 1067 | What's new in this drop</h2> |
| 1068 | <ul> |
| 1069 | <li>Code Assist doesn't propose anymore type completion when completion token is empty.<br> |
| 1070 | Note: the code to propose completion when token is empty is not removed. |
| 1071 | Change the value of Completion.NO_TYPE_COMPLETION_ON_EMPTY_TOKEN to re-enabled this behavior. |
| 1072 | </li> |
| 1073 | <li>@SuppressWarnings is now supported. Recognized warning names are: <code>"all"</code>, <code>"deprecation"</code>, |
| 1074 | <code>"serial"</code>, <code>"unchecked"</code>, <code>"finally"</code>. |
| 1075 | </li> |
| 1076 | <li>Changed Code Assist options.<br> |
| 1077 | CODEASSIST_FORBIDDEN_REFERENCE_CHECK and CODEASSIST_DISCOURAGED_REFERENCE_CHECK are replaced by CODEASSIST_HIDE_RESTRICTED_REFERENCES.<br> |
| 1078 | <pre> |
| 1079 | /* |
| 1080 | * CODEASSIST / Hide Proposals for Restricted Completions |
| 1081 | * When value is "never", never hide proposals for restricted completions. |
| 1082 | * When value is "error", hide proposals for restricted completions if insertion of these completions would create a compile error. |
| 1083 | * When value is "warning", hide proposals for restricted completions if insertion of these completions would create a compile error or warning. |
| 1084 | * To configure the severity of restrictions, "org.eclipse.jdt.core.compiler.problem.forbiddenReference" |
| 1085 | * option must be used for forbidden reference and "org.eclipse.jdt.core.compiler.problem.discouragedReference" |
| 1086 | * option must be used for discouraged reference. |
| 1087 | * - option id: "org.eclipse.jdt.core.codeComplete.restrictionsCheck" |
| 1088 | * - possible values: { "never", "error", "warning" } |
| 1089 | * - default: "error" |
| 1090 | */ |
| 1091 | public static final String CODEASSIST_HIDE_RESTRICTED_REFERENCES; |
| 1092 | </pre></li> |
| 1093 | <li>Removed 3.1 APIs <code>BindingKey#getDeclaringTypeSignature()</code> and |
| 1094 | <code>BindingKey#toSignature()</code> as they were found error prone. See <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93105">bug 93105</a> |
| 1095 | for details.</li> |
| 1096 | <li>Added support for 'capture' inside Code Assist. Delaring type of a completion proposal is captured for qualified completion.</li> |
| 1097 | <li>Added APIs to replace a range of moved nodes (<code>ListRewrite#createMoveTarget(first, last, replacingNode, editGroup)</code>). |
| 1098 | See <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91938">bug 91938</a> for details. |
| 1099 | </ul> |
| 1100 | |
| 1101 | <h3>Problem Reports Fixed</h3> |
| 1102 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93854">93854</a> |
| 1103 | IAE in Util.scanTypeSignature when scanning a signature retrieved from a binding key |
| 1104 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93662">93662</a> |
| 1105 | Singature#getTypeParameters returns strange signature string |
| 1106 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93113">93113</a> |
| 1107 | Opening the Type Hierarchy of Object uses 400M of heap |
| 1108 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92071">92071</a> |
| 1109 | Duplicate entry on classpath with -promiscuous mode |
| 1110 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93486">93486</a> |
| 1111 | [compiler] Wrong compile errors reported |
| 1112 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93487">93487</a> |
| 1113 | IType#findMethods fails on vararg methods |
| 1114 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90186">90186</a> |
| 1115 | resolved key of methods should contain parametrized types |
| 1116 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88082">88082</a> |
| 1117 | ASTParser#createASTs(..) does not use the given progress monitor |
| 1118 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90612">90612</a> |
| 1119 | Forbidden types must not be available in Code Assist |
| 1120 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93105">93105</a> |
| 1121 | Remove unnecessary APIs on BindingKey |
| 1122 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93396">93396</a> |
| 1123 | [1.5] problem with recovery and enum constant body |
| 1124 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92899">92899</a> |
| 1125 | Empty extra attributes list should not appear in .classpath |
| 1126 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93275">93275</a> |
| 1127 | Need ITypeBinding#getDeclaringClass() for capture types |
| 1128 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93298">93298</a> |
| 1129 | [1.5][compiler] nested statics and templates compilation error |
| 1130 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92477">92477</a> |
| 1131 | [1.5][compiler] Internal compiler error: NullPointerException in ReferenceBinding.findSuperTypeErasingTo |
| 1132 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83083">83083</a> |
| 1133 | [1.5][compiler] NPE while checking bounds of type variable |
| 1134 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93204">93204</a> |
| 1135 | [1.5][compiler] EnumSet.of within generic class |
| 1136 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90775">90775</a> |
| 1137 | [1.5][compiler] Missing unchecked warning |
| 1138 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88202">88202</a> |
| 1139 | Javadoc: clarify ITypeBinding#getTypeBounds() |
| 1140 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93093">93093</a> |
| 1141 | [1.5][dom] Capture binding "? extends Number[]" has bound Object instead of Number[] |
| 1142 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93102">93102</a> |
| 1143 | [1.5] Cannot restore capture binding from binding key |
| 1144 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=93082">93082</a> |
| 1145 | [1.5][compiler] Eclipse accepts assignment between captures with array-type bounds |
| 1146 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91467">91467</a> |
| 1147 | [1.5][compiler] Eclipse asks for and then complains about unnecessary cast |
| 1148 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92982">92982</a> |
| 1149 | [1.5][compiler] Bounds and erasure of capture and type variable bindings |
| 1150 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84690">84690</a> |
| 1151 | [assist] CompletionProposal.getDeclarationSignature returns null for array types |
| 1152 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92821">92821</a> |
| 1153 | [javadoc] Organize Imports - M6 - incorrectly retains import when only referered to in javadoc |
| 1154 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91542">91542</a> |
| 1155 | [1.5][search] JavaModelException on ResolvedSourceMethod during refactoring |
| 1156 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92981">92981</a> |
| 1157 | Content Assist overrides wrong method |
| 1158 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91619">91619</a> |
| 1159 | Extraneous exported package |
| 1160 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92872">92872</a> |
| 1161 | [api] API constants renamed in IProblem |
| 1162 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92888">92888</a> |
| 1163 | ITypeBinding#isEqualTo(..) is wrong for capture bindings |
| 1164 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84224">84224</a> |
| 1165 | Need advice for finding duplicate Types |
| 1166 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92944">92944</a> |
| 1167 | [1.5][search] SearchEngine#searchAllTypeNames doesn't honor enum or annotation element kind |
| 1168 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91078">91078</a> |
| 1169 | [search] Java search for package reference wrongly identifies inner class as package |
| 1170 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92005">92005</a> |
| 1171 | AIOBE during content assist |
| 1172 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=67139">67139</a> |
| 1173 | [classpath] n^2 classpath computations |
| 1174 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80063">80063</a> |
| 1175 | code assist allows overriding super class' private method |
| 1176 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82208">82208</a> |
| 1177 | [search] BasicSearchEngine#searchAllTypeNames doc |
| 1178 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=3336">3336</a> |
| 1179 | SearchEngine doesn't support CLASS and INTERFACE (1GIEPRK) |
| 1180 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90160">90160</a> |
| 1181 | [search] SearchEngine.createJavaSearchScope swallows problems |
| 1182 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88174">88174</a> |
| 1183 | [1.5][search][enum] method declarations not found in anonymous enum |
| 1184 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91938">91938</a> |
| 1185 | [ast rewrite] new API: move range of nodes and replace |
| 1186 | |
| 1187 | <a name="v_553"></a> |
| 1188 | <p><hr><h1> |
| 1189 | Eclipse Platform Build Notes <br> |
| 1190 | Java development tools core</h1> |
| 1191 | Eclipse SDK 3.1M7 - 26th April 2005 |
| 1192 | <br>Project org.eclipse.jdt.core v_553 |
| 1193 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_553">cvs</a>). |
| 1194 | <h2> |
| 1195 | What's new in this drop</h2> |
| 1196 | <ul> |
| 1197 | <li>Removed the need to load <code>java.lang.RuntimeException</code> and <code>java.lang.Error</code> eagerly |
| 1198 | during compilation when assessing unchecked exception diagnosis. This allows Java class library developpers to be |
| 1199 | more minimalistic. |
| 1200 | </li> |
| 1201 | <li>Fix for <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83230">bug 83230</a> required the index version to be incremented. |
| 1202 | Indexes will be automatically regenerated upon subsequent search queries (accounting for indexing notification in search progress dialogs). |
| 1203 | </li> |
| 1204 | <li>Added support for Javadoc in package-info.java. Compiler now verifies package comment tags |
| 1205 | syntax and references for this compilation unit. See bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83804">83804</a> for |
| 1206 | further details.</li> |
| 1207 | </ul> |
| 1208 | |
| 1209 | <h3>Problem Reports Fixed</h3> |
| 1210 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91761">91761</a> |
| 1211 | [1.5][compiler] Return statements ignored in anonymous inner classes used as enum constant constructor parameters. |
| 1212 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84049">84049</a> |
| 1213 | [javadoc][dom] Extended ranges wrong for method name without return type |
| 1214 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82673">82673</a> |
| 1215 | [search] Refactor->Rename on local class also renames references to different local classes with same name |
| 1216 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81062">81062</a> |
| 1217 | [builder] Build is aborted even when no errors are occuring (incomplete build path == warning) |
| 1218 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83012">83012</a> |
| 1219 | [1.5][search][annot] Search for annotations misses references in default and values constructs |
| 1220 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92588">92588</a> |
| 1221 | Full build in reaction to beginRule failure |
| 1222 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92451">92451</a> |
| 1223 | code assist failure: new+cast+arrays |
| 1224 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92373">92373</a> |
| 1225 | [1.5] Can't distinguish capture ITypeBindings by #getKey() or #isEqualTo() |
| 1226 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92370">92370</a> |
| 1227 | [1.5] IAE in Signature.getParameterCount(..) for method proposal on capture type receiver |
| 1228 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92361">92361</a> |
| 1229 | [1.5] NPE in ITypeBinding#getJavaElement() for capture binding |
| 1230 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92315">92315</a> |
| 1231 | [search] NPE in MethodLocator.matchReportReference |
| 1232 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86380">86380</a> |
| 1233 | [1.5][search][annot] Add support to find references inside annotations on a package declaration |
| 1234 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83804">83804</a> |
| 1235 | [1.5][javadoc] Missing Javadoc node for package declaration |
| 1236 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83501">83501</a> |
| 1237 | IBinding#getJavaElement needs better specification |
| 1238 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83230">83230</a> |
| 1239 | [1.5][search][annot] search for annotation elements does not seem to be implemented yet |
| 1240 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89624">89624</a> |
| 1241 | Open on selection proposes twice the same entry |
| 1242 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92237">92237</a> |
| 1243 | IType resolved key: key.toSignature has wrong format |
| 1244 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91804">91804</a> |
| 1245 | JavaProject.isOnClasspath(IJavaElement) should avoid resolving classpath |
| 1246 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92059">92059</a> |
| 1247 | IVariableBinding#getJavaElement() thows NPE for array's 'length' field |
| 1248 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84551">84551</a> |
| 1249 | [1.5][compiler] compiler must not allow implicit static reference to outer type |
| 1250 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89440">89440</a> |
| 1251 | [1.5][problems] Reference to member of parameterized type incorrectly marked as error |
| 1252 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84973">84973</a> |
| 1253 | [1.5] parameterized inner type is illegal without parameterized outer type |
| 1254 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90484">90484</a> |
| 1255 | [1.5][compiler] Missing override annotation conflicts with Javac error checking |
| 1256 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81831">81831</a> |
| 1257 | [1.5][compiler] JDT compiler tries to infer the wildcard type "too early" in case of recursive generic type-bounds |
| 1258 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89274">89274</a> |
| 1259 | [1.5][compiler] Enums in hierarchies with generics produces unnecessary warnings and errors |
| 1260 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90137">90137</a> |
| 1261 | [1.5][compiler] Collections.sort (List<Comparable>) compile error |
| 1262 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90879">90879</a> |
| 1263 | [1.5][compiler] Cannot sort a raw Comparable |
| 1264 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85281">85281</a> |
| 1265 | [1.5][compiler] A<++Element> should not be assignable a A<+Element> |
| 1266 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91091">91091</a> |
| 1267 | [quick assist] Cannot rename type name in file |
| 1268 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90881">90881</a> |
| 1269 | [1.5][compiler] NPE in builder |
| 1270 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84496">84496</a> |
| 1271 | [1.5][compiler] Capture Conversion not correctly implemented |
| 1272 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92086">92086</a> |
| 1273 | [index] ClassCastException in DiskIndex.mergeCategory() |
| 1274 | |
| 1275 | <a name="v_552"></a> |
| 1276 | <p><hr><h1> |
| 1277 | Eclipse Platform Build Notes <br> |
| 1278 | Java development tools core</h1> |
| 1279 | Eclipse SDK 3.1M7 - 20th April 2005 |
| 1280 | <br>Project org.eclipse.jdt.core v_552 |
| 1281 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_552">cvs</a>). |
| 1282 | <h2> |
| 1283 | What's new in this drop</h2> |
| 1284 | <ul> |
| 1285 | </ul> |
| 1286 | |
| 1287 | <h3>Problem Reports Fixed</h3> |
| 1288 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91772">91772</a> |
| 1289 | Exported plugin dependencies are missing from the classpath |
| 1290 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88769">88769</a> |
| 1291 | IMethodBinding#getJavaElement() drops extra array dimensions and varargs |
| 1292 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88892">88892</a> |
| 1293 | [1.5] IMethodBinding#getJavaElement() returns nonexistent IMethods (wrong parameter types) |
| 1294 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91445">91445</a> |
| 1295 | IMethodBinding.getJavaElement() returns an "unopen" IMethod |
| 1296 | |
| 1297 | <a name="v_551"></a> |
| 1298 | <p><hr><h1> |
| 1299 | Eclipse Platform Build Notes <br> |
| 1300 | Java development tools core</h1> |
| 1301 | Eclipse SDK 3.1M7 - 19th April 2005 |
| 1302 | <br>Project org.eclipse.jdt.core v_551 |
| 1303 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_551">cvs</a>). |
| 1304 | <h2> |
| 1305 | What's new in this drop</h2> |
| 1306 | <ul> |
| 1307 | <li>Added performance instrumentation to track performance problem (use PerformanceStats from Core).<br> |
| 1308 | To enabled this Jdtcore instrumentation, you must add some new entries inside .options. |
| 1309 | <ul> |
| 1310 | <li><code>org.eclipse.jdt.core/perf/completion=300</code>: add an entry to performance.log if CompletionEngine.complete() take more than 300ms</li> |
| 1311 | <li><code>org.eclipse.jdt.core/perf/selection=300</code> add an entry to performance.log if SelectionEngine.select() take more than 300ms</li> |
| 1312 | <li><code>org.eclipse.jdt.core/perf/javadeltalistener=500</code> add an entry to performance.log if the call to the listener take more than 500ms</li> |
| 1313 | <li><code>org.eclipse.jdt.core/perf/variableinitializer=5000</code> add an entry to performance.log if the initialization take more than 5000ms</li> |
| 1314 | <li><code>org.eclipse.jdt.core/perf/containerinitializer=5000</code> add an entry to performance.log if the initialization take more than 5000ms</li> |
| 1315 | <li><code>org.eclipse.jdt.core/perf/reconcile=1000</code> add an entry to performance.log if ComplationUnit.reconcile() take more than 1000ms</li> |
| 1316 | </ul> |
| 1317 | Current default thresholds are not accurate and must be adjusted. |
| 1318 | </li> |
| 1319 | <li>Added support for completion inside single member annotation and annotation attribute value. |
| 1320 | <pre> |
| 1321 | @MyAnnotation(<complete here> |
| 1322 | @MyAnnotation(foo=<complete here> |
| 1323 | </pre> |
| 1324 | </li> |
| 1325 | </ul> |
| 1326 | |
| 1327 | <h3>Problem Reports Fixed</h3> |
| 1328 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91861">91861</a> |
| 1329 | Deadlock on startup while computing namelookup |
| 1330 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89411">89411</a> |
| 1331 | ICompilationUnit#becomeWorkingCopy takes 18% of startup |
| 1332 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91716">91716</a> |
| 1333 | [prefs] Too many calls to EclipsePreference#get while scanning full workspace units |
| 1334 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90615">90615</a> |
| 1335 | Proposal for boolean |
| 1336 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84877">84877</a> |
| 1337 | Performance on startup |
| 1338 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91497">91497</a> |
| 1339 | [prefs] JavaCore should not give access to default preferences |
| 1340 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90414">90414</a> |
| 1341 | [content assist] Content Assist fails when escape sequence present |
| 1342 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91438">91438</a> |
| 1343 | Need definitive set of jdt-core tests checked into cvs |
| 1344 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91498">91498</a> |
| 1345 | Reconcile still sees old access rules |
| 1346 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91221">91221</a> |
| 1347 | Code assist stopped working |
| 1348 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91371">91371</a> |
| 1349 | [assist] Stack Overflow - Field completion |
| 1350 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91098">91098</a> |
| 1351 | The Mark Occurrences feature does not mark all occurrences |
| 1352 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79288">79288</a> |
| 1353 | Code assist offers types which are out of scope ==> compile errors |
| 1354 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88298">88298</a> |
| 1355 | [1.5][assist] no completion inside SingleMemberAnnotation |
| 1356 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91238">91238</a> |
| 1357 | Malfunction of Format function |
| 1358 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91160">91160</a> |
| 1359 | SourceField.getConstant() incorrect for char constants |
| 1360 | |
| 1361 | <a name="v_550"></a> |
| 1362 | <p><hr><h1> |
| 1363 | Eclipse Platform Build Notes <br> |
| 1364 | Java development tools core</h1> |
| 1365 | Eclipse SDK 3.1M7 - 12th April 2005 |
| 1366 | <br>Project org.eclipse.jdt.core v_550 |
| 1367 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_550">cvs</a>). |
| 1368 | <h2> |
| 1369 | What's new in this drop</h2> |
| 1370 | <ul> |
| 1371 | <li>Fix for <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90431">bug 90431</a> required the index version to be incremented. |
| 1372 | Indexes will be automatically regenerated upon subsequent search queries (accounting for indexing notification in search progress dialogs). |
| 1373 | </li> |
| 1374 | </ul> |
| 1375 | |
| 1376 | <h3>Problem Reports Fixed</h3> |
| 1377 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89096">89096</a> |
| 1378 | Convert to new platform NLS support |
| 1379 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90302">90302</a> |
| 1380 | [javadoc] {@inheritedDoc} should be inactive for non-overridden method |
| 1381 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90779">90779</a> |
| 1382 | [search] Constructor Declaration search with ignoring declaring and return type also ignores type name |
| 1383 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90915">90915</a> |
| 1384 | [1.5][search] NPE in PatternLocator |
| 1385 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90266">90266</a> |
| 1386 | [select] Code select returns null when there's a string including a slash on same line |
| 1387 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90605">90605</a> |
| 1388 | Severity is not severe enough |
| 1389 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89470">89470</a> |
| 1390 | Generic Method override compatibility |
| 1391 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90446">90446</a> |
| 1392 | Update CreateTypeMemberOperation for changes in Indents |
| 1393 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90431">90431</a> |
| 1394 | Improve path lookup in scopes |
| 1395 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90423">90423</a> |
| 1396 | [1.5][compiler] Generic method overloading. Javac allows but eclipse doesn't |
| 1397 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90213">90213</a> |
| 1398 | [Formatter] Redundant space in multidimensional array literals |
| 1399 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88263">88263</a> |
| 1400 | [1.5][compiler] Autobox and extends |
| 1401 | |
| 1402 | |
| 1403 | <a name="v_549"></a> |
| 1404 | <p><hr><h1> |
| 1405 | Eclipse Platform Build Notes <br> |
| 1406 | Java development tools core</h1> |
| 1407 | Eclipse SDK 3.1M7 - 5th April 2005 |
| 1408 | <br>Project org.eclipse.jdt.core v_549 |
| 1409 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_549">cvs</a>). |
| 1410 | <h2> |
| 1411 | What's new in this drop</h2> |
| 1412 | <ul> |
| 1413 | </ul> |
| 1414 | |
| 1415 | <h3>Problem Reports Fixed</h3> |
| 1416 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89815">89815</a> |
| 1417 | Types not found using Open Type and search for declaration |
| 1418 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77809">77809</a> |
| 1419 | [format] Line wrapping for enum constants |
| 1420 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=49896">49896</a> |
| 1421 | Formatters should have option to use tabs only for leading indents. |
| 1422 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89777">89777</a> |
| 1423 | Improve doc formatting for IMethodBinding.getMethodDeclaration() |
| 1424 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90111">90111</a> |
| 1425 | [1.5][compiler] Compiler warning "tagged with @Override" not correct with static methods |
| 1426 | |
| 1427 | <a name="v_548"></a> |
| 1428 | <p><hr><h1> |
| 1429 | Eclipse Platform Build Notes <br> |
| 1430 | Java development tools core</h1> |
| 1431 | Eclipse SDK 3.1M6 - 1st April 2005 |
| 1432 | <br>Project org.eclipse.jdt.core v_548 - 3.1 MILESTONE 6 |
| 1433 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_548">cvs</a>). |
| 1434 | <h2> |
| 1435 | What's new in this drop</h2> |
| 1436 | <ul> |
| 1437 | <li> |
| 1438 | New Code Formatter built-in profile has been added: "Eclipse [built-in]".<br> |
| 1439 | This new profile is based on "Java Conventions" but uses tab character (instead of space) and set tab size to 4 (instead of 8).<br> |
| 1440 | JavaCore was using these values by default but they were wrongly showed as "Java Conventions" in Code Formatter |
| 1441 | preference page. This problem is now fixed (see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89739">89739</a>).<br> |
| 1442 | Code formatter behavior is still fully compatible with previous milestones for users who have not modified Code Formatter |
| 1443 | options in their workspace. However, users who have explicitely modified them and have troubles with use of tab character, |
| 1444 | should open Code Formatter preference page and either select this new "Eclipse" profile or verify state of "Use of tab character" |
| 1445 | check-box. |
| 1446 | </li> |
| 1447 | </ul> |
| 1448 | |
| 1449 | <h3>Problem Reports Fixed</h3> |
| 1450 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89982">89982</a> |
| 1451 | [1.5][compiler] Internal failure during missing enum case diagnosis |
| 1452 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89848">89848</a> |
| 1453 | [search] does not find method references in anonymous class of imported jarred plugin |
| 1454 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89778">89778</a> |
| 1455 | NPE in bindThrownExceptions |
| 1456 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89710">89710</a> |
| 1457 | [compiler] local variable range is wrong. |
| 1458 | |
| 1459 | |
| 1460 | <a name="v_547"></a> |
| 1461 | <p><hr><h1> |
| 1462 | Eclipse Platform Build Notes <br> |
| 1463 | Java development tools core</h1> |
| 1464 | Eclipse SDK 3.1M6 - 31st March 2005 |
| 1465 | <br>Project org.eclipse.jdt.core v_547 |
| 1466 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_547">cvs</a>). |
| 1467 | <h2> |
| 1468 | What's new in this drop</h2> |
| 1469 | <ul> |
| 1470 | </ul> |
| 1471 | |
| 1472 | <h3>Problem Reports Fixed</h3> |
| 1473 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89739">89739</a> |
| 1474 | [prefs] Default for formatter should be Tab characters, not spaces |
| 1475 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89448">89448</a> |
| 1476 | Java Generics code throws a java.lang.NoClassDefFoundError |
| 1477 | |
| 1478 | |
| 1479 | <a name="v_546"></a> |
| 1480 | <p><hr><h1> |
| 1481 | Eclipse Platform Build Notes <br> |
| 1482 | Java development tools core</h1> |
| 1483 | Eclipse SDK 3.1M6 - 31st March 2005 |
| 1484 | <br>Project org.eclipse.jdt.core v_546 |
| 1485 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_546">cvs</a>). |
| 1486 | <h2> |
| 1487 | What's new in this drop</h2> |
| 1488 | <ul> |
| 1489 | <li>In order to fix bugs <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=49896">49896</a> and <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=77809">77809</a>, we added the following |
| 1490 | two APIs: |
| 1491 | <ul> |
| 1492 | <li><code>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_USE_TABS_ONLY_FOR_LEADING_INDENTATIONS</code></li> |
| 1493 | <li><code>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_ALIGNMENT_FOR_ENUM_CONSTANTS</code></li> |
| 1494 | </ul> |
| 1495 | </li> |
| 1496 | </ul> |
| 1497 | |
| 1498 | <h3>Problem Reports Fixed</h3> |
| 1499 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89477">89477</a> |
| 1500 | [1.5][select] ArrayStoreException in SelectionEngine |
| 1501 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73658">73658</a> |
| 1502 | [1.5] Not all new 1.5 formatter options seem to work |
| 1503 | |
| 1504 | <a name="v_545"></a> |
| 1505 | <p><hr><h1> |
| 1506 | Eclipse Platform Build Notes <br> |
| 1507 | Java development tools core</h1> |
| 1508 | Eclipse SDK 3.1M6 - 29th March 2005 |
| 1509 | <br>Project org.eclipse.jdt.core v_545 |
| 1510 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_545">cvs</a>). |
| 1511 | <h2> |
| 1512 | What's new in this drop</h2> |
| 1513 | <ul> |
| 1514 | </ul> |
| 1515 | |
| 1516 | <h3>Problem Reports Fixed</h3> |
| 1517 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81497">81497</a> |
| 1518 | [format] Wrong feeding after array-initialization |
| 1519 | |
| 1520 | <a name="v_544"></a> |
| 1521 | <p><hr><h1> |
| 1522 | Eclipse Platform Build Notes <br> |
| 1523 | Java development tools core</h1> |
| 1524 | Eclipse SDK 3.1M6 - 29th March 2005 |
| 1525 | <br>Project org.eclipse.jdt.core v_544 |
| 1526 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_544">cvs</a>). |
| 1527 | <h2> |
| 1528 | What's new in this drop</h2> |
| 1529 | <ul> |
| 1530 | <li>In order to fix <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73104">73104</a>, we have added the following new API: |
| 1531 | <ul><li><code>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_INDENTATION_SIZE</code></li> |
| 1532 | <li>Added new API <code>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#MIXED</code>. This new constant is used for the option: |
| 1533 | <code>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_TAB_CHAR</code>.</li> |
| 1534 | </ul> |
| 1535 | </li> |
| 1536 | <li>Added new API on <code>org.eclipse.jdt.core.dom.ITypeBinding#getDeclaringMethod()</code>. See bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86580">86580</a> for details.</li> |
| 1537 | </ul> |
| 1538 | |
| 1539 | <h3>Problem Reports Fixed</h3> |
| 1540 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89312">89312</a> |
| 1541 | API: BindingKey should probably be final |
| 1542 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89318">89318</a> |
| 1543 | [formatter] Option FORMATTER_INSERT_SPACE_AFTER_CLOSING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS has no effect |
| 1544 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89302">89302</a> |
| 1545 | [formatter] Insert space after comma in enum constants has no effect |
| 1546 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73104">73104</a> |
| 1547 | [format] indentation amount tied to tab size |
| 1548 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84872">84872</a> |
| 1549 | Improve string sharing in JavaModelCache |
| 1550 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68148">68148</a> |
| 1551 | [model] Leaking persisted containers |
| 1552 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89110">89110</a> |
| 1553 | Redundant information in SourceTypeElementInfo |
| 1554 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89092">89092</a> |
| 1555 | Redundant information in ImportDeclarationElementInfo |
| 1556 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89090">89090</a> |
| 1557 | Redundant information in SourceFieldElementInfo |
| 1558 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89014">89014</a> |
| 1559 | IMethodBinding#isEqualTo(..) returns true for methods in different anonymous classes |
| 1560 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86580">86580</a> |
| 1561 | API on ITypeBinding for asking about the declaring node of type variable |
| 1562 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88575">88575</a> |
| 1563 | [1.5] treatment of Object.getClass() not API compliant |
| 1564 | |
| 1565 | <a name="v_543"></a> |
| 1566 | <p><hr><h1> |
| 1567 | Eclipse Platform Build Notes <br> |
| 1568 | Java development tools core</h1> |
| 1569 | Eclipse SDK 3.1M6 - 24th March 2005 |
| 1570 | <br>Project org.eclipse.jdt.core v_543 |
| 1571 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_543">cvs</a>). |
| 1572 | <h2> |
| 1573 | What's new in this drop</h2> |
| 1574 | <ul> |
| 1575 | <li>Added new kinds for the code formatter: |
| 1576 | <ul> |
| 1577 | <li><code>org.eclipse.jdt.core.formatter.CodeFormatter#K_SINGLE_LINE_COMMENT</code></li> |
| 1578 | <li><code>org.eclipse.jdt.core.formatter.CodeFormatter#K_MULTI_LINE_COMMENT</code></li> |
| 1579 | <li><code>org.eclipse.jdt.core.formatter.CodeFormatter#K_JAVA_DOC</code></li> |
| 1580 | </ul> |
| 1581 | </li> |
| 1582 | <li>Added new options to format comments: |
| 1583 | <ul> |
| 1584 | <li><code>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_COMMENT_CLEAR_BLANK_LINES</code></li> |
| 1585 | <li><code>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_COMMENT_FORMAT_HEADER</code></li> |
| 1586 | <li><code>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_COMMENT_FORMAT_HTML</code></li> |
| 1587 | <li><code>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_COMMENT_FORMAT_SOURCE</code></li> |
| 1588 | <li><code>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_COMMENT_FORMAT</code></li> |
| 1589 | <li><code>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_COMMENT_INDENT_PARAMETER_DESCRIPTION</code></li> |
| 1590 | <li><code>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_COMMENT_INDENT_ROOT_TAGS</code></li> |
| 1591 | <li><code>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_COMMENT_INSERT_EMPTY_LINE_BEFORE_ROOT_TAGS</code></li> |
| 1592 | <li><code>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_COMMENT_INSERT_NEW_LINE_FOR_PARAMETER</code></li> |
| 1593 | <li><code>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_COMMENT_LINE_LENGTH</code></li> |
| 1594 | </ul> |
| 1595 | </li> |
| 1596 | <li>Added constant for the javadoc location attribute name: <code>IClasspathAttribute#JAVADOC_LOCATION_ATTRIBUTE_NAME</code>.</li> |
| 1597 | <li>Added API to create an array type binding key from a type key and array dimension: <code>BindingKey#createArrayTypeBindingKey(String typeKey, int arrayDimension)</code></li> |
| 1598 | <li>Added API to create a binding key from a type name: <code>BindingKey#createTypeBindingKey(String typeName)</code>.</li> |
| 1599 | <li>Added API to create a parameterized or raw type binding key from a generic type binding key and argument type binding keys: |
| 1600 | <code>BindingKey#createParameterizedTypeBindingKey(String genericTypeKey, String[] argumentTypeKeys)</code>.</li> |
| 1601 | <li>Added API to create a type variable binding key from a type variable name and a declaring key: <code>createTypeVariableBindingKey(String typeVariableName, String declaringKey)</code></li> |
| 1602 | <li>Added API to create a wildcard binding key from a type key and wildcard kind: <code>BindingKey#createWildcardTypeBindingKey(String typeKey, char kind)</code></li> |
| 1603 | <li>Added API to query whether a field is an enum constant: <code>IField#isEnumConstant()</code></li> |
| 1604 | <li>Added API to code assist for access rule management. |
| 1605 | <ul> |
| 1606 | <li>Added JavaCore#CODEASSIST_FORBIDDEN_REFERENCE_CHECK and JavaCore#CODEASSIST_DISCOURAGED_REFERENCE_CHECK options</li> |
| 1607 | <li>Removed JavaCore#CODEASSIST_RESTRICTIONS_CHECK (Replaced by CODEASSIST_FORBIDDEN_REFERENCE)</li> |
| 1608 | <li>Added CompletionProposal#getAccessibility()</li> |
| 1609 | </ul> |
| 1610 | </li> |
| 1611 | </ul> |
| 1612 | |
| 1613 | <h3>Problem Reports Fixed</h3> |
| 1614 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=89088">89088</a> |
| 1615 | [performance] Scanner is sending 2 messages per identifier character |
| 1616 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83502">83502</a> |
| 1617 | Need API to create binding keys. |
| 1618 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88845">88845</a> |
| 1619 | NPE in codeComplete for supertype that extends invisible type |
| 1620 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70827">70827</a> |
| 1621 | [Search] wrong reference match to private method of supertype |
| 1622 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88300">88300</a> |
| 1623 | [search] Reference search result is changed by placement of private method |
| 1624 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87173">87173</a> |
| 1625 | Surface compiler information about boxing/unboxing in the DOM AST (implicit conversion) |
| 1626 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88841">88841</a> |
| 1627 | IAE while opening ASTView |
| 1628 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88548">88548</a> |
| 1629 | Need to get constant value on expression |
| 1630 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88921">88921</a> |
| 1631 | [Formatter] Adopt comment formatter from JDT/UI inside JDT/Core API |
| 1632 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88849">88849</a> |
| 1633 | Infinite loop in scanner when using eof=Integer.MAX_VALUE |
| 1634 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88859">88859</a> |
| 1635 | Constant for the name of the Javadoc attribute |
| 1636 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=71460">71460</a> |
| 1637 | [model] Non *.java file association with Java contents. |
| 1638 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88756">88756</a> |
| 1639 | [codeassist] Code assist propose anonymous enum |
| 1640 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76863">76863</a> |
| 1641 | [1.5][model] IField should offer a method isEnumConstant |
| 1642 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88757">88757</a> |
| 1643 | [API] SwitchStatement.statements() returns list of SwitchGroups |
| 1644 | |
| 1645 | <a name="v_542"></a> |
| 1646 | <p><hr><h1> |
| 1647 | Eclipse Platform Build Notes <br> |
| 1648 | Java development tools core</h1> |
| 1649 | Eclipse SDK 3.1M6 - 22nd March 2005 |
| 1650 | <br>Project org.eclipse.jdt.core v_542 |
| 1651 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_542">cvs</a>). |
| 1652 | <h2> |
| 1653 | What's new in this drop</h2> |
| 1654 | <ul> |
| 1655 | <li>The internal build state format has changed and a full build is expected when restarting an existing workspace with this version of JDT Core.</li> |
| 1656 | <li>Added the following APIs to control access rules severity: |
| 1657 | <ul> |
| 1658 | <li><code>org.eclipse.jdt.core.IAccessRule</code> |
| 1659 | <ul> |
| 1660 | <li><code>int K_ACCESSIBLE;</code></li> |
| 1661 | <li><code>int K_NON_ACCESSIBLE;</code></li> |
| 1662 | <li><code>int K_DISCOURAGED;</code></li> |
| 1663 | <li><code>IPath getPattern();</code></li> |
| 1664 | <li><code>int getKind();</code></li> |
| 1665 | </ul> |
| 1666 | </li> |
| 1667 | <li><code>org.eclipse.jdt.core.JavaCore</code> |
| 1668 | <ul> |
| 1669 | <li><code>String COMPILER_PB_DISCOURAGED_REFERENCE;</code></li> |
| 1670 | <li><code>IAccessRule newAccessRule(IPath pattern, int kind);</code></li> |
| 1671 | <li><code>IClasspathEntry newContainerEntry( |
| 1672 | IPath containerPath, |
| 1673 | IAccessRule[] accessRules, |
| 1674 | IClasspathAttribute[] extraAttributes, |
| 1675 | boolean isExported);</code></li> |
| 1676 | <li><code>IClasspathEntry newLibraryEntry( |
| 1677 | IPath path, |
| 1678 | IPath sourceAttachmentPath, |
| 1679 | IPath sourceAttachmentRootPath, |
| 1680 | IAccessRule[] accessRules, |
| 1681 | IClasspathAttribute[] extraAttributes, |
| 1682 | boolean isExported);</code></li> |
| 1683 | <li><code>IClasspathEntry newProjectEntry( |
| 1684 | IPath path, |
| 1685 | IAccessRule[] accessRules, |
| 1686 | boolean combineAccessRules, |
| 1687 | IClasspathAttribute[] extraAttributes, |
| 1688 | boolean isExported);</code></li> |
| 1689 | <li><code>IClasspathEntry newVariableEntry( |
| 1690 | IPath variablePath, |
| 1691 | IPath variableSourceAttachmentPath, |
| 1692 | IPath variableSourceAttachmentRootPath, |
| 1693 | IAccessRule[] accessRules, |
| 1694 | IClasspathAttribute[] extraAttributes, |
| 1695 | boolean isExported);</code></li> |
| 1696 | </ul> |
| 1697 | </li> |
| 1698 | <li><code>org.eclipse.jdt.core.IClasspathEntry</code> |
| 1699 | <ul> |
| 1700 | <li><code>boolean combineAccessRules();</code> |
| 1701 | <li><code>IAccessRule[] getAccessRules();</code> |
| 1702 | </ul> |
| 1703 | </li> |
| 1704 | </ul> |
| 1705 | </li> |
| 1706 | <li>Code select now works into Javadoc comment wherever a reference can be specified |
Stephan Herrmann | d5c3cc6 | 2010-05-30 17:34:25 +0000 | [diff] [blame] | 1707 | (i.e. @see, @link, @linkplain, @throws, @exception, @param or @value tags)<br> |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 1708 | (see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=54968">54968</a>).<br> |
| 1709 | For example, hit F3 with cursor located in <code>MyClass</code>, in following Javadoc comment: |
| 1710 | <pre> |
| 1711 | /** |
| 1712 | * @see MyClass This is my class |
| 1713 | */ |
| 1714 | </pre> |
| 1715 | will open editor on MyClass.java file. |
| 1716 | </li> |
| 1717 | <li>New CodeSelect feature: Code select return an element if the selection is an enum constant inside a switch label. |
| 1718 | <pre> |
| 1719 | Colors c; |
| 1720 | swith(c) { |
| 1721 | case BLUE: |
| 1722 | case RED; // select RED |
| 1723 | } |
| 1724 | </pre> |
| 1725 | </li> |
| 1726 | <li>Added new kind of type signature: <code>Signature#WILDCARD_TYPE_SIGNATURE</code>.<br> |
| 1727 | <code>Signature#getTypeSignatureKind(char[])</code> and <code>Signature#getTypeSignatureKind(String)</code> |
| 1728 | now return <code>Signature#WILDCARD_TYPE_SIGNATURE</code> if the signature is a wildcard : * or +Ljava.lang.Object; or -Ljava.lang.Object; |
| 1729 | </li> |
| 1730 | <li>Added new completion API to describe context in which the completion occurs.<br> |
| 1731 | Currently only the expected types of the potential completion proposals are proposed. |
| 1732 | <pre> |
| 1733 | X x = zzz<complete here> |
| 1734 | </pre> |
| 1735 | In this example the expected type is <code>X</code>. It is not mandatory to a proposal |
| 1736 | to respect this expectation and it is possible that there is no completion proposal. |
| 1737 | <pre> |
| 1738 | public class CompletionContext { |
| 1739 | public char[][] getExpectedTypesSignatures() {...} |
| 1740 | public char[][] getExpectedTypesKeys() {...} |
| 1741 | } |
| 1742 | </pre> |
| 1743 | Client must override <code>CompletionRequestor#acceptContext(..)</code> to know the context. |
| 1744 | This method call ocurs after the call to <code>beginReporting()</code> and before the call to any |
| 1745 | <code>accept(CompletionProposal)</code> method. |
| 1746 | <pre> |
| 1747 | public class CompletionRequestor { |
| 1748 | ... |
| 1749 | public void acceptContext(CompletionContext context) {..} |
| 1750 | ... |
| 1751 | } |
| 1752 | </pre> |
| 1753 | </li> |
| 1754 | </ul> |
| 1755 | |
| 1756 | <h3>Problem Reports Fixed</h3> |
| 1757 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87644">87644</a> |
| 1758 | Control access rules severity |
| 1759 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88625">88625</a> |
| 1760 | [1.5][compiler] Invalid Enum comparing (Build id: I20050219-1500) |
| 1761 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87998">87998</a> |
| 1762 | [1.5][compiler] Enum constants generate warnings about synthetic constructor access |
| 1763 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88562">88562</a> |
| 1764 | Internal compiler error when compiling GNU Classpath |
| 1765 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88295">88295</a> |
| 1766 | [1.5][assist] too many completion on enum case label |
| 1767 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88446">88446</a> |
| 1768 | [1.5] annotations declared inside generic classes are not visible at runtime |
| 1769 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=54968">54968</a> |
| 1770 | [javadoc][select] ICodeAssist#codeSelect doesn't work for member references in javadoc |
| 1771 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85379">85379</a> |
| 1772 | [1.5][select][enum] Code resolve on enum in switch |
| 1773 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88429">88429</a> |
| 1774 | Redundant information in SourceMethodElementInfo |
| 1775 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88428">88428</a> |
| 1776 | Class file reader's method info still hold on byte array |
| 1777 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88223">88223</a> |
| 1778 | [1.5][compiler] Local enums are not reported as error |
| 1779 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88224">88224</a> |
| 1780 | [1.5][DOM] ASTRewriteAnalyzer blows up with local enums |
| 1781 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86971">86971</a> |
| 1782 | [1.5][codeselect] F3 should perform if selecting '@Deprecated' |
| 1783 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85713">85713</a> |
| 1784 | Signature.getTypeSignatureKind does not like wildcard types |
| 1785 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87762">87762</a> |
| 1786 | [model] suspicious huge amount of IPackageFragmentRoot[] |
| 1787 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88252">88252</a> |
| 1788 | Deleting a MemberValuePair with a NormalAnnotation child does not work |
| 1789 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87818">87818</a> |
| 1790 | [compiler] local enums are illegal, but does this need to be a syntax error? |
| 1791 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69657">69657</a> |
| 1792 | [dom] deprecate JLS2 once JLS3 is fully supported |
| 1793 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81797">81797</a> |
| 1794 | NPE in SortElementBuilder |
| 1795 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80036">80036</a> |
| 1796 | EmptyStackException in CompilationUnitSorter |
| 1797 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88187">88187</a> |
| 1798 | Unexpected deprecation warnings during full build |
| 1799 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88094">88094</a> |
| 1800 | [1.5] compiler accepts two methods with same erasure |
| 1801 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86970">86970</a> |
| 1802 | [codeassist] Add an API on completion proposal API to surface the expected type |
| 1803 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=88124">88124</a> |
| 1804 | More deprecated warnings than expected |
| 1805 | |
| 1806 | |
| 1807 | |
| 1808 | <a name="v_541"></a> |
| 1809 | <p><hr><h1> |
| 1810 | Eclipse Platform Build Notes <br> |
| 1811 | Java development tools core</h1> |
| 1812 | Eclipse SDK 3.1M6 - 15th March 2005 |
| 1813 | <br>Project org.eclipse.jdt.core v_541 |
| 1814 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_541">cvs</a>). |
| 1815 | <h2> |
| 1816 | What's new in this drop</h2> |
| 1817 | <ul> |
| 1818 | |
| 1819 | <li>Compiler now recognizes <code>@Deprecated</code> annotations, and treats them equivalent |
| 1820 | to doc comment <code>/** @deprecated */</code>. |
| 1821 | </li> |
| 1822 | <li>Added optional compiler diagnosis to flag deprecated constructs missing a proper |
| 1823 | <code>@Deprecated</code> annotation (to encourage using annotations instead of doc comment tag). |
| 1824 | Corresponding problem IDs are: <code>IProblem.FieldMissingDeprecatedAnnotation</code>, |
| 1825 | <code>IProblem.MethodMissingDeprecatedAnnotation</code>, |
| 1826 | <code>IProblem.TypeMissingDeprecatedAnnotation</code>. |
| 1827 | <pre> |
| 1828 | * COMPILER / Reporting Missing @Deprecated Annotation |
| 1829 | * When enabled, the compiler will issue an error or a warning whenever encountering a declaration |
| 1830 | * carrying a @deprecated doc tag but has no corresponding @Deprecated annotation. |
| 1831 | * - option id: "org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation" |
| 1832 | * - possible values: { "error", "warning", "ignore" } |
| 1833 | * - default: "ignore" |
| 1834 | </pre> |
| 1835 | </li> |
| 1836 | <li>JLS2 API have been deprecated (see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69657">69657</a>).</li> |
| 1837 | <li>Allowed javadoc reference to varargs methods (see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87845">87845</a>).<br> |
| 1838 | The 1.5 spec for the Javadoc tool does not mention the possibility |
| 1839 | of a variable arity indicator in method references. However, the 1.5 |
| 1840 | Javadoc tool itself does indeed support it. Since it makes sense to have |
| 1841 | a way to explicitly refer to variable arity methods, it seems more likely |
| 1842 | that the Javadoc spec is wrong in this case.<br> |
| 1843 | Following API methods were added to <code>MethodRefParameter</code>: |
| 1844 | <pre> |
| 1845 | /** |
| 1846 | * The "varargs" structural property of this node type (added in JLS3 API). |
| 1847 | * @since 3.1 |
| 1848 | */ |
| 1849 | public static final SimplePropertyDescriptor VARARGS_PROPERTY; |
| 1850 | /** |
| 1851 | * Returns whether this method reference parameter is for |
| 1852 | * the last parameter of a variable arity method (added in JLS3 API). |
| 1853 | * |
| 1854 | * Note that the binding for the type <code>Foo</code>in the vararg method |
| 1855 | * reference <code>#fun(Foo...)</code> is always for the type as |
| 1856 | * written; i.e., the type binding for <code>Foo</code>. However, if you |
| 1857 | * navigate from the MethodRef to its method binding to the |
| 1858 | * type binding for its last parameter, the type binding for the vararg |
| 1859 | * parameter is always an array type (i.e., <code>Foo[]</code>) reflecting |
| 1860 | * the way vararg methods get compiled. |
| 1861 | * |
| 1862 | * |
| 1863 | * @return <code>true</code> if this is a variable arity parameter, |
| 1864 | * and <code>false</code> otherwise |
| 1865 | * @exception UnsupportedOperationException if this operation is used in |
| 1866 | * a JLS2 AST |
| 1867 | * @since 3.1 |
| 1868 | */ |
| 1869 | public boolean isVarargs(); |
| 1870 | /** |
| 1871 | * Sets whether this method reference parameter is for the last parameter of |
| 1872 | * a variable arity method (added in JLS3 API). |
| 1873 | * |
| 1874 | * @param variableArity <code>true</code> if this is a variable arity |
| 1875 | * parameter, and <code>false</code> otherwise |
| 1876 | * @since 3.1 |
| 1877 | */ |
| 1878 | public void setVarargs(boolean variableArity); |
| 1879 | </pre> |
| 1880 | </li> |
| 1881 | <li>Added new flags on nature of match to specify that declaring or return type should be ignored during the search |
| 1882 | (see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80264">80264</a>).<br> |
| 1883 | These flags are defined on <code>IJavaSearchConstants</code> interface: |
| 1884 | <pre> |
| 1885 | /** |
| 1886 | * Ignore declaring type while searching result. |
| 1887 | * Can be used in conjunction with any of the nature of match. |
| 1888 | * @since 3.1 |
| 1889 | */ |
| 1890 | int IGNORE_DECLARING_TYPE = 0x10; |
| 1891 | /** |
| 1892 | * Ignore return type while searching result. |
| 1893 | * Can be used in conjunction with any of the nature of match. |
| 1894 | * Note that: |
| 1895 | * - for fields search, pattern will ignore field type |
| 1896 | * - this flag will have no effect for types search |
| 1897 | * @since 3.1 |
| 1898 | */ |
| 1899 | int IGNORE_RETURN_TYPE = 0x20; |
| 1900 | </pre> |
Stephan Herrmann | d5c3cc6 | 2010-05-30 17:34:25 +0000 | [diff] [blame] | 1901 | Note that these flags are active only for search of declarations (i.e. <code>IJavaSearchConstants.DECLARATIONS</code> and <code>IJavaSearchConstants.ALL_OCCURRENCES</code>) |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 1902 | and while searching for IJavaElement (see doc of <code>SearchPattern.createPattern(IJavaElement, int)</code> API method). |
| 1903 | </li> |
| 1904 | <li>Improved API for type name requestor. Abstract class <code>TypeNameRequestor</code> replaces interface <code>ITypeNameRequestor</code> which is deprecated.<br> |
| 1905 | There's now only a single method for type name requestor while accepting a type: |
| 1906 | <pre> |
| 1907 | /** |
| 1908 | * Accepts a top-level or a member type. |
| 1909 | * |
| 1910 | * The default implementation of this method does nothing. |
| 1911 | * Subclasses should override. |
| 1912 | * |
| 1913 | * @param modifiers the modifier flags of the type. Note that for source type, |
| 1914 | * these flags may slightly differ from thoses get after resolution. |
| 1915 | * For example an interface defined by <code>interface A {}</code>, although obviously public, |
| 1916 | * will be returned false by <code>Flags.isPublic(modifiers)</code> due to the fact |
| 1917 | * that its declaration does not explicitely define <code>public</code> flag. |
| 1918 | * @see org.eclipse.jdt.core.Flags |
| 1919 | * @param packageName the dot-separated name of the package of the type |
| 1920 | * @param simpleTypeName the simple name of the type |
| 1921 | * @param enclosingTypeNames if the type is a member type, |
| 1922 | * the simple names of the enclosing types from the outer-most to the |
| 1923 | * direct parent of the type (for example, if the class is x.y.A$B$C then |
| 1924 | * the enclosing types are [A, B]. This is an empty array if the type |
| 1925 | * is a top-level type. |
| 1926 | * @param path the full path to the resource containing the type. If the resource is a .class file |
| 1927 | * or a .java file, this is the full path in the workspace to this resource. If the |
| 1928 | * resource is an archive (that is, a .zip or .jar file), the path is composed of 2 paths separated |
| 1929 | * by <code>IJavaSearchScope.JAR_FILE_ENTRY_SEPARATOR</code>: |
| 1930 | * the first path is the full OS path to the archive (if it is an external archive), |
| 1931 | * or the workspace relative <code>IPath</code> to the archive (if it is an internal archive), |
| 1932 | * the second path is the path to the resource inside the archive. |
| 1933 | */ |
| 1934 | public void acceptType(int modifiers, char[] packageName, char[] simpleTypeName, char[][] enclosingTypeNames, String path) |
| 1935 | </pre> |
| 1936 | Clients can now distinguish Annotation, Enum, Interface and Class using <code>Flags</code> API methods on <code>modifiers</code> parameter. |
| 1937 | </li> |
| 1938 | <li>Added support for package-info.java. This allows to define annotations on the package declaration. See bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86167">86167</a> for |
| 1939 | further details.</li> |
| 1940 | <li>Added API <code>JavaCore#newProjectEntry(IPath, IPath[], IPath[], boolean, IClasspathAttribute[], boolean)</code> |
| 1941 | that take a 'combineAccessRestrictions' flag to control whether access restrictions of exported libraries of the project |
| 1942 | should be combined with the access restrictions of this project entry. |
| 1943 | </li> |
| 1944 | <li>Added API method <code>AST#newName(String qualifiedName)</code> for creating |
| 1945 | <code>SimpleName</code> or <code>QualifiedName</code> |
| 1946 | nodes depending on the form of the given name string. |
| 1947 | </li> |
| 1948 | </ul> |
| 1949 | |
| 1950 | <h3>Problem Reports Fixed</h3> |
| 1951 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83643">83643</a> |
| 1952 | [1.5] @Deprecated members not 'slashed' |
| 1953 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86291">86291</a> |
| 1954 | [1.5][compiler] Annotation attribute see members of the annotated type |
| 1955 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69657">69657</a> |
| 1956 | [dom] deprecate JLS2 once JLS3 is fully supported |
| 1957 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77349">77349</a> |
| 1958 | [compiler] ClassFormatError when accessing clone() or finalize() methods from an interface |
| 1959 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87956">87956</a> |
| 1960 | compiling error on jdk1.5 collection generics |
| 1961 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87900">87900</a> |
| 1962 | Error 'Requesting Java AST from selection': Bug in the Java AST parser |
| 1963 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87754">87754</a> |
| 1964 | [1.5][javadoc][dom] Type of ArrayType component type inside MethodRef has no binding |
| 1965 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87845">87845</a> |
| 1966 | [1.5][dom][javadoc] allow javadoc references to vararg methods |
| 1967 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87778">87778</a> |
| 1968 | [search] doesn't find all declarations of method with covariant return type |
| 1969 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80264">80264</a> |
| 1970 | [search] Search for method declarations in workspace, disregarding declaring type |
| 1971 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85924">85924</a> |
| 1972 | [1.5][compiler[ code generation error in M5 w/regard to generics |
| 1973 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87849">87849</a> |
| 1974 | [AST] SimpleName.setIdentifier() not detecting bogus identifiers |
| 1975 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86779">86779</a> |
| 1976 | AST#resolveWellKnownType(..) should support primitive type wrappers |
| 1977 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85900">85900</a> |
| 1978 | [1.5] [compiler] internal compiler reports name clash |
| 1979 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87777">87777</a> |
| 1980 | Bindings.isEqualTo returns false for equal bindings |
| 1981 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86902">86902</a> |
| 1982 | [1.5][compiler] Raw field access is not flagged as unsafe type operation |
| 1983 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81498">81498</a> |
| 1984 | [search] ITypeNameRequestor should support enums and annotations as well |
| 1985 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87490">87490</a> |
| 1986 | Internal compiler error |
| 1987 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85491">85491</a> |
| 1988 | [1.5] Compiler rejects autoboxing-calls to overloaded varargs methods as ambiguous |
| 1989 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87613">87613</a> |
| 1990 | Access restrictions should only apply to project's own package fragment roots |
| 1991 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86167">86167</a> |
| 1992 | [1.5] Add support for package-info.java |
| 1993 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87350">87350</a> |
| 1994 | IllegalArgumentException when converting AST with invalid enum body declaration |
| 1995 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85262">85262</a> |
| 1996 | [1.5] Bound mismatch: type R is not a valid substitute for the bounded parameter... |
| 1997 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87498">87498</a> |
| 1998 | StackOverflowError when marking occurrences of Comparable in Collections.min(..) |
| 1999 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87481">87481</a> |
| 2000 | [1.5] type reference in CastExpression is generic type instead of parameterized |
| 2001 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87463">87463</a> |
| 2002 | The built-in Eclipse compiler behaves differently than IBM or Sun JDK |
| 2003 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85226">85226</a> |
| 2004 | [1.5] EnumConstantDeclaration should declare resolveConstructorBinding |
| 2005 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36938">36938</a> |
| 2006 | [plan item][1.5] Add early support for J2SE 1.5 features |
| 2007 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87404">87404</a> |
| 2008 | [javadoc] Unexpected not defined warning on constructor |
| 2009 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85811">85811</a> |
| 2010 | BindingKey.toSignature should return method signature for methods |
| 2011 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87411">87411</a> |
| 2012 | [dom] API: ast.newName(String qualifiedName) |
| 2013 | |
| 2014 | <a name="v_540"></a> |
| 2015 | <p><hr><h1> |
| 2016 | Eclipse Platform Build Notes <br> |
| 2017 | Java development tools core</h1> |
| 2018 | Eclipse SDK 3.1M6 - 8th March 2005 |
| 2019 | <br>Project org.eclipse.jdt.core v_540 |
| 2020 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_540">cvs</a>). |
| 2021 | <h2> |
| 2022 | What's new in this drop</h2> |
| 2023 | <ul> |
| 2024 | </ul> |
| 2025 | |
| 2026 | <h3>Problem Reports Fixed</h3> |
| 2027 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83693">83693</a> |
| 2028 | [search][javadoc] References to methods/constructors: range does not include parameter lists |
| 2029 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87273">87273</a> |
| 2030 | [1.5][compiler] Code with generics compiles, but throws a NoSuchMethodError when executed |
| 2031 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87050">87050</a> |
| 2032 | ASTParser#createASTs(..) cannot resolve method type parameter binding from key |
| 2033 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83002">83002</a> |
| 2034 | [1.5] Compiler generates incorrect signature for throws clause. |
| 2035 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87318">87318</a> |
| 2036 | [1.5][compiler] Array.asList(int[]) should be accepted |
| 2037 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87171">87171</a> |
| 2038 | Find declaring node doesn't work for methods/fields using type parameters |
| 2039 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86908">86908</a> |
| 2040 | Code formatter fails to format when this code is present |
| 2041 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86967">86967</a> |
| 2042 | [1.5][dom] NPE in BindingKeyResolver for multi-level parameterized type binding |
| 2043 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86898">86898</a> |
| 2044 | [1.5][compiler] compiler should flag unchecked cast |
| 2045 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87267">87267</a> |
| 2046 | [1.5][compiler] cast from Integer[] to int[] should fail |
| 2047 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82830">82830</a> |
| 2048 | AST: String concatenation represented as single node |
| 2049 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83393">83393</a> |
| 2050 | [1.5][javadoc] reference to vararg method also considers non-array type as correct |
| 2051 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83285">83285</a> |
| 2052 | [javadoc] Javadoc reference to constructor of secondary type has no binding / not found by search |
| 2053 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=87042">87042</a> |
| 2054 | Passing null as first vararg makes parameter null (3.1M4) |
| 2055 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86906">86906</a> |
| 2056 | [1.5][dom] SourceType#createField fails for enums |
| 2057 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86878">86878</a> |
| 2058 | Parameterized varargs causes Java formatter to fail |
| 2059 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80221">80221</a> |
| 2060 | [dom][javadoc] No Javadoc comment node when return type missing |
| 2061 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86901">86901</a> |
| 2062 | [1.5][search] Static import method references not found in unused import |
| 2063 | |
| 2064 | <a name="v_539"></a> |
| 2065 | <p><hr><h1> |
| 2066 | Eclipse Platform Build Notes <br> |
| 2067 | Java development tools core</h1> |
| 2068 | Eclipse SDK 3.1M6 - 1st March 2005 |
| 2069 | <br>Project org.eclipse.jdt.core v_539 |
| 2070 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_539">cvs</a>). |
| 2071 | <h2> |
| 2072 | What's new in this drop</h2> |
| 2073 | <ul> |
| 2074 | <li>Fix for <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83319">bug 83319</a> required the index version to be incremented. |
| 2075 | Indexes will be automatically regenerated upon subsequent search queries (accounting for indexing notification in search progress dialogs). |
| 2076 | </li> |
| 2077 | <li>Added optional compiler diagnosis to flag incomplete enum switch statements. |
| 2078 | Corresponding problem ID is: <code>IProblem.MissingEnumConstantCase</code> |
| 2079 | <pre> |
| 2080 | * COMPILER / Reporting Incomplete Enum Switch |
| 2081 | * When enabled, the compiler will issue an error or a warning whenever an enum constant has |
| 2082 | * no corresponding case label in an enum switch statement |
| 2083 | * type has no case label matching an enum constant. |
| 2084 | * - option id: "org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch" |
| 2085 | * - possible values: { "error", "warning", "ignore" } |
| 2086 | * - default: "ignore" |
| 2087 | </pre> |
| 2088 | </li> |
| 2089 | <li>Added API <code>org.eclipse.jdt.core.dom.CompilationUnit#getJavaElement()</code> to retrieve the compilation unit |
| 2090 | or class file the compilation unit node was created from. |
| 2091 | </li> |
| 2092 | <li>Added API <code>IMethodBinding#isSubsignature(IMethodBinding)</code> to find out if a method's signature |
| 2093 | is a subsignature of another method. |
| 2094 | </li> |
| 2095 | <li>Added optional compiler diagnosis to flag method overriding a superclass method, but missing |
| 2096 | proper <code>@Override</code> annotation. |
| 2097 | Corresponding problem ID is: <code>IProblem.MissingOverrideAnnotation</code> |
| 2098 | |
| 2099 | <pre> |
| 2100 | * COMPILER / Reporting Missing @Override Annotation |
| 2101 | * When enabled, the compiler will issue an error or a warning whenever encountering a method |
| 2102 | * declaration which overrides a superclass method but has no @Override annotation. |
| 2103 | * - option id: "org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation" |
| 2104 | * - possible values: { "error", "warning", "ignore" } |
| 2105 | * - default: "ignore" |
| 2106 | </pre> |
| 2107 | </li> |
| 2108 | <li>New CodeAssist feature: Enum constant are proposed inside switch label if the expression is an enum. |
| 2109 | <pre> |
| 2110 | Colors c; |
| 2111 | swith(c) { |
| 2112 | case BLUE: |
| 2113 | case RED<complete here> |
| 2114 | } |
| 2115 | </pre> |
| 2116 | </li> |
| 2117 | <li>New CodeAssist feature: Annotation's attribute name are proposed. |
| 2118 | <pre> |
| 2119 | @Annot(attr<complete here>=value) |
| 2120 | </pre> |
| 2121 | To propose this new completion kind a new API has been added: CompletionProposal.ANNOTATION_ATTRIBUTE_REF.<br> |
| 2122 | <pre> |
| 2123 | /** |
| 2124 | * Completion is a reference to annotation's attribute. |
| 2125 | * This kind of completion might occur in a context like |
| 2126 | * <code>"@Annot(attr^=value)"</code> and complete it to |
| 2127 | * <code>"@Annot(attribute^=value)"</code>. |
| 2128 | * <p> |
| 2129 | * The following additional context information is available |
| 2130 | * for this kind of completion proposal at little extra cost: |
| 2131 | * <ul> |
| 2132 | * <li>{@link #getDeclarationSignature()} - |
| 2133 | * the type signature of the annotation that declares the attribute that is referenced |
| 2134 | * </li> |
| 2135 | * <li>{@link #getFlags()} - |
| 2136 | * the modifiers flags of the attribute that is referenced |
| 2137 | * </li> |
| 2138 | * <li>{@link #getName()} - |
| 2139 | * the simple name of the attribute that is referenced |
| 2140 | * </li> |
| 2141 | * <li>{@link #getSignature()} - |
| 2142 | * the type signature of the attribute's type (as opposed to the |
| 2143 | * signature of the type in which the referenced attribute |
| 2144 | * is declared) |
| 2145 | * </li> |
| 2146 | * </ul> |
| 2147 | * </p> |
| 2148 | * |
| 2149 | * @see #getKind() |
| 2150 | */ |
| 2151 | public static final int ANNOTATION_ATTRIBUTE_REF = 13; |
| 2152 | </pre> |
| 2153 | </li> |
| 2154 | </ul> |
| 2155 | |
| 2156 | <h3>Problem Reports Fixed</h3> |
| 2157 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83319">83319</a> |
| 2158 | [1.5][search] Search does not find references to statically imported methods |
| 2159 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86838">86838</a> |
| 2160 | [1.5] [compiler] Eclipse compiles parameterized code that javac says is "is not within its bound" |
| 2161 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84121">84121</a> |
| 2162 | [1.5][search][varargs] reference to type reported as inaccurate in vararg |
| 2163 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83388">83388</a> |
| 2164 | [search] SearchRequestor reports 'null' as match |
| 2165 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86775">86775</a> |
| 2166 | [1.5][compiler] Infer Generic Types Arguments throws NPE |
| 2167 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86596">86596</a> |
| 2168 | [search] Search for type finds segments in import |
| 2169 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79378">79378</a> |
| 2170 | [search] IOOBE when inlining a method |
| 2171 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68825">68825</a> |
| 2172 | [compiler][1.5] detect not-exhaustive enum switches |
| 2173 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81377">81377</a> |
| 2174 | [1.5][search] Semantics of search for methods with generics |
| 2175 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84944">84944</a> |
| 2176 | [1.5][builder] Parameterized return type is sometimes not visible. |
| 2177 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83770">83770</a> |
| 2178 | [1.5] ITypeBinding getQualifiedName doesn't cover the case of parameterized member type |
| 2179 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84140">84140</a> |
| 2180 | The type binding of a vararg should be an array not a simple type |
| 2181 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83100">83100</a> |
| 2182 | [5.0] need IVariableBinding.isGeneric/Parametrized, getGeneric.. |
| 2183 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86663">86663</a> |
| 2184 | [DOM] AbortCompilation should not abort the creation of the tree |
| 2185 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86463">86463</a> |
| 2186 | [1.5][compiler] Compiler-Bug using generics |
| 2187 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86611">86611</a> |
| 2188 | [1.4] 1.5 power double causes compiler internal failure |
| 2189 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86531">86531</a> |
| 2190 | Javadoc: class AST has several parameterless methods claiming to throw IllegalArgumentException |
| 2191 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86217">86217</a> |
| 2192 | NPE resolving bounds of Type Variable |
| 2193 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84554">84554</a> |
| 2194 | [1.5] code assist in enum switch statements |
| 2195 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75702">75702</a> |
| 2196 | [dom] Need a way to get back from an AST to the originating ICompilationUnit |
| 2197 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86410">86410</a> |
| 2198 | formatting generics type parameters |
| 2199 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86487">86487</a> |
| 2200 | [1.5] infinite loop in enhanced for statement when the current element is optimized out |
| 2201 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73676">73676</a> |
| 2202 | [dom] Need API on bindings for overriding and assignment rules |
| 2203 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72258">72258</a> |
| 2204 | [model] Should be able to dynamicaly set the size of Java model cache |
| 2205 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84562">84562</a> |
| 2206 | [DCR][1.5][options] Optional warning/error to avoid accidental overrides with JDK 5.0 |
| 2207 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85538">85538</a> |
| 2208 | [1.5] compiler does not reject cyclic annotation element types |
| 2209 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86141">86141</a> |
| 2210 | [recovery] ClassCastException with annotation of parameter |
| 2211 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86179">86179</a> |
| 2212 | [1.5] Type parameters lost with nested inheritance and generics |
| 2213 | |
| 2214 | <a name="v_538"></a> |
| 2215 | <p><hr><h1> |
| 2216 | Eclipse Platform Build Notes <br> |
| 2217 | Java development tools core</h1> |
| 2218 | Eclipse SDK 3.1M6 - 22nd February 2005 |
| 2219 | <br>Project org.eclipse.jdt.core v_538 |
| 2220 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_538">cvs</a>). |
| 2221 | <h2> |
| 2222 | What's new in this drop</h2> |
| 2223 | <ul> |
| 2224 | <li>Inclusion/exclusion filters used as import restrictions have been renamed into 'accessible files' and 'non accessible files' patterns. |
| 2225 | The following APIs have been added on <code>IClasspathEntry</code>: <code>getAccessibleFiles()</code> and <code>getNonAccessibleFiles()</code>. |
| 2226 | These are valid only for library, project, container and variable entries. <code>getInclusionPatterns()</code> and <code>getExclusionPatterns()</code> |
| 2227 | temporary return the accessible files and non accessible files patterns for these entries. |
| 2228 | </li> |
| 2229 | <li>Added ability to associate classpath attributes to a classpath entry (see <code>IClasspathAttribute</code>). A classpath attribute |
| 2230 | is created using <code>JavaCore#newClasspathAttribute(String, String)</code>. Then one can associate this attribute with |
| 2231 | a classpath entry using one of: |
| 2232 | <ul> |
| 2233 | <li><code>JavaCore#newContainerEntry(IPath containerPath, IPath[] accessibleFiles, IPath[] nonAccessibleFiles, IClasspathAttribute[] extraAttributes, boolean isExported)</code></li> |
| 2234 | <li><code>JavaCore#newLibraryEntry(IPath path, IPath sourceAttachmentPath, IPath sourceAttachmentRootPath, IPath[] accessibleFiles, IPath[] nonAccessibleFiles, IClasspathAttribute[] extraAttributes, boolean isExported)</code></li> |
| 2235 | <li><code>JavaCore#newProjectEntry(IPath path, IPath[] accessibleFiles, IPath[] nonAccessibleFiles, IClasspathAttribute[] extraAttributes, boolean isExported)</code></li> |
| 2236 | <li><code>JavaCore#newSourceEntry(IPath path, IPath[] inclusionPatterns, IPath[] exclusionPatterns, IPath specificOutputLocation, IClasspathAttribute[] extraAttributes)</code></li> |
| 2237 | <li><code>JavaCore#newVariableEntry(IPath variablePath, IPath variableSourceAttachmentPath, IPath variableSourceAttachmentRootPath, IPath[] accessibleFiles, IPath[] nonAccessibleFiles, IClasspathAttribute[] extraAttributes, boolean isExported)</code></li> |
| 2238 | </ul> |
| 2239 | </li> |
| 2240 | <li>Added optional compiler diagnosis when a type parameter declaration is hiding another type. |
| 2241 | Corresponding problem ID is: <code>IProblem.TypeParameterHidingType</code> |
| 2242 | <pre> |
| 2243 | * COMPILER / Reporting Type Parameter Declaration Hiding another Type |
| 2244 | * When enabled, the compiler will issue an error or a warning whenever a type parameter |
| 2245 | * declaration is hiding some type. |
| 2246 | * - option id: "org.eclipse.jdt.core.compiler.problem.typeParameterHiding" |
| 2247 | * - possible values: { "error", "warning", "ignore" } |
| 2248 | * - default: "warning" |
| 2249 | </pre> |
| 2250 | </li> |
| 2251 | <li>The predicates <code>isInterface()</code> on Java element and DOM AST are now answering <code>true</code> |
| 2252 | for annotation types. Indeed, annotation types are allowed to be implemented just like regular interfaces. |
| 2253 | </li> |
| 2254 | <li>Added optional compiler diagnosis signalling usage of an annotation type as a super interface. |
| 2255 | Corresponding problem ID is: <code>IProblem.AnnotationTypeUsedAsSuperInterface</code> |
| 2256 | <pre> |
| 2257 | * COMPILER / Reporting Use of Annotation Type as Super Interface |
| 2258 | * When enabled, the compiler will issue an error or a warning whenever an annotation type is used |
| 2259 | * as a super-interface. Though legal, this is discouraged. |
| 2260 | * - option id: "org.eclipse.jdt.core.compiler.problem.annotationSuperInterface" |
| 2261 | * - possible values: { "error", "warning", "ignore" } |
| 2262 | * - default: "warning" |
| 2263 | </pre> |
| 2264 | </li> |
| 2265 | </ul> |
| 2266 | |
| 2267 | <h3>Problem Reports Fixed</h3> |
| 2268 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72704">72704</a> |
| 2269 | [compiler][1.5] unexpected IBindings and class files with conflicting method argument types |
| 2270 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85397">85397</a> |
| 2271 | [1.5][enum] erroneous strictfp keyword on enum type produces error on constructor |
| 2272 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83321">83321</a> |
| 2273 | [1.5][assist][enum] no override completion proposals in type when followed by a package visible enum |
| 2274 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85402">85402</a> |
| 2275 | [1.5][assist] NPE while trying to complete on empty annotation |
| 2276 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85290">85290</a> |
| 2277 | [1.5] Code assist for annotations |
| 2278 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85810">85810</a> |
| 2279 | [1.5][search] Missed type parameter reference in implements clause |
| 2280 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85421">85421</a> |
| 2281 | [1.5][search] NPE while searching type parameter reference in workspace |
| 2282 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85432">85432</a> |
| 2283 | Make jdtcore.jar an executable jar |
| 2284 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85933">85933</a> |
| 2285 | Type parameters in anonymous type is missing |
| 2286 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82429">82429</a> |
| 2287 | [1.5] Need emulation of Unicode 4 using 1.4 libraries |
| 2288 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85062">85062</a> |
| 2289 | [compiler] Implicit static method invocation should target the receiver type not the declaring class |
| 2290 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84355">84355</a> |
| 2291 | [1.5] Generics bounds overzealous when converting to Object |
| 2292 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85477">85477</a> |
| 2293 | [1.5] certain unchecked conversion not reported |
| 2294 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85303">85303</a> |
| 2295 | [1.5] wrong declaring class for invokevirtual call |
| 2296 | |
| 2297 | |
| 2298 | <a name="v_537"></a> |
| 2299 | <p><hr><h1> |
| 2300 | Eclipse Platform Build Notes <br> |
| 2301 | Java development tools core</h1> |
| 2302 | Eclipse SDK 3.1M5 - 15th February 2005 - 3.1 MILESTONE 5 |
| 2303 | <br>Project org.eclipse.jdt.core v_537 |
| 2304 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_537">cvs</a>). |
| 2305 | <h2> |
| 2306 | What's new in this drop</h2> |
| 2307 | <ul> |
| 2308 | </ul> |
| 2309 | |
| 2310 | <h3>Problem Reports Fixed</h3> |
| 2311 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85203">85203</a> |
| 2312 | VerifyError running o.e.pdu.ui from workspace |
| 2313 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85160">85160</a> |
| 2314 | [compiler] java.lang.Object.finalize() method cannot be invoked on an array type |
| 2315 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85157">85157</a> |
| 2316 | [compiler] Integer[] is not compatible with String[] in conditional expression |
| 2317 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85215">85215</a> |
| 2318 | [DOM][1.5] Annotation type getModifiers() always returns 0 |
| 2319 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85115">85115</a> |
| 2320 | [1.5] AST annotation.isTopLevel() doesn't work |
| 2321 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84724">84724</a> |
| 2322 | [5.0][search] fails to find call sites for varargs constructors |
| 2323 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=85125">85125</a> |
| 2324 | When bracket is placed after MethodDeclarator, build fails. |
| 2325 | |
| 2326 | <a name="v_536"></a> |
| 2327 | <p><hr><h1> |
| 2328 | Eclipse Platform Build Notes <br> |
| 2329 | Java development tools core</h1> |
| 2330 | Eclipse SDK 3.1M5 - 14th February 2005 |
| 2331 | <br>Project org.eclipse.jdt.core v_536 |
| 2332 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_536">cvs</a>). |
| 2333 | <h2> |
| 2334 | What's new in this drop</h2> |
| 2335 | <ul> |
| 2336 | </ul> |
| 2337 | |
| 2338 | <h3>Problem Reports Fixed</h3> |
| 2339 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78906">78906</a> |
| 2340 | [1.5][compiler] this$0 is not allowed as a field in a member class |
| 2341 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79396">79396</a> |
| 2342 | [compiler] Static receiver for a static method invocation should be generated to cover side-effects |
| 2343 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84801">84801</a> |
| 2344 | Bad code generated for Java 5.0 |
| 2345 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83902">83902</a> |
| 2346 | [1.5] AbstractMethodError when using covariant returns |
| 2347 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83901">83901</a> |
| 2348 | [1.5] AbstractMethodError: Compiler fails to catch missing methods of implemented interface |
| 2349 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82461">82461</a> |
| 2350 | [5.0] Unconventional formatting of annotations in ASTRewrite |
| 2351 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81244">81244</a> |
| 2352 | error range for generic vararg argument |
| 2353 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84743">84743</a> |
| 2354 | [1.5][compiler] Cast between two interfaces doesn't need to check compatibility of method return types |
| 2355 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84869">84869</a> |
| 2356 | Missing constant for "org.eclipse.jdt.core.compiler.problem.autoboxing" |
| 2357 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84770">84770</a> |
| 2358 | Formatter fails in specific case (.class in code) |
| 2359 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84778">84778</a> |
| 2360 | NaiveASTFlattener should add spaces around extendedOperands in InfixExpression |
| 2361 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84791">84791</a> |
| 2362 | [1.5][compiler] eclipse doesn't allow types to be derived from annotation types |
| 2363 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83600">83600</a> |
| 2364 | [code assist] METHOD_REF proposals have non-standard signatures |
| 2365 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80630">80630</a> |
| 2366 | [1.5] Conditional expression unboxing should handle this case |
| 2367 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84717">84717</a> |
| 2368 | Typo in javadoc of Signature.C_GENERIC_END |
| 2369 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84528">84528</a> |
| 2370 | Not visiting line comments in compilation unit? |
| 2371 | |
| 2372 | <a name="v_535"></a> |
| 2373 | <p><hr><h1> |
| 2374 | Eclipse Platform Build Notes <br> |
| 2375 | Java development tools core</h1> |
| 2376 | Eclipse SDK 3.1M5 - 8th February 2005 |
| 2377 | <br>Project org.eclipse.jdt.core v_535 |
| 2378 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_535">cvs</a>). |
| 2379 | <h2> |
| 2380 | What's new in this drop</h2> |
| 2381 | <ul> |
| 2382 | <li> Tuned generic method type argument inference (JLS 15.12.2.7&8). |
| 2383 | </li> |
| 2384 | <li> Optional diagnosis for assignment with no effect now also detects: "var = var++;" scenario. |
| 2385 | <li>Added APIs <code>IType#getKey()</code>, <code>IField#getKey()</code>, <code>IMethod#getKey()</code> |
| 2386 | that return a binding key for these Java elements. |
| 2387 | </li> |
| 2388 | <li>Added APIs <code>IType#isResolved()</code>, <code>IField#isResolved()</code>, |
| 2389 | <code>IMethod#isResolved()</code> that return whether these Java elements are resolved elements |
| 2390 | and thus whether their key (see above) contains resolved information. |
| 2391 | </li> |
| 2392 | <li>Added API class <code>org.eclipse.jdt.core.BindingKey</code> to decode a binding key |
| 2393 | obtained from <code>IBinding#getKey()</code> or one of the <code>getKey()</code> methods above. |
| 2394 | </li> |
| 2395 | </ul> |
| 2396 | |
| 2397 | <h3>Problem Reports Fixed</h3> |
| 2398 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84717">84717</a> |
| 2399 | Typo in javadoc of Signature.C_GENERIC_START |
| 2400 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84669">84669</a> |
| 2401 | [5.0] VerifyError: Expecting to find object/array on stack |
| 2402 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84593">84593</a> |
| 2403 | [1.5][compiler] NPE during problem detection with raw reference to parameterized inner class |
| 2404 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84558">84558</a> |
| 2405 | Strange error message when using keywords "const" and "goto" as variable names |
| 2406 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83648">83648</a> |
| 2407 | [1.5] Enum constructor cannot be public or protected |
| 2408 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83379">83379</a> |
| 2409 | [1.5] compiler does not warn when overriding methods with parameters as array and vararg |
| 2410 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84345">84345</a> |
| 2411 | [1.5][compiler] Widening reference is possible when boxing in a cast expression |
| 2412 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83615">83615</a> |
| 2413 | [1.5][compiler] lenient subclass checking with interdependent type variables |
| 2414 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84480">84480</a> |
| 2415 | Warning for "no effect assignment" j = j++ |
| 2416 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83500">83500</a> |
| 2417 | Can't restore a secondary top level from key |
| 2418 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84416">84416</a> |
| 2419 | Stepping into message send without receiver should highlight message before sending message |
| 2420 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76773">76773</a> |
| 2421 | Stepping through conditional looks like it evaluates both halves |
| 2422 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84504">84504</a> |
| 2423 | [Format] Extra empty line before class in default package when imports are specified |
| 2424 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83383">83383</a> |
| 2425 | IllegalArgumentException in Signature.getParameterCount |
| 2426 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83218">83218</a> |
| 2427 | [1.5] Covariant return type & generics |
| 2428 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83499">83499</a> |
| 2429 | NPE when restoring ITypeBinding from key |
| 2430 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83611">83611</a> |
| 2431 | compiler reports error but there is no error |
| 2432 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84055">84055</a> |
| 2433 | [1.5] Unnecessary cast wrongly reported with boxing |
| 2434 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83965">83965</a> |
| 2435 | [1.5][compiler] Widening conversion is possible when unboxing in a cast expression |
| 2436 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81544">81544</a> |
| 2437 | [dom] java.util.List<URL> sometimes has a binding, sometimes not |
| 2438 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82647">82647</a> |
| 2439 | [compiler][1.5] Erroneous error with autoboxing and conditional operand |
| 2440 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79696">79696</a> |
| 2441 | [dom] Wrong type binding in qualified name |
| 2442 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84215">84215</a> |
| 2443 | ArrayIndexOutOfBoundsException, internal compiler error |
| 2444 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84181">84181</a> |
| 2445 | [1.5] ITypeBinding.isFromSource incorrect on raw bindings |
| 2446 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83376">83376</a> |
| 2447 | [1.5] compiler should error on ambiguous method invocation due to duplicate static imports |
| 2448 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78934">78934</a> |
| 2449 | [1.5][dom] ParameterizedType for nested generic types has missing bindings |
| 2450 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83162">83162</a> |
| 2451 | Eclipse reports no name clash with equivalent bridge methods |
| 2452 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81332">81332</a> |
| 2453 | [1.5][compiler] Is this a name clash? |
| 2454 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80626">80626</a> |
| 2455 | [1.5] enum types cannot define a compareTo(Object o) method |
| 2456 | |
| 2457 | |
| 2458 | <a name="v_534"></a> |
| 2459 | <p><hr><h1> |
| 2460 | Eclipse Platform Build Notes <br> |
| 2461 | Java development tools core</h1> |
| 2462 | Eclipse SDK 3.1M5 - 1st February 2005 |
| 2463 | <br>Project org.eclipse.jdt.core v_534 |
| 2464 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_534">cvs</a>). |
| 2465 | <h2> |
| 2466 | What's new in this drop</h2> |
| 2467 | <ul> |
| 2468 | <li>Add CompletionProposal#getDeclaringKey() and CompletionProposal#getKey() API |
| 2469 | </li> |
| 2470 | </ul> |
| 2471 | |
| 2472 | <h3>Problem Reports Fixed</h3> |
| 2473 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84064">84064</a> |
| 2474 | AST: Wrong source ranges for superconstructorinv with type args |
| 2475 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83939">83939</a> |
| 2476 | [1.5][compiler] null is allowed as a legal element value in annotations |
| 2477 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83817">83817</a> |
| 2478 | IBinding#isEqualTo(..) returns true for methods of different parameterized types |
| 2479 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82349">82349</a> |
| 2480 | [compiler][1.5] Problems deriving from generic class that uses inner classes |
| 2481 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83904">83904</a> |
| 2482 | [compiler][1.5] Y<T> should be uniquely defined in the same signature |
| 2483 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83646">83646</a> |
| 2484 | NPE renaming package |
| 2485 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83398">83398</a> |
| 2486 | [compiler][1.5] compiler allows adding Object to List<? super Number> |
| 2487 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83219">83219</a> |
| 2488 | NPE in ProblemReporter with duplicate abstract enum methods |
| 2489 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83860">83860</a> |
| 2490 | [1.5] java.lang.VerifyError with Enums |
| 2491 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83847">83847</a> |
| 2492 | [compiler][1.5] can create annonymous class of an enum |
| 2493 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83236">83236</a> |
| 2494 | ClassCastException using code assist in a javadoc comment |
| 2495 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83822">83822</a> |
| 2496 | Classes at root of project not found in Open Type dialog |
| 2497 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83593">83593</a> |
| 2498 | Rename of enum type does not update constructor / throws ClassCastException |
| 2499 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83225">83225</a> |
| 2500 | [1.5] incorrect(?) compiler errors with type inference |
| 2501 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83127">83127</a> |
| 2502 | [1.5][javadoc][dom] Wrong / strange bindings for references in javadoc to methods with type variables as parameter types |
| 2503 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80257">80257</a> |
| 2504 | [1.5][javadoc][dom] Type references in javadocs should have generic binding, not raw |
| 2505 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83713">83713</a> |
| 2506 | [search] IAE while searching reference to parameterized type |
| 2507 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83684">83684</a> |
| 2508 | [formatting] Formatting codes like A extends B.C<Object> has no effect. |
| 2509 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83599">83599</a> |
| 2510 | CU dirty after move refactoring |
| 2511 | |
| 2512 | |
| 2513 | <a name="v_533"></a> |
| 2514 | <p><hr><h1> |
| 2515 | Eclipse Platform Build Notes <br> |
| 2516 | Java development tools core</h1> |
| 2517 | Eclipse SDK 3.1M5 - 25th January 2005 |
| 2518 | <br>Project org.eclipse.jdt.core v_533 |
| 2519 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_533">cvs</a>). |
| 2520 | <h2> |
| 2521 | What's new in this drop</h2> |
| 2522 | <ul> |
| 2523 | <li>Search engine is now able to find references and declarations to ITypeParameter.<br> |
| 2524 | To perform this kind of search, clients need to create a pattern using <code>SearchPattern.createPattern(IJavaElement,int,int)</code> |
| 2525 | providing searched ITypeParameter for IJavaElement parameter. |
| 2526 | </li> |
| 2527 | <li><code>TypeParameter#resolveBinding()</code> now returns an <code>ITypeBinding</code> instead of |
| 2528 | an <code>IBinding</code></li> |
| 2529 | <li>Java model operations have been ported off the deprecated JDOM. They now use AST rewrite. This enables |
| 2530 | these operations on local and anonymous types, enumerations and annotation types.</li> |
| 2531 | </ul> |
| 2532 | |
| 2533 | <h3>Problem Reports Fixed</h3> |
| 2534 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83489">83489</a> |
| 2535 | [select] Code select returns IType instead of ITypeParameter on method parameters types |
| 2536 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83536">83536</a> |
| 2537 | "Incompatible argument to function" at vararg function |
| 2538 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83300">83300</a> |
| 2539 | [1.5] ClassCastException in #getJavaElement() on binding of annotation element |
| 2540 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81190">81190</a> |
| 2541 | [1.5][search] no search for type parameters - SearchPattern is null |
| 2542 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82671">82671</a> |
| 2543 | [compiler][1.5]Protected field not visible to subclass in different package when having a class parameter |
| 2544 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83210">83210</a> |
| 2545 | Unidentical ITypeBindings for same type from same AST from reconcile |
| 2546 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80800">80800</a> |
| 2547 | getErasure() of ITypeBinding and IMethodBinding don't match the JLS |
| 2548 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83304">83304</a> |
| 2549 | [1.5][search] Erasure match doesn't work for binary parameterized types |
| 2550 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83078">83078</a> |
| 2551 | Auto formating multiple classes has errors |
| 2552 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=25800">25800</a> |
| 2553 | Class file editor uses non-standard modifier order |
| 2554 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82859">82859</a> |
| 2555 | [1.5] void.class is incompatible with Void.TYPE |
| 2556 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83297">83297</a> |
| 2557 | [1.5] Annotation bindings don't provide their declared elements/methods |
| 2558 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=43483">43483</a> |
| 2559 | [model] Can not add method to local type |
| 2560 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77894">77894</a> |
| 2561 | [model] Remove dependency to old JDOM in JavaModel implementation |
| 2562 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83161">83161</a> |
| 2563 | Can't access public field from private subclass |
| 2564 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78151">78151</a> |
| 2565 | 'Insert single proposals automatically' should not insert without prefix |
| 2566 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83096">83096</a> |
| 2567 | [1.5][compiler] NPE for class with duplicate type parameter |
| 2568 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82547">82547</a> |
| 2569 | [1.5][compiler] NullPointerException compiling invalid source |
| 2570 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83098">83098</a> |
| 2571 | IBinding#isEqualTo(..) does not compare occurrence count of local variables |
| 2572 | |
| 2573 | |
| 2574 | <a name="v_532"></a> |
| 2575 | <p><hr><h1> |
| 2576 | Eclipse Platform Build Notes <br> |
| 2577 | Java development tools core</h1> |
| 2578 | Eclipse SDK 3.1M5 - 18th January 2005 |
| 2579 | <br>Project org.eclipse.jdt.core v_532 |
| 2580 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_532">cvs</a>). |
| 2581 | <h2> |
| 2582 | What's new in this drop</h2> |
| 2583 | <ul> |
| 2584 | <li>Support for generic methods/constructors search has been added to SearchEngine (see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75642">75642</a>).<br> |
| 2585 | User can now search for declaration and/or references to generic methods/constructors or parameterized methods/constructors (like <code>public <U> void foo(U u){}</code> or <code><String>foo("")</code> for example). |
| 2586 | This search can be done either selecting a JavaElement or using Java Search dialog. |
| 2587 | </li> |
| 2588 | <li>Added new API <code>JavaConventions#validateTypeVariableName(String)</code>.</li> |
| 2589 | <li>Added new API <code>JavaCore#newTypeHierarchy(IRegion,WorkingCopyOwner,IProgressMonitor)</code> that creates a hierarchy |
| 2590 | independently of a project.</li> |
| 2591 | </ul> |
| 2592 | |
| 2593 | <h3>Problem Reports Fixed</h3> |
| 2594 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83032">83032</a> |
| 2595 | VerifyError for anonymous declaration using variable arguments |
| 2596 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75642">75642</a> |
| 2597 | [1.5][search] Methods and constructor search does not work with generics |
| 2598 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83013">83013</a> |
| 2599 | [5.0] TypeDeclaration after AnnotationTypeDeclaration has wrong source range |
| 2600 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82985">82985</a> |
| 2601 | Static imports can't resolve bindings |
| 2602 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=83011">83011</a> |
| 2603 | [5.0] TypeName of an Annotation has no binding |
| 2604 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79144">79144</a> |
| 2605 | [1.5][compiler] generic type checking not performed for method return array types |
| 2606 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82844">82844</a> |
| 2607 | [1.5] Array type as type variable bound gives internal compiler error |
| 2608 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81590">81590</a> |
| 2609 | [1.5][compiler] Iteration over nested arrays is broken |
| 2610 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82439">82439</a> |
| 2611 | [compiler] [1.5] internal compiler reports type mismatch |
| 2612 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80945">80945</a> |
| 2613 | [1.5] Code assist does not offer static fields and methods from static imports |
| 2614 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82590">82590</a> |
| 2615 | [compiler] [1.5] internal compiler reports method not implemented |
| 2616 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81721">81721</a> |
| 2617 | [compiler][1.5] Correct use of generic interfaces give compiler error |
| 2618 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82754">82754</a> |
| 2619 | [1.5] too many methods allowed by static import |
| 2620 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80745">80745</a> |
| 2621 | [1.5][compiler] Two interfaces with methods with compatible return types are compatible |
| 2622 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80736">80736</a> |
| 2623 | [1.5] Compiler doesn't check that bounds have methods with same return type |
| 2624 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73535">73535</a> |
| 2625 | [1.5][model] Method to validate type parameter names missing in JavaConventions |
| 2626 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82740">82740</a> |
| 2627 | [assist] NPE inside CompletionEngine with 1.5 code if compliance source level is 1.4 |
| 2628 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80098">80098</a> |
| 2629 | newTypeHierarchy(IRegion,...) should not be constrained to an IJavaProject |
| 2630 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82510">82510</a> |
| 2631 | [compiler] Util.bind(...) methods should use MessageFormat |
| 2632 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81706">81706</a> |
| 2633 | [1.5] Static import of static method produces compile error |
| 2634 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82670">82670</a> |
| 2635 | [5.0] wrong source range for VariableDeclarationFragment with ArrayCreation |
| 2636 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80743">80743</a> |
| 2637 | [compiler] Interface cannot define a method from Object with a different return type |
| 2638 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82616">82616</a> |
| 2639 | CharacterLiteral.charValue fails for '\000' |
| 2640 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77283">77283</a> |
| 2641 | Incremental and full builds produce different problem markers for same duplicate type error |
| 2642 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74394">74394</a> |
| 2643 | [compiler] Provide XML output option for Eclipse compiler |
| 2644 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81719">81719</a> |
| 2645 | [compiler][1.5] Correct use of generic abstract classes give compiler error |
| 2646 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81945">81945</a> |
| 2647 | [compiler] Enum and Duplicate case error |
| 2648 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82542">82542</a> |
| 2649 | Internal error during AST creation |
| 2650 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82558">82558</a> |
| 2651 | [select] Text selection fail on constructor when parameters are parameterized types |
| 2652 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78232">78232</a> |
| 2653 | [1.5][generics]Erroneous warning implementing generic method from interface |
| 2654 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82504">82504</a> |
| 2655 | [compiler][1.5] ClassCastException when parsing a CastExpression between an array type and a type variable |
| 2656 | |
| 2657 | |
| 2658 | <a name="v_531"></a> |
| 2659 | <p><hr><h1> |
| 2660 | Eclipse Platform Build Notes <br> |
| 2661 | Java development tools core</h1> |
| 2662 | Eclipse SDK 3.1M5 - 11th January 2005 |
| 2663 | <br>Project org.eclipse.jdt.core v_531 |
| 2664 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_531">cvs</a>). |
| 2665 | <h2> |
| 2666 | What's new in this drop</h2> |
| 2667 | <ul> |
| 2668 | <li>Added API <code>ASTParser#createBindings(IJavaElement[],IProgressMonitor)</code> to create the DOM bindings for the given |
| 2669 | Java elements.</li> |
| 2670 | <li>Fix for <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82004">bug 82004</a> required the index version to be incremented. |
| 2671 | Indexes will be automatically regenerated upon subsequent search queries (accounting for indexing notification in search progress dialogs). |
| 2672 | </li> |
| 2673 | <li>Merged problem <code>IProblem.UnnecessaryArgumentCast</code> with <code>IProblem.UnnecessaryCast</code> since it provided little additional value, |
| 2674 | and was rather perceived as confusing. From now on, only <code>IProblem.UnnecessaryCast</code> is reported. |
| 2675 | </ul> |
| 2676 | |
| 2677 | <h3>Problem Reports Fixed</h3> |
| 2678 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82514">82514</a> |
| 2679 | [1.5][javadoc] Problem with generics in javadoc |
| 2680 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82382">82382</a> |
| 2681 | IMethodBinding#getJavaElement() for method m(T t) in parameterized type Gen<T> is null |
| 2682 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81923">81923</a> |
| 2683 | In certain cases generics seens to be applied before autoboxing |
| 2684 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82250">82250</a> |
| 2685 | [5.0] don't allow duplicate interface bounds |
| 2686 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82432">82432</a> |
| 2687 | [1.5] VerifyError with Autoboxing |
| 2688 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82187">82187</a> |
| 2689 | [compiler] [1.5] internal compiler reports bound mismatch |
| 2690 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82159">82159</a> |
| 2691 | [compiler][1.5] Eclipse vs. javac: Differences when creating generic inner types |
| 2692 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81535">81535</a> |
| 2693 | [compiler] compliance 1.5 should work with source 1.4 on 1.5 libraries |
| 2694 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82137">82137</a> |
| 2695 | [select] Code resolve doesn't work on static imports [5.0] |
| 2696 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82102">82102</a> |
| 2697 | Should not compile related methods with different signatures but same erasures |
| 2698 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76761">76761</a> |
| 2699 | [model] ImportContainer.hasChildren() should not return true |
| 2700 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79334">79334</a> |
| 2701 | [classpath] Build path info not updated properly |
| 2702 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82217">82217</a> |
| 2703 | [compiler][5.0] switch on enum allows non enum constants |
| 2704 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73081">73081</a> |
| 2705 | Inconsistant type cast warning. |
| 2706 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81856">81856</a> |
| 2707 | quote problems in property files (JDT) |
| 2708 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68823">68823</a> |
| 2709 | [dom] Ctrl+C command fails when "assert" is enabled |
| 2710 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81824">81824</a> |
| 2711 | A generic interface is allowed to be implemented more than once - contrary to Java language specification |
| 2712 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81571">81571</a> |
| 2713 | Autoboxing ambiguousy |
| 2714 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81568">81568</a> |
| 2715 | [1.5][compiler] Covariant return types fails when an interface extends another interface |
| 2716 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82216">82216</a> |
| 2717 | IVariableBinding: Need to know if it is enum constant or normal var |
| 2718 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78520">78520</a> |
| 2719 | [model] IType#getSuperInterfaceTypeSignatures() doesn't include type arguments |
| 2720 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82253">82253</a> |
| 2721 | [5.0] Signature#getSimpleName(String) inserts superfluous whitespace characters |
| 2722 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78698">78698</a> |
| 2723 | [format] Space before ? should default to false |
| 2724 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81063">81063</a> |
| 2725 | [model] Clarify the problem requestor paramter in becomeWorkingCopy |
| 2726 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82004">82004</a> |
| 2727 | [model][5.0] 3.1M4 type hierarchy for generic interface |
| 2728 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82141">82141</a> |
| 2729 | AST: Missing Bindings on annotations |
| 2730 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82140">82140</a> |
| 2731 | AST: Annotation node not in AST |
| 2732 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82136">82136</a> |
| 2733 | Interface with own Annotations not accessible when used as a library |
| 2734 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81727">81727</a> |
| 2735 | [1.5] Redundant warning of parameterized return type |
| 2736 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81762">81762</a> |
| 2737 | [model] AIOOB in breakpoints view |
| 2738 | |
| 2739 | <a name="v_530"></a> |
| 2740 | <p><hr><h1> |
| 2741 | Eclipse Platform Build Notes <br> |
| 2742 | Java development tools core</h1> |
| 2743 | Eclipse SDK 3.1M5 - 4th January 2005 |
| 2744 | <br>Project org.eclipse.jdt.core v_530 |
| 2745 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_530">cvs</a>). |
| 2746 | <h2> |
| 2747 | What's new in this drop</h2> |
| 2748 | <ul> |
| 2749 | <li> Added optional compiler diagnosis reporting when boxing/unboxing conversion is performed. Corresponding problem IDs are: |
| 2750 | <code>IProblem.BoxingConversion</code> and <code>IProblem.UnboxingConversion</code>. |
| 2751 | <pre> |
| 2752 | * COMPILER / Reporting Boxing/Unboxing Conversion |
| 2753 | * When enabled, the compiler will issue an error or a warning whenever a boxing or an unboxing |
| 2754 | * conversion is performed. |
| 2755 | * - option id: "org.eclipse.jdt.core.compiler.problem.autoboxing" |
| 2756 | * - possible values: { "error", "warning", "ignore" } |
| 2757 | * - default: "ignore" |
| 2758 | </pre> |
| 2759 | </li> |
| 2760 | <li> Renamed unsafe type operation optional problem into unchecked type operation, to better match notion of |
| 2761 | "unchecked" warning from JLS 3rd edition. |
| 2762 | <pre> |
| 2763 | * COMPILER / Reporting Unchecked Type Operation |
| 2764 | * When enabled, the compiler will issue an error or a warning whenever an operation involves generic types, and potentially |
| 2765 | * invalidates type safety since involving raw types (e.g. invoking #foo(X<String>) with arguments (X)). |
| 2766 | * - option id: "org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation" |
| 2767 | * - possible values: { "error", "warning", "ignore" } |
| 2768 | * - default: "warning" |
| 2769 | </pre> |
| 2770 | </li> |
| 2771 | </ul> |
| 2772 | |
| 2773 | <h3>Problem Reports Fixed</h3> |
| 2774 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81556">81556</a> |
| 2775 | [search] correct results are missing in java search |
| 2776 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81825">81825</a> |
| 2777 | [1.5][compiler] Internal compiler error |
| 2778 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=71195">71195</a> |
| 2779 | [model] NullPointerException @ org.eclipse.jdt.internal.core.Buffer.removeBufferChangedListener |
| 2780 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79883">79883</a> |
| 2781 | [prefs] -pluginCustomization doesn't pick up compiler preferences |
| 2782 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81718">81718</a> |
| 2783 | [1.5] "Static import never used" warning disappears when variable of same name is declared |
| 2784 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81971">81971</a> |
| 2785 | [1.5][compiler] compiler allows use of void type as method arguments |
| 2786 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82053">82053</a> |
| 2787 | generic semantics have some problems |
| 2788 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=82088">82088</a> |
| 2789 | [search][javadoc] Method parameter types references not found in @see/@link tags |
| 2790 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79766">79766</a> |
| 2791 | [model] NPE in CancelableNameEnvironment |
| 2792 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81417">81417</a> |
| 2793 | [dom] getJavaElement() throws a NPE for WildcardBinding |
| 2794 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81724">81724</a> |
| 2795 | [1.5] NullPointerException in FieldBinding.canBeSeenBy when using static import |
| 2796 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80223">80223</a> |
| 2797 | [search] Declaration search doesn't consider visibility to determine overriding methods |
| 2798 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81084">81084</a> |
| 2799 | [1.5][search]Rename field fails on field based on parameterized type with member type parameter |
| 2800 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80890">80890</a> |
| 2801 | [search] Strange search engine behaviour |
| 2802 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81376">81376</a> |
| 2803 | [search] Clarify effects of R_ERASURE_MATCH for searches other than TYPE |
| 2804 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81618">81618</a> |
| 2805 | [1.5][compiler] unsafe type operation warning |
| 2806 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78122">78122</a> |
| 2807 | [compiler] Detect and visually indicate auto-boxing in Jdk1.5 code |
| 2808 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78592">78592</a> |
| 2809 | [1.5][compiler] missing unchecked cast warning |
| 2810 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78591">78591</a> |
| 2811 | [1.5][compiler] missing unchecked cast warning |
| 2812 | |
| 2813 | |
| 2814 | <a name="v_529"></a> |
| 2815 | <p><hr><h1> |
| 2816 | Eclipse Platform Build Notes <br> |
| 2817 | Java development tools core</h1> |
| 2818 | Eclipse SDK 3.1M4 - 16th December 2004 - 3.1 MILESTONE 4 |
| 2819 | <br>Project org.eclipse.jdt.core v_529 |
| 2820 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_529">cvs</a>). |
| 2821 | <h2> |
| 2822 | What's new in this drop</h2> |
| 2823 | <ul> |
| 2824 | </ul> |
| 2825 | |
| 2826 | <h3>Problem Reports Fixed</h3> |
| 2827 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81258">81258</a> |
| 2828 | IMethodBinding#getJavaElement() is null with inferred method parameterization |
| 2829 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80765">80765</a> |
| 2830 | [1.5][generics] Invalid class files generated, compiler strange behaviour |
| 2831 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81317">81317</a> |
| 2832 | ClasspathTests.java and GenericTypeTest.java could not be read (illegal characters) |
| 2833 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81262">81262</a> |
| 2834 | [Java 5] Verification error when creating anonymous enum subtypes |
| 2835 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80964">80964</a> |
| 2836 | [1.5] Annotations with RetentionPolicy.RUNTIME are lost after a rebuild |
| 2837 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80028">80028</a> |
| 2838 | Ambiguous method error where javac succeeds |
| 2839 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80739">80739</a> |
| 2840 | [1.5] Two methods ends up with the same signatures |
| 2841 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81134">81134</a> |
| 2842 | [dom] [5.0] NPE when creating AST |
| 2843 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81023">81023</a> |
| 2844 | [1.5] Wrong position for class instance creation with type parameters |
| 2845 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=81141">81141</a> |
| 2846 | CCE in ProblemBinding when using annotations |
| 2847 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80544">80544</a> |
| 2848 | [1.5][annot]error on @Override of abstract methods |
| 2849 | |
| 2850 | |
| 2851 | <a name="v_528"></a> |
| 2852 | <p><hr><h1> |
| 2853 | Eclipse Platform Build Notes <br> |
| 2854 | Java development tools core</h1> |
| 2855 | Eclipse SDK 3.1M4 - 14th December 2004 |
| 2856 | <br>Project org.eclipse.jdt.core v_528 |
| 2857 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_528">cvs</a>). |
| 2858 | <h2> |
| 2859 | What's new in this drop</h2> |
| 2860 | <ul> |
| 2861 | </ul> |
| 2862 | |
| 2863 | <h3>Problem Reports Fixed</h3> |
| 2864 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80957">80957</a> |
| 2865 | NPE using code assist for unresolved type |
| 2866 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80960">80960</a> |
| 2867 | [dom] NPE in ASTConverter#convert(...) |
| 2868 | |
| 2869 | <a name="v_527"></a> |
| 2870 | <p><hr><h1> |
| 2871 | Eclipse Platform Build Notes <br> |
| 2872 | Java development tools core</h1> |
| 2873 | Eclipse SDK 3.1M4 - 14th December 2004 |
| 2874 | <br>Project org.eclipse.jdt.core v_527 |
| 2875 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_527">cvs</a>). |
| 2876 | <h2> |
| 2877 | What's new in this drop</h2> |
| 2878 | <ul> |
| 2879 | </ul> |
| 2880 | |
| 2881 | <h3>Problem Reports Fixed</h3> |
| 2882 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80918">80918</a> |
| 2883 | [1.5][search] ClassCastException when searching for references to binary type |
| 2884 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80914">80914</a> |
| 2885 | [1.5][search] SearchPattern R_EQUIVALENT_MATCH matchRule does not work properly |
| 2886 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80910">80910</a> |
| 2887 | [javadoc] Invalid missing reference warning on @see or @link tags |
| 2888 | |
| 2889 | <a name="v_526"></a> |
| 2890 | <p><hr><h1> |
| 2891 | Eclipse Platform Build Notes <br> |
| 2892 | Java development tools core</h1> |
| 2893 | Eclipse SDK 3.1M4 - 13th December 2004 |
| 2894 | <br>Project org.eclipse.jdt.core v_526 |
| 2895 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_526">cvs</a>). |
| 2896 | <h2> |
| 2897 | What's new in this drop</h2> |
| 2898 | <ul> |
| 2899 | <li> |
| 2900 | Initial support for search on annotations has been implemented. Declarations or references to annotation types are now found by search engine.<br> |
| 2901 | However, it is not currently able to find annotation member (fields or methods). This should be done for next milestone. |
| 2902 | </li> |
| 2903 | <li> |
| 2904 | SearchPattern now accept two new flags for match rule: R_ERASURE_MATCH and R_EQUIVALENT_MATCH (see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79790">79790</a>).<br> |
| 2905 | <pre> |
| 2906 | /** |
| 2907 | * Match rule: The search pattern matches search results as raw types or parameterized types with same erasure. |
| 2908 | * Example: |
| 2909 | * - pattern: List<Exception> |
| 2910 | * - match: List<Object> |
| 2911 | * Can be combined to all other match rules, e.g. {@link #R_CASE_SENSITIVE} | {@link #R_ERASURE_MATCH} |
| 2912 | * This rule is not activated by default, so raw types or parameterized types with same erasure will not be found |
| 2913 | * for pattern List<String>, |
| 2914 | * Note that with this pattern, the match selection will be only on the erasure even for parameterized types. |
| 2915 | * @since 3.1 |
| 2916 | */ |
| 2917 | public static final int R_ERASURE_MATCH = 16; |
| 2918 | /** |
| 2919 | * Match rule: The search pattern matches search results as raw types or parameterized types with equivalent type parameters. |
| 2920 | * Example: |
| 2921 | * - pattern: List<Exception> |
| 2922 | * - match: |
| 2923 | * + List<? extends Throwable> |
| 2924 | * + List<? super RuntimeException> |
| 2925 | * + List<?> |
| 2926 | * Can be combined to all other match rules, e.g. {@link #R_CASE_SENSITIVE} | {@link #R_EQUIVALENT_MATCH} |
| 2927 | * This rule is not activated by default, so raw types or equivalent parameterized types will not be found |
| 2928 | * for pattern List<String>, |
| 2929 | * This mode is overridden by {@link #R_ERASURE_MATCH} as erasure matches obviously include equivalent ones. |
| 2930 | * That means that pattern with rule set to {@link #R_EQUIVALENT_MATCH} | {@link #R_ERASURE_MATCH} |
| 2931 | * will return same results than rule only set with {@link #R_ERASURE_MATCH}. |
| 2932 | * @since 3.1 |
| 2933 | */ |
| 2934 | public static final int R_EQUIVALENT_MATCH = 32; |
| 2935 | </pre> |
| 2936 | Added new API method to make this flag settable even while creating pattern using a IJavaElement: |
| 2937 | <ul> |
| 2938 | <li><code>SearchPattern#createPattern(IJavaElement element, int limitTo, int matchRule)</code></li> |
| 2939 | </ul> |
| 2940 | </li> |
| 2941 | <li> |
| 2942 | SearchMatch now has a rule field which shows the rule used while reporting the match (initial implementation for bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79866">79866</a>).<br> |
| 2943 | Added new API methods to access this field: |
| 2944 | <ul> |
| 2945 | <li><code>SearchMatch#getRule()</code><br></li> |
| 2946 | <li><code>SearchMatch#setRule(int)</code></li> |
| 2947 | </ul> |
| 2948 | </li> |
| 2949 | <li>Added API IType#getFullyQualifiedParameterizedName() that shows the type parameter/arguments if the type is generic/parameterized.</li> |
| 2950 | <li>Added support in Java model for annotation types and annotations.</li> |
| 2951 | <li>Support for indexing annotation types required the index version to be incremented. |
| 2952 | Indexes will be automatically regenerated upon subsequent search queries (accounting for indexing notification in search progress dialogs).</li> |
| 2953 | <li>Added compiler support for autoboxing </li> |
| 2954 | <li>Code Assist now works for annotations. When performing a completion inside an annotation name, |
| 2955 | proposals are possibles types and annotations types are more relevant than other types</li> |
| 2956 | <li>Code Select now works for annotations and annotation methods in correct code.</li> |
| 2957 | <li>Recovery now works for annotation type declaration and annotation method declaration</li> |
| 2958 | </ul> |
| 2959 | |
| 2960 | <h3>Problem Reports Fixed</h3> |
| 2961 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80338">80338</a> |
| 2962 | getReturnType() throws a NullArgumentException |
| 2963 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80788">80788</a> |
| 2964 | Interface and annotation member types are implicitiely static |
| 2965 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80780">80780</a> |
| 2966 | IncompatibleClassChangeError for Annotations |
| 2967 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80714">80714</a> |
| 2968 | Strange syntax diagnosis with incorrect annotations |
| 2969 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80699">80699</a> |
| 2970 | Code Select does not work for annotations inside class file |
| 2971 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79790">79790</a> |
| 2972 | [1.5][search] Need to distinguish between raw and restricted search in the case of instantiated types |
| 2973 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80672">80672</a> |
| 2974 | [1.5] Annotation change does not trigger recompilation |
| 2975 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80466">80466</a> |
| 2976 | ITypeBinding#getJavaElement() is null for declaration of java.util.List<E> |
| 2977 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80083">80083</a> |
| 2978 | VerifyError on String-Operator += when using generics |
| 2979 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77430">77430</a> |
| 2980 | [1.5] case statements with enum values not correctly supported |
| 2981 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80597">80597</a> |
| 2982 | [compiler] NPE while reporting array empty dimensions problem |
| 2983 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80126">80126</a> |
| 2984 | [assist] CompletionRequestor.setIgnored should allow POTENTIAL_METHOD_DECLARATION |
| 2985 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80602">80602</a> |
| 2986 | Javadoc of ASTNode#getStartPosition() contains dangling reference to ASTParser |
| 2987 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80455">80455</a> |
| 2988 | [5.0] ITypeBinding.canAssign not aware of type boxing |
| 2989 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80579">80579</a> |
| 2990 | NPE is ITypeBinding.isCastCompatible |
| 2991 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80328">80328</a> |
| 2992 | [annotation] annotation problem type should implements java,lang.annotation.Annotation |
| 2993 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79953">79953</a> |
| 2994 | AST Creation Error while editing Java file |
| 2995 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78849">78849</a> |
| 2996 | [1.5][compiler] Java 1.5 Boxing and Character? |
| 2997 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79641">79641</a> |
| 2998 | boolean autoboxing does not work with Object varargs |
| 2999 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80384">80384</a> |
| 3000 | Cannot decode package signature from CompletionProposal |
| 3001 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79254">79254</a> |
| 3002 | autoboxing does not work in combination with downcasting |
| 3003 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80045">80045</a> |
| 3004 | NPE in MethodBinding.signature |
| 3005 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80378">80378</a> |
| 3006 | Javadoc of CompletionProposal#getFlags() needs polish |
| 3007 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80208">80208</a> |
| 3008 | [1.5][compiler] NPE trying to resolve single static import |
| 3009 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79803">79803</a> |
| 3010 | [1.5][search] Search for references to type A reports match for type variable A |
| 3011 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79860">79860</a> |
| 3012 | [1.5][search] Search doesn't find type reference in type parameter bound |
| 3013 | |
| 3014 | <a name="v_525"></a> |
| 3015 | <p><hr><h1> |
| 3016 | Eclipse Platform Build Notes <br> |
| 3017 | Java development tools core</h1> |
| 3018 | Eclipse SDK 3.1M4 - 7th December 2004 |
| 3019 | <br>Project org.eclipse.jdt.core v_525 |
| 3020 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_525">cvs</a>). |
| 3021 | <h2> |
| 3022 | What's new in this drop</h2> |
| 3023 | <ul> |
| 3024 | <li> Compiler now checks annotation location according to @Target meta-annotation</li> |
| 3025 | <li> Compiler now checks method overriding according to @Override annotation</li> |
| 3026 | <!-- |
| 3027 | <li> Added compiler support to flag inconsistent null checks (using interprocedural flow analysis) |
| 3028 | <pre> |
| 3029 | * COMPILER / Reporting Inconsistent null Checks |
| 3030 | * When enabled, the compiler will issue an error or a warning whenever assumption were made on a variable |
| 3031 | * with respect to holding null/non-null values, but the assumption is not followed in a consistent manner. |
| 3032 | * Situations include: |
| 3033 | * - if variable was assumed to be null and further used to access field or methods |
| 3034 | * - if variable was assumed to be null or non-null and further tested for null cases. |
| 3035 | * |
| 3036 | * - option id: "org.eclipse.jdt.core.compiler.problem.inconsistentNullCheck" |
| 3037 | * - possible values: { "error", "warning", "ignore" } |
| 3038 | * - default: "warning" |
| 3039 | </pre> |
| 3040 | </li> |
| 3041 | --> |
| 3042 | </ul> |
| 3043 | |
| 3044 | <h3>Problem Reports Fixed</h3> |
| 3045 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79891">79891</a> |
| 3046 | [GENERICS] Array of Inner Class creation works on eclipse, but fails to compile with sun jdk |
| 3047 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79809">79809</a> |
| 3048 | [1.5][dom][javadoc] Need better support for type parameter Javadoc tags |
| 3049 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79904">79904</a> |
| 3050 | [1.5][dom][javadoc] TagElement range not complete for type parameter tags |
| 3051 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80144">80144</a> |
| 3052 | [1.5] Mutually-recursive type bounds interfere with inheritance of generic type |
| 3053 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76751">76751</a> |
| 3054 | [1.5][annot] Can't use annotation classes as argument to generic methods |
| 3055 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80014">80014</a> |
| 3056 | @Retention(RetentionPolicy.RUNTIME) is ignored for annotations |
| 3057 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80114">80114</a> |
| 3058 | [1.5][Regression] Annotation type cannot have constructors |
| 3059 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80021">80021</a> |
| 3060 | [1.5] CCE in VariableBinding.getJavaElement() |
| 3061 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80041">80041</a> |
| 3062 | IVariableBinding#isEqualTo(..) doesn't tell parameters from different methods apart |
| 3063 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77463">77463</a> |
| 3064 | [1.5][annot] Wrong error marker text for type annotation |
| 3065 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79967">79967</a> |
| 3066 | NPE in WildcardBinding.signature with Mark Occurrences in Collections.class |
| 3067 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79974">79974</a> |
| 3068 | [1.5] Wrong javadoc for TypeDeclarationStatement |
| 3069 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79795">79795</a> |
| 3070 | Code formatter doesn't handle enums well. |
| 3071 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79673">79673</a> |
| 3072 | [1.5] Wrong method binding |
| 3073 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79797">79797</a> |
| 3074 | [1.5] Inconsistent classfile - moving code around |
| 3075 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79847">79847</a> |
| 3076 | [1.5][annot] Array type cannot have two or more dimensions |
| 3077 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79844">79844</a> |
| 3078 | [1.5][annot] when int value can be contained in a short, the cast is not required |
| 3079 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79848">79848</a> |
| 3080 | [1.5][annot] Array of java.lang.Class is a legal value for the type of an annotation type member declaration |
| 3081 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79779">79779</a> |
| 3082 | Code Formatter fails with static imports |
| 3083 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79668">79668</a> |
| 3084 | [1.5][annot] implicit wrapping in array type |
| 3085 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78915">78915</a> |
| 3086 | [1.5][compiler] enum cannot be explicitly abstract |
| 3087 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78916">78916</a> |
| 3088 | [1.5][compiler] abstract methods in an enum declaration must be implemented for each constant |
| 3089 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79690">79690</a> |
| 3090 | Find declaring node doesn't work for type variables |
| 3091 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79775">79775</a> |
| 3092 | [dom]ClassCastException inside ASTConverter when opening a java file |
| 3093 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79752">79752</a> |
| 3094 | Need access to type binding of anonymous enumerations |
| 3095 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79772">79772</a> |
| 3096 | Internal compiler error with I20041123/24/30 |
| 3097 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79136">79136</a> |
| 3098 | API clarification for *Binding#getErasure(): why not a "general back-link"? |
| 3099 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76318">76318</a> |
| 3100 | [tests] Cannot run ASTModelBridgeTests if workspace path segment count is 1 |
| 3101 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78914">78914</a> |
| 3102 | [1.5][compiler] super() cannot be called in the constructor of an enum declaration |
| 3103 | |
| 3104 | <a name="v_524"></a> |
| 3105 | <p><hr><h1> |
| 3106 | Eclipse Platform Build Notes <br> |
| 3107 | Java development tools core</h1> |
| 3108 | Eclipse SDK 3.1M4 - 30th November 2004 |
| 3109 | <br>Project org.eclipse.jdt.core v_524 |
| 3110 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_524">cvs</a>). |
| 3111 | <h2> |
| 3112 | What's new in this drop</h2> |
| 3113 | <ul> |
| 3114 | <li>Support for generic types search has been added to SearchEngine (see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75641">75641</a>).<br> |
| 3115 | User can now search for declaration and/or references to generic types or parameterized types (like <code>public class List<T> {}</code> or <code>List<String></code> for example). |
| 3116 | This search can of course be done either selecting a JavaElement (see following point) or using Java Search dialog. |
| 3117 | </li> |
| 3118 | <li>Support for generic types and generic methods selection has been added inside CodeSelect. |
| 3119 | When the result is a parameterized type reference, the returned JavaElement is a |
| 3120 | <code>ParameterizedSourceType</code> or <code>ParameterizedBinaryType</code>. |
| 3121 | When the result is a parameterized method invocation, the returned JavaElement is a |
| 3122 | <code>ParameterizedSourceMethod</code> or <code>ParameterizedBinaryMethod</code>. |
| 3123 | When the result is a field access to a generic type's field, the returned JavaElement is a |
| 3124 | <code>ParameterizedSourceField</code> or <code>ParameterizedBinaryField</code>. |
| 3125 | </li> |
| 3126 | <li>The internal Java model cache now adapts to the number of elements in the workspace. For example if a project |
| 3127 | has 1000 package fragment roots, the space limit of the cache of roots will increase to 1000. This size is reset to |
| 3128 | its default when the project is closed. |
| 3129 | </li> |
| 3130 | <li>Added the following compatibility rules APIs: |
| 3131 | <ul> |
| 3132 | <li><code>ITypeBinding#isAssignmentCompatible(ITypeBinding)</code></li> |
| 3133 | <li><code>ITypeBinding#isCastCompatible(ITypeBinding)</code></li> |
| 3134 | <li><code>ITypeBinding#isSubTypeCompatible(ITypeBinding)</code></li> |
| 3135 | <li><code>IMethodBinding#overrides(IMethodBinding)</code></li> |
| 3136 | </ul> |
| 3137 | </li> |
| 3138 | </ul> |
| 3139 | |
| 3140 | <h3>Problem Reports Fixed</h3> |
| 3141 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79349">79349</a> |
| 3142 | [1.5] Annotation with default value |
| 3143 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79756">79756</a> |
| 3144 | Erroneous compile error "The local variable may not have been initialized" |
| 3145 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79635">79635</a> |
| 3146 | NPE when asking an IMethodBinding whether it overrides itself |
| 3147 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79667">79667</a> |
| 3148 | [1.5][annot] value in member pair value must be a constant expression |
| 3149 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79666">79666</a> |
| 3150 | [1.5][annot] Default value of annotation type member declaration must be assignment compatible with return type |
| 3151 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79663">79663</a> |
| 3152 | [1.5][annot] Modifiers for field declaration must be public in an annotation type declaration |
| 3153 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79665">79665</a> |
| 3154 | [1.5][annot] Field declarations inside annotation type declaration must be constant |
| 3155 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79512">79512</a> |
| 3156 | [1.5] Extract Method must not generate return type with type variable [refactoring][1.5] |
| 3157 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79609">79609</a> |
| 3158 | ITypeBinding#isEqualTo(..) thinks independent method type parameters are equal |
| 3159 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79610">79610</a> |
| 3160 | IVariableBinding#getJavaElement() returns null for local variables |
| 3161 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75641">75641</a> |
| 3162 | [1.5][search] Types search does not work with generics |
| 3163 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79612">79612</a> |
| 3164 | ClassCastException on referenceTypeBinding.isEqualTo(primitiveTypeBinding) |
| 3165 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79545">79545</a> |
| 3166 | Eclipse vs Sun JDK: different class files from the same source code |
| 3167 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78293">78293</a> |
| 3168 | [1.5][compiler] Should flag implementing twice generic interface with different arguments |
| 3169 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79544">79544</a> |
| 3170 | ITypeBinding#isEqualTo(..) does not compare type arguments |
| 3171 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79570">79570</a> |
| 3172 | [1.5][DOM] v4 type binding should not be parameterized |
| 3173 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78087">78087</a> |
| 3174 | [dom] TypeBinding#getJavaElement() throws IllegalArgumentException for parameterized or raw reference to binary type |
| 3175 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78183">78183</a> |
| 3176 | TypeBinding#getQualifiedName() does not honor Javadocs |
| 3177 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79109">79109</a> |
| 3178 | [1.5][DOM] AnnotationTypeMemberDeclaration.resolveBinding() might return a IMethodBinding |
| 3179 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79395">79395</a> |
| 3180 | IllegalArgumentException in CompilationUnitResolver.parse (line 323) |
| 3181 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77283">77283</a> |
| 3182 | Incremental and full builds produce different problem markers for same duplicate type error |
| 3183 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79263">79263</a> |
| 3184 | ClassCastException in SourceElementParser |
| 3185 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79460">79460</a> |
| 3186 | IMethodBinding of non-generic method says isRawMethod()==true |
| 3187 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79390">79390</a> |
| 3188 | [1.5][compiler] ClassCastException creating a generic local class |
| 3189 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77806">77806</a> |
| 3190 | [1.5][dom] SimpleType AST node of List in List<String> has no type binding |
| 3191 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79362">79362</a> |
| 3192 | IllegalArgumentException during "Java AST creation" |
| 3193 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75785">75785</a> |
| 3194 | Missing binding on non-visible type |
| 3195 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79163">79163</a> |
| 3196 | [compiler] Dependency on indirectly referenced types not correctly computed |
| 3197 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77272">77272</a> |
| 3198 | [builder] Delta compilation fails to notice errors when removing an interface |
| 3199 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79271">79271</a> |
| 3200 | ITypeBinding#isEqualTo(..) returns true when comparing ArrayList<Integer> to its erasure |
| 3201 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77388">77388</a> |
| 3202 | [compiler] Reference to constructor includes space after closing parenthesis |
| 3203 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78931">78931</a> |
| 3204 | [select] cannot select qualified type name without the qualified package name |
| 3205 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79267">79267</a> |
| 3206 | [search] Refactoring of static generic member fails partially |
| 3207 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72258">72258</a> |
| 3208 | [model] Should be able to dynamicaly set the size of Java model cache |
| 3209 | |
| 3210 | <a name="v_523"></a> |
| 3211 | <p><hr><h1> |
| 3212 | Eclipse Platform Build Notes <br> |
| 3213 | Java development tools core</h1> |
| 3214 | Eclipse SDK 3.1M4 - 23rd November 2004 |
| 3215 | <br>Project org.eclipse.jdt.core v_523 |
| 3216 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_523">cvs</a>). |
| 3217 | <h2> |
| 3218 | What's new in this drop</h2> |
| 3219 | <ul> |
| 3220 | <li>Compiler is now able to parse 1.5 syntax in Javadoc comments (see bugs <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70891">70891</a> |
| 3221 | and <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70892">70892</a>).<br> |
Stephan Herrmann | 7d944ef | 2011-09-17 19:42:22 +0000 | [diff] [blame] | 3222 | Note: these changes only apply to <a href="http://download.oracle.com/javase/6/docs/technotes/tools/windows/javadoc.html#@param">@param</a> and |
| 3223 | <a href="http://download.oracle.com/javase/6/docs/technotes/tools/windows/javadoc.html#@value">{@value}</a> tags. |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 3224 | </li> |
| 3225 | <li>Batch AST creation API was finalized. See <code>ASTParser#createASTs(ICompilationUnit[],String[],ASTRequestor,IProgressMonitor)</code> |
| 3226 | and <code>ASTRequestor</code>. |
| 3227 | </li> |
| 3228 | </ul> |
| 3229 | |
| 3230 | <h3>Problem Reports Fixed</h3> |
| 3231 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79110">79110</a> |
| 3232 | [1.5] Missing attribute for local and anonymous classes |
| 3233 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78057">78057</a> |
| 3234 | [dom] Can IBinding#getKey() return null? |
| 3235 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78757">78757</a> |
| 3236 | MethodBinding.getJavaElement() returns null |
| 3237 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78930">78930</a> |
| 3238 | ITypeBinding#getJavaElement() throws NPE for type variable |
| 3239 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73675">73675</a> |
| 3240 | [dom] Need AST creation pipeline |
| 3241 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73971">73971</a> |
| 3242 | [1.5] Ambiguous method error with overloaded parameterized methods |
| 3243 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78581">78581</a> |
| 3244 | [search] NPE while searching |
| 3245 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79108">79108</a> |
| 3246 | [1.5][DOM] enumConstantDeclaration.resolveBinding() always returns null |
| 3247 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77645">77645</a> |
| 3248 | [1.5][dom] navigate from local var binding to declaring method binding |
| 3249 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79098">79098</a> |
| 3250 | [dom] [1.5] EnhancedForStatement#resolveBinding() is superfluous |
| 3251 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77562">77562</a> |
| 3252 | [1.5] overriding methods with more specific generic return types causes compile errors |
| 3253 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79091">79091</a> |
| 3254 | [compiler] Should report invalid type only on the name |
| 3255 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77093">77093</a> |
| 3256 | [search] No references found to method with member type argument |
| 3257 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77184">77184</a> |
| 3258 | [1.5][select] Code select does not select enum declarations |
| 3259 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78801">78801</a> |
| 3260 | [assist] NPE attempting to code assist for parameters |
| 3261 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78128">78128</a> |
| 3262 | Error deleting project with jar file referenced by other project |
| 3263 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78275">78275</a> |
| 3264 | [recovery] NPE in GoToNextPreviousMemberAction with syntax error |
| 3265 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70891">70891</a> |
| 3266 | [1.5][javadoc] Compiler should accept new 1.5 syntax for @param |
| 3267 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78858">78858</a> |
| 3268 | [1.5] Internal compiler error: java.lang.NullPointerException at ParameterizedTypeBinding.getMethods |
| 3269 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78905">78905</a> |
| 3270 | [1.5][compiler] Wrong hex decimal floating point literal is not rejected |
| 3271 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77630">77630</a> |
| 3272 | [compiler] no error when importing package inside static import |
| 3273 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78075">78075</a> |
| 3274 | normal and static import of the same class doesn't work correctly |
| 3275 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78056">78056</a> |
| 3276 | [1.5] static import of a static member of a non static member type must be allowed |
| 3277 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77955">77955</a> |
| 3278 | [1.5] member classes of super class are not allowed inside static import |
| 3279 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78082">78082</a> |
| 3280 | [1.5][search] FieldReferenceMatch in static import should not include qualifier |
| 3281 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78714">78714</a> |
| 3282 | "Convert local to field" should know about prefixes |
| 3283 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75814">75814</a> |
| 3284 | Inconsistent results when adding a breakpoint to class file with src attached |
| 3285 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78190">78190</a> |
| 3286 | [dom] Add ast creation performance tests |
| 3287 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78189">78189</a> |
| 3288 | [model] Add hierarchy performance tests |
| 3289 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78188">78188</a> |
| 3290 | [search] Add search performance test |
| 3291 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78740">78740</a> |
| 3292 | IDOMType.getFlags() fails to represent interface flags correctly. |
| 3293 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78735">78735</a> |
| 3294 | IBinding#isEqualTo(..) fails with a field that hides another |
| 3295 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78232">78232</a> |
| 3296 | [1.5][generics]Erroneous warning implementing generic method from interface |
| 3297 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78140">78140</a> |
| 3298 | [1.5][compiler] Unchecked conversion warning when overriding a generic method |
| 3299 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77861">77861</a> |
| 3300 | [1.5] Illegal class file generated with duplicate methods |
| 3301 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77785">77785</a> |
| 3302 | [1.5][compiler] Generics: missing name clash error |
| 3303 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77496">77496</a> |
| 3304 | [1.5] compiler doesn't detect illegal method overriding due to non-matching return type parameters |
| 3305 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74936">74936</a> |
| 3306 | [1.5] Compiler does not warn for missing implementation of Map.putAll abstract method |
| 3307 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74594">74594</a> |
| 3308 | [1.5] ClassFormat error when running this example |
| 3309 | |
| 3310 | |
| 3311 | <a name="v_522"></a> |
| 3312 | <p><hr><h1> |
| 3313 | Eclipse Platform Build Notes <br> |
| 3314 | Java development tools core</h1> |
| 3315 | Eclipse SDK 3.1M4 - 16th November 2004 |
| 3316 | <br>Project org.eclipse.jdt.core v_522 |
| 3317 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_522">cvs</a>). |
| 3318 | <h2> |
| 3319 | What's new in this drop</h2> |
| 3320 | <ul> |
| 3321 | <li>In 1.5 compliant mode, T[].clone() invocations are considered to be of type T[], as opposed to Object |
| 3322 | previously. </li> |
| 3323 | |
| 3324 | <li>New ComletionProposal kind <code>METHOD_NAME_REFERENCE</code>. |
| 3325 | This completion is a reference to a method name. |
| 3326 | <br>This kind of completion might occur in a context like |
| 3327 | <code>"import java.lang.Math.co^"</code> and complete it to |
| 3328 | <code>"import java.lang.Math.cos;"</code>. |
| 3329 | </li> |
| 3330 | </ul> |
| 3331 | |
| 3332 | <h3>Problem Reports Fixed</h3> |
| 3333 | <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77808">77808</a> |
| 3334 | [1.5][dom] type bindings for raw List and List<E> have same key |
| 3335 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78704">78704</a> |
| 3336 | [1.5][compiler]Internal compiler error in org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding |
| 3337 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78663">78663</a> |
| 3338 | [1.5][compiler] Generics, assign error with equal types |
| 3339 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78649">78649</a> |
| 3340 | [1.5] ITypeBinding.isUpperBound wrong |
| 3341 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77398">77398</a> |
| 3342 | [1.5] Organize imports does not honor enum types [code manipulation] |
| 3343 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78464">78464</a> |
| 3344 | [1.5][compiler] bad args_size attribute value for Enum constructor |
| 3345 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78104">78104</a> |
| 3346 | [1.5][compiler] java.lang.Object.clone() implicitely needs an implicit cast to receiver type |
| 3347 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78321">78321</a> |
| 3348 | Problem with Enum.values in static initializer. |
| 3349 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78310">78310</a> |
| 3350 | [dom] [1.5] improve tests for IBindings |
| 3351 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78015">78015</a> |
| 3352 | [1.5][compiler] AbstractMethodError |
| 3353 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78266">78266</a> |
| 3354 | [dom] [1.5] API of ITypeBinding: no isGenericType() query |
| 3355 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=64310">64310</a> |
| 3356 | [1.5][model] Signature implementation does not fully support generic parameterized type names |
| 3357 | <br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77968">77968</a> |
| 3358 | <