| 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 |
| 1707 |
(i.e. @see, @link, @linkplain, @throws, @exception, @param or @value tags)<br> |
| 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> |
| 1901 |
Note that these flags are active only for search of declarations (i.e. <code>IJavaSearchConstants.DECLARATIONS</code> and <code>IJavaSearchConstants.ALL_OCCURRENCES</code>) |
| 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> |
| 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. |
| 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 |
[compiler] ArrayIndexOutOfBoundsException from parser when using Java editor |
| 3359 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77573">77573</a> |
| 3360 |
[1.5][assist] Code assist does not propose static fields |
| 3361 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78008">78008</a> |
| 3362 |
[1.5][compiler] java.lang.VerifyError on shortcut if-else |
| 3363 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78018">78018</a> |
| 3364 |
[1.5][javadoc] Missing Javadoc comments Problem for enums |
| 3365 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73784">73784</a> |
| 3366 |
[search] java search internal error |
| 3367 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77644">77644</a> |
| 3368 |
[dom] AST node extended positions may be wrong while moving |
| 3369 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78160">78160</a> |
| 3370 |
Invalid classfile for problem type |
| 3371 |
|
| 3372 |
<a name="v_521"></a> |
| 3373 |
<p><hr><h1> |
| 3374 |
Eclipse Platform Build Notes <br> |
| 3375 |
Java development tools core</h1> |
| 3376 |
Eclipse SDK 3.1M4 - 9th November 2004 |
| 3377 |
<br>Project org.eclipse.jdt.core v_521 |
| 3378 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_521">cvs</a>). |
| 3379 |
<h2> |
| 3380 |
What's new in this drop</h2> |
| 3381 |
<ul> |
| 3382 |
<li><code>ICompletionRequestor</code> was deprecated. Use <code>CompletionRequestor</code> instead. |
| 3383 |
</li> |
| 3384 |
</ul> |
| 3385 |
|
| 3386 |
<h3>Problem Reports Fixed</h3> |
| 3387 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77359">77359</a> |
| 3388 |
[1.5][dom] Pull up of type declaration facilities |
| 3389 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76132">76132</a> |
| 3390 |
[1.5][wildcards] Bound mismatch incorrectly diagnosed with type variable quantification |
| 3391 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78139">78139</a> |
| 3392 |
[1.5][compiler] spurious type mismatch problems with generics. |
| 3393 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77602">77602</a> |
| 3394 |
[javadoc] "Only consider members as visible as" is does not work for syntax error |
| 3395 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77510">77510</a> |
| 3396 |
[javadoc] compiler wrongly report deprecation when option "process javadoc comments" is not set |
| 3397 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78027">78027</a> |
| 3398 |
[1.5] Generics, bound mismatch |
| 3399 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78089">78089</a> |
| 3400 |
[1.5] [compiler] Annotations are not accepted inside interfaces |
| 3401 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74119">74119</a> |
| 3402 |
[1.5] Unexpected compile error with bound types with Eclipse 3.1M1. |
| 3403 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=78049">78049</a> |
| 3404 |
[1.5][compiler] Missed error for generic array creation. |
| 3405 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73970">73970</a> |
| 3406 |
[1.5][dom] overloaded parameterized methods have same method binding key |
| 3407 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77422">77422</a> |
| 3408 |
[1.5][compiler] ArrayIndexOutOfBoundsException with vararg constructor of generic superclass |
| 3409 |
|
| 3410 |
<a name="v_520"></a> |
| 3411 |
<p><hr><h1> |
| 3412 |
Eclipse Platform Build Notes <br> |
| 3413 |
Java development tools core</h1> |
| 3414 |
Eclipse SDK 3.1M3 - 4th November 2004 - 3.1 MILESTONE 3 |
| 3415 |
<br>Project org.eclipse.jdt.core v_520 |
| 3416 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_520">cvs</a>). |
| 3417 |
<h2> |
| 3418 |
What's new in this drop</h2> |
| 3419 |
<ul> |
| 3420 |
</ul> |
| 3421 |
|
| 3422 |
<h3>Problem Reports Fixed</h3> |
| 3423 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77244">77244</a> |
| 3424 |
[1.5][enum] final enum class crashes the compiler |
| 3425 |
|
| 3426 |
<a name="v_519"></a> |
| 3427 |
<p><hr><h1> |
| 3428 |
Eclipse Platform Build Notes <br> |
| 3429 |
Java development tools core</h1> |
| 3430 |
Eclipse SDK 3.1M3 - 4th November 2004 |
| 3431 |
<br>Project org.eclipse.jdt.core v_519 |
| 3432 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_519">cvs</a>). |
| 3433 |
<h2> |
| 3434 |
What's new in this drop</h2> |
| 3435 |
<ul> |
| 3436 |
</ul> |
| 3437 |
|
| 3438 |
<h3>Problem Reports Fixed</h3> |
| 3439 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76780">76780</a> |
| 3440 |
[model] return type not recognized correctly on some generic methods |
| 3441 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77772">77772</a> |
| 3442 |
[1.5] some enums failing to parse; internal error dialog pops up while typin |
| 3443 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77538">77538</a> |
| 3444 |
[dom] AST rewrite fails to generate the modified code |
| 3445 |
|
| 3446 |
|
| 3447 |
<a name="v_518"></a> |
| 3448 |
<p><hr><h1> |
| 3449 |
Eclipse Platform Build Notes <br> |
| 3450 |
Java development tools core</h1> |
| 3451 |
Eclipse SDK 3.1M3 - 2nd November 2004 |
| 3452 |
<br>Project org.eclipse.jdt.core v_518 |
| 3453 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_518">cvs</a>). |
| 3454 |
<h2> |
| 3455 |
What's new in this drop</h2> |
| 3456 |
<ul> |
| 3457 |
<li>Added API that allows to batch the creation of DOM ASTs: <code>ASTParser#createASTs(ICompilationUnit[] compilationUnits, String[] bindingKeys, ASTRequestor requestor, IProgressMonitor monitor)</code>. |
| 3458 |
Note this API is still under development and subject to change without notice. |
| 3459 |
</li> |
| 3460 |
</ul> |
| 3461 |
|
| 3462 |
<h3>Problem Reports Fixed</h3> |
| 3463 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70056">70056</a> |
| 3464 |
[1.5] Please support varargs |
| 3465 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77327">77327</a> |
| 3466 |
[1.5] Contravariance of generic Type raises Error |
| 3467 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=71612">71612</a> |
| 3468 |
[1.5] ClassFormatError when running simple example |
| 3469 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76434">76434</a> |
| 3470 |
[1.5] Generics, assign error despite equal types |
| 3471 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76720">76720</a> |
| 3472 |
[1.5] Implementing generic bounded subinterface causes Bound mismatch error |
| 3473 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76219">76219</a> |
| 3474 |
[1.5][wildcards] Not-necessarily-unbounded wildcards in method formal parameter types |
| 3475 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76601">76601</a> |
| 3476 |
[1.5] parameterized types: eclipse incorrectly reports errors |
| 3477 |
|
| 3478 |
<a name="v_517"></a> |
| 3479 |
<p><hr><h1> |
| 3480 |
Eclipse Platform Build Notes <br> |
| 3481 |
Java development tools core</h1> |
| 3482 |
Eclipse SDK 3.1M3 - 2nd November 2004 |
| 3483 |
<br>Project org.eclipse.jdt.core v_517 |
| 3484 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_517">cvs</a>). |
| 3485 |
<h2> |
| 3486 |
What's new in this drop</h2> |
| 3487 |
<ul> |
| 3488 |
<li>Search engine is now able to find declarations and references to varargs methods. This required the index version to be incremented. |
| 3489 |
Indexes will be automatically regenerated upon subsequent search queries (accounting for indexing notification in search progress dialogs). |
| 3490 |
</li> |
| 3491 |
<li>Default severity for access restriction violations got raised to "warning". |
| 3492 |
<pre> |
| 3493 |
* COMPILER / Reporting Forbidden Reference to Type with Restricted Access |
| 3494 |
* When enabled, the compiler will issue an error or a warning when referring to a type with restricted access, as defined according |
| 3495 |
* to the access restriction specifications. |
| 3496 |
* - option id: "org.eclipse.jdt.core.compiler.problem.forbiddenReference" |
| 3497 |
* - possible values: { "error", "warning", "ignore" } |
| 3498 |
* - default: "warning" |
| 3499 |
</pre> |
| 3500 |
</li> |
| 3501 |
</ul> |
| 3502 |
|
| 3503 |
<h3>Problem Reports Fixed</h3> |
| 3504 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77273">77273</a> |
| 3505 |
[model] ArrayIndexOutOfBoundsException when creating type hierarchy with duplicate types |
| 3506 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76359">76359</a> |
| 3507 |
[1.5] Unsafe operation not reported while using member type |
| 3508 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77235">77235</a> |
| 3509 |
ArrayIndexOutOfBounds in Parser in reconciler |
| 3510 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68710">68710</a> |
| 3511 |
Open Declaration opens wrong target |
| 3512 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77249">77249</a> |
| 3513 |
Annotation on class cancels "public" modifier |
| 3514 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77212">77212</a> |
| 3515 |
[1.5][enum] declared enum type .valueOf(String) throws ArrayIndexOutOfBoundsException |
| 3516 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75400">75400</a> |
| 3517 |
[1.5] Wrong type mismatch error reported |
| 3518 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75156">75156</a> |
| 3519 |
[1.5] wrong diagnosis for method override |
| 3520 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70695">70695</a> |
| 3521 |
[1.5] warning for easily detectible incorrect bounds |
| 3522 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72643">72643</a> |
| 3523 |
[1.5] parser doesn't recognize when generic methods aren't used |
| 3524 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77051">77051</a> |
| 3525 |
[1.5] Type mismatch involving super |
| 3526 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77175">77175</a> |
| 3527 |
[1.5] DefaultBindingResolver#resolveType(EnumDeclaration) always returns null |
| 3528 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75328">75328</a> |
| 3529 |
[1.5][wildcards] Bound Mismatch for ? type |
| 3530 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72886">72886</a> |
| 3531 |
[search] references to endVisit(MethodInvocation) reports refs to endVisit(SuperMethodInvocation) |
| 3532 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75329">75329</a> |
| 3533 |
[classpath] Restrict visibility of Java Project content |
| 3534 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74285">74285</a> |
| 3535 |
Code assist doesn't suggest parameter names for methods of generic types |
| 3536 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74588">74588</a> |
| 3537 |
[1.5] missing enclosing instance is wrongly reported when accessing an enclosing instance variable. |
| 3538 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76313">76313</a> |
| 3539 |
[1.5] Error while using parametrized static factory |
| 3540 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77151">77151</a> |
| 3541 |
[1.5] Enum constant cannot be qualified when used as a case label |
| 3542 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77118">77118</a> |
| 3543 |
[1.5] Covariance: cannot override method returning Object with method returning an interface |
| 3544 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=77052">77052</a> |
| 3545 |
[1.5] Type mismatch on embedded type parameters |
| 3546 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76620">76620</a> |
| 3547 |
Selection bug (Open Declaration) |
| 3548 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76874">76874</a> |
| 3549 |
[1.5] Out of memory reconciling some invalid enum source |
| 3550 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76682">76682</a> |
| 3551 |
Certain code prevents saving and copy operations |
| 3552 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74669">74669</a> |
| 3553 |
[1.5] NullPointerException during save and compile |
| 3554 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74032">74032</a> |
| 3555 |
[1.5] Generics: bad method referenced when a type variable extends two types |
| 3556 |
|
| 3557 |
<a name="v_516"></a> |
| 3558 |
<p><hr><h1> |
| 3559 |
Eclipse Platform Build Notes <br> |
| 3560 |
Java development tools core</h1> |
| 3561 |
Eclipse SDK 3.1M3 - 26th October 2004 |
| 3562 |
<br>Project org.eclipse.jdt.core v_516 |
| 3563 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_516">cvs</a>). |
| 3564 |
<h2> |
| 3565 |
What's new in this drop</h2> |
| 3566 |
<ul> |
| 3567 |
<li>Support for search on enum has been implemented. Declarations or references to enum type, fields, constructors and methods are correctly found by search engine. |
| 3568 |
</li> |
| 3569 |
<li>Support to compute type hierarchies on enum required the index version to be incremented. |
| 3570 |
Indexes will be automatically regenerated upon subsequent search queries (accounting for indexing notification in search progress dialogs). |
| 3571 |
</li> |
| 3572 |
<li>Added support inside CompletionEngine to not propose completion when an access restriction is violated. |
| 3573 |
Currently access restrictions are applied only to top level types. |
| 3574 |
</li> |
| 3575 |
<li>Added code assist option to not propose completion when an access restriction is violated. |
| 3576 |
<pre> |
| 3577 |
* CODEASSIST / Activate Access Restrictions Sensitive Completion |
| 3578 |
* When active, completion doesn't show that is access restricted. |
| 3579 |
* - option id: "org.eclipse.jdt.core.codeComplete.restrictionsCheck" |
| 3580 |
* - possible values: { "enabled", "disabled" } |
| 3581 |
* - default: "disabled" |
| 3582 |
</pre> |
| 3583 |
</li> |
| 3584 |
<li>Added first-cut of enumeration support into compiler. Requires some more work to properly |
| 3585 |
diagnose error situations, and be leveraged in various JDT/Core functionalities. |
| 3586 |
</li> |
| 3587 |
<li>Improved problem descriptions to show ellipsis in varargs method signatures |
| 3588 |
</li> |
| 3589 |
<li>Added <code>org.eclipse.jdt.core.util.ClassFileBytesDisassembler#SYSTEM</code> field to support an extra-detailed output from the |
| 3590 |
disassembler. It can show constant pool contents. |
| 3591 |
</li> |
| 3592 |
<li>In order to fix bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76440">76440</a>, two APIs on <code>org.eclipse.jdt.core.Signature</code> have been added to handle var args in the signature decoding. |
| 3593 |
<ul> |
| 3594 |
<li><code>Signature#toCharArray(char[],char[],char[][],boolean,boolean,boolean)</code> |
| 3595 |
</li> |
| 3596 |
<li><code>Signature#toString(String,String,String[],boolean,boolean,boolean)</code> |
| 3597 |
</li> |
| 3598 |
</ul> |
| 3599 |
</li> |
| 3600 |
<li>Added compiler option to diagnose need for cast of varargs argument. Matching problem IDs are |
| 3601 |
<code>IProblem.MethodVarargsArgumentNeedCast</code> & <code>IProblem.ConstructorVarargsArgumentNeedCast</code> |
| 3602 |
<pre> |
| 3603 |
* COMPILER / Reporting Varargs Argument Needing a Cast in Method/Constructor Invocation |
| 3604 |
* When enabled, the compiler will issue an error or a warning whenever a varargs arguments should be cast |
| 3605 |
* when passed to a method/constructor invocation. (e.g. Class.getMethod(String name, Class ... args ) |
| 3606 |
* invoked with arguments ("foo", null)). |
| 3607 |
* - option id: "org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast" |
| 3608 |
* - possible values: { "error", "warning", "ignore" } |
| 3609 |
* - default: "warning" |
| 3610 |
</pre> |
| 3611 |
</li> |
| 3612 |
</ul> |
| 3613 |
|
| 3614 |
<h3>Problem Reports Fixed</h3> |
| 3615 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74851">74851</a> |
| 3616 |
[1.5] enum errors in 3.1M1 |
| 3617 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75134">75134</a> |
| 3618 |
[1.5] Type mismatch error generated |
| 3619 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76880">76880</a> |
| 3620 |
Unable to resolve enum type |
| 3621 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76766">76766</a> |
| 3622 |
[1.5] Option to format empty enum declaration or empty enum constant body has no effect |
| 3623 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76642">76642</a> |
| 3624 |
Inner Enum Declarations not formatted |
| 3625 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76093">76093</a> |
| 3626 |
Varargs support should define a subtype of ArrayTypeReference |
| 3627 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76472">76472</a> |
| 3628 |
Duplicate entries in the constant pool for some methods |
| 3629 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76440">76440</a> |
| 3630 |
[1.5] Disassembler doesn't render 1.5 constructs correctly |
| 3631 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76524">76524</a> |
| 3632 |
need a isVarargs() method on IMethodBinding |
| 3633 |
|
| 3634 |
<a name="v_515"></a> |
| 3635 |
<p><hr><h1> |
| 3636 |
Eclipse Platform Build Notes <br> |
| 3637 |
Java development tools core</h1> |
| 3638 |
Eclipse SDK 3.1M3 - 19th October 2004 |
| 3639 |
<br>Project org.eclipse.jdt.core v_515 |
| 3640 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_515">cvs</a>). |
| 3641 |
<h2> |
| 3642 |
What's new in this drop</h2> |
| 3643 |
<ul> |
| 3644 |
<li>Code assist use static imports to propose completions. |
| 3645 |
</li> |
| 3646 |
<li>2 new Javadoc compiler options have been added (see bugs <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=53977">53977</a> |
| 3647 |
and <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75701">75701</a>).<br> |
| 3648 |
While reporting problems on invalid Javadoc tags, user can now decide not to report deprecation and/or visibility warnings on references used in @see, @link or @values tags. |
| 3649 |
<br> |
| 3650 |
Here's the description of these new options: |
| 3651 |
<pre> |
| 3652 |
* COMPILER / Reporting Invalid Javadoc Tags with Deprecated References |
| 3653 |
* Specify whether the compiler will report deprecated references used in Javadoc tags. |
| 3654 |
* Note that this diagnosis can be enabled based on the visibility of the construct associated with the Javadoc; |
| 3655 |
* also see the setting "org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility". |
| 3656 |
* - option id: "org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef" |
| 3657 |
* - possible values: { "enabled", "disabled" } |
| 3658 |
* - default: "enabled" |
| 3659 |
* |
| 3660 |
* COMPILER / Reporting Invalid Javadoc Tags with Not Visible References |
| 3661 |
* Specify whether the compiler will report non-visible references used in Javadoc tags. |
| 3662 |
* Note that this diagnosis can be enabled based on the visibility of the construct associated with the Javadoc; |
| 3663 |
* also see the setting "org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility". |
| 3664 |
* - option id: "org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef" |
| 3665 |
* - possible values: { "enabled", "disabled" } |
| 3666 |
* - default: "enabled" |
| 3667 |
* |
| 3668 |
</pre> |
| 3669 |
</li> |
| 3670 |
<li>Changed build state format to record access restrictions. As a consequence, a full rebuild will be |
| 3671 |
required when reusing existing workspaces. |
| 3672 |
</li> |
| 3673 |
<li>Added tracing (org.eclipse.jdt.core/debug/resolution) to show the number of packages, roots and working copies used during name resolution.</li> |
| 3674 |
<li>New API <code>org.eclipse.jdt.core.dom.EnumDeclaration#enumConstants()</code>. The enum constants are now in a separate list |
| 3675 |
from the body declarations. The <code>org.eclipse.jdt.core.dom.EnumDeclaration#getEnumConstants()</code> method has been deprecated and |
| 3676 |
will be removed after M3. See bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76190">76190</a> for further details. |
| 3677 |
</li> |
| 3678 |
<li>New requestor API <code>CompletionRequestor</code> is implemented inside code assist engine. |
| 3679 |
</li> |
| 3680 |
<li>Added missing API to <code>IType</code> for new completion requestor support: |
| 3681 |
<ul> |
| 3682 |
<li><code>IType#codeComplete(char[],int,int,char[][],char[][],int[],boolean,CompletionRequestor,WorkingCopyOwner)</code></li> |
| 3683 |
<li><code>IType#codeComplete(char[],int,int,char[][],char[][],int[],boolean,CompletionRequestor)</code></li> |
| 3684 |
</ul> |
| 3685 |
</li> |
| 3686 |
<li>Added missing API to <code>IEvaluationContext</code> for new completion requestor support: |
| 3687 |
<ul> |
| 3688 |
<li><code>IEvaluationContext#codeComplete(String,int,CompletionRequestor, WorkingCopyOwner)</code></li> |
| 3689 |
<li><code>IEvaluationContext#codeComplete(String,int,CompletionRequestor)</code></li> |
| 3690 |
</ul> |
| 3691 |
</li> |
| 3692 |
<li>Added new API inside <code>Signature</code> to extract package name part or type name part of a type signature: |
| 3693 |
<ul> |
| 3694 |
<li><code>Signature#getSignatureQualifier(char[])</code></li> |
| 3695 |
<li><code>Signature#getSignatureQualifier(String)</code></li> |
| 3696 |
<li><code>Signature#getSignatureSimpleName(char[])</code></li> |
| 3697 |
<li><code>Signature#getSignatureSimpleName(String)</code></li> |
| 3698 |
</ul> |
| 3699 |
</li> |
| 3700 |
<li>Added support in Java model for varargs methods: |
| 3701 |
<ul> |
| 3702 |
<li><code>Flags.isVarargs(method.getFlags())</code> now returns whether the method is a varargs method.</li> |
| 3703 |
<li>Operations that resolve (like reconcile, search, etc.) now convert varargs source methods into varargs MethodDeclarations.</li> |
| 3704 |
</ul> |
| 3705 |
</li> |
| 3706 |
<li> Introduced access restrictions so as to better enforce API contracts across components. |
| 3707 |
<p> |
| 3708 |
<i>Problem:</i> Libraries are usually packaged to contain both API for compile-time and implementation for runtime; |
| 3709 |
and thus expose a superset of the API contract to client programs, allowing them to make forbidden |
| 3710 |
assumptions on internals (a typical restriction for Eclipse developpers is to not use internal classes |
| 3711 |
from prerequisite plug-ins). |
| 3712 |
One solution for solving this issue is to separate the API from its implementation into 2 distinct libraries |
| 3713 |
(compile-time/runtime) and then use the classpath rules to only include the API portion on the classpath |
| 3714 |
for compiling. However, this usually proves to be unrealistic, since the API is often mixed with some implementation |
| 3715 |
aspects (not officially part of the API) which are carrying references to its internals |
| 3716 |
(supertype hierarchy, field or method signatures). When it happens, then the compiler needs the implementation |
| 3717 |
also to be on the classpath in order to resolve all signatures appropriately; which goes back to the original |
| 3718 |
problem of exposing too much to unaware clients. |
| 3719 |
<p> |
| 3720 |
Instead, we allowed classpath rules to be associated with some import restrictions so as to select portions |
| 3721 |
of prerequisite projects or libraries which are legal to use inside this project. |
| 3722 |
Access restrictions are expressed as inclusion/exclusion rules on classpath entries (using Ant fileset notation |
| 3723 |
for discriminating on package and/or file names, e.g. <code>excluding='**/internal/'</code> would exclude |
| 3724 |
all types defined any <code>internal</code> package), |
| 3725 |
and can be associated to project, library, classpath variable or classpath container classpath entries. |
| 3726 |
Note that restrictions are automatically combined along a classpath chain. For instance, if a classpath container entry is |
| 3727 |
associated with some restrictions, then when resolved to a set of entries, these will automatically inherit the |
| 3728 |
container restrictions (and could still provide further custom restrictions on a per entry basis). |
| 3729 |
<p> |
| 3730 |
When a forbidden reference to a restricted type is detected, the compiler will issue a problem which severity |
| 3731 |
can be controlled by JavaCore preference "org.eclipse.jdt.core.compiler.problem.forbiddenReference". |
| 3732 |
Corresponding problem marker ID is <code>IProblem.ForbiddenReference</code>. |
| 3733 |
<pre> |
| 3734 |
* COMPILER / Reporting Forbidden Reference to Type with Restricted Access |
| 3735 |
* When enabled, the compiler will issue an error or a warning when referring to a type with restricted access, as defined according |
| 3736 |
* to the access restriction specifications. |
| 3737 |
* - option id: "org.eclipse.jdt.core.compiler.problem.forbiddenReference" |
| 3738 |
* - possible values: { "error", "warning", "ignore" } |
| 3739 |
* - default: "ignore" |
| 3740 |
</pre> |
| 3741 |
|
| 3742 |
<p> |
| 3743 |
In order to challenge this new functionality before leveraged in UI or PDE, Eclipse developpers need to perform |
| 3744 |
the following two actions: |
| 3745 |
<ol> |
| 3746 |
<li> edit some .classpath file to exclude all types located in "**/internal/" packages from prerequisites; |
| 3747 |
i.e. replace line |
| 3748 |
<pre> |
| 3749 |
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> |
| 3750 |
</pre> |
| 3751 |
with |
| 3752 |
<pre> |
| 3753 |
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins" excluding="**/internal/"/> |
| 3754 |
</pre> |
| 3755 |
</li> |
| 3756 |
<li> enable compiler warning for forbidden references, i.e. add the following line to the workspace |
| 3757 |
default preferences located in: <code><workspace>\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.jdt.core.prefs</code> |
| 3758 |
<pre> |
| 3759 |
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning |
| 3760 |
</pre> |
| 3761 |
Note: alternatively, it could be specified on a per project basis, by adding line to <code><project>/.settings/org.eclipse.jdt.core.prefs</code>. |
| 3762 |
</li> |
| 3763 |
</ol> |
| 3764 |
</li> |
| 3765 |
<li>Static imports are now supported: |
| 3766 |
<pre> |
| 3767 |
<b><font color="#0000ff">import static</font></b> <i><font color="#A0A0A0">type</font></i>.*; |
| 3768 |
<b><font color="#0000ff">import static</font></b> <i><font color="#A0A0A0">type</font></i>.<i><font color="#A0A0A0">identifier</font></i>; |
| 3769 |
</pre> |
| 3770 |
Java Search is also able to find referenced type, field and/or member in static imports but required the index version to be incremented.<br> |
| 3771 |
Indexes will be automatically regenerated upon subsequent search queries (accounting for indexing notification in search progress dialogs). |
| 3772 |
</li> |
| 3773 |
</ul> |
| 3774 |
|
| 3775 |
<h3>Problem Reports Fixed</h3> |
| 3776 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76324">76324</a> |
| 3777 |
[Javadoc] Wrongly reports invalid link format in @see and @link |
| 3778 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74369">74369</a> |
| 3779 |
[Javadoc] incorrect javadoc in local class |
| 3780 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75701">75701</a> |
| 3781 |
[Javadoc] References in Javadoc to deprecated members |
| 3782 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=53977">53977</a> |
| 3783 |
[DCR] [Javadoc] Add a Javadoc option not to report errors on non-visible references |
| 3784 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76360">76360</a> |
| 3785 |
[1.5] NPE when using static import |
| 3786 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76174">76174</a> |
| 3787 |
[1.5] missing error when using static import |
| 3788 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76159">76159</a> |
| 3789 |
Missing type in hierarchy |
| 3790 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76328">76328</a> |
| 3791 |
Using latest, NPE in codeassist |
| 3792 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=66296">66296</a> |
| 3793 |
Slow closing editor after startup |
| 3794 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76277">76277</a> |
| 3795 |
IllegalArgumentException: Invalid string literal : >("i" + "ib2")< |
| 3796 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76190">76190</a> |
| 3797 |
DCR AST: EnumDeclaration: Separate field and body statement lists |
| 3798 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76244">76244</a> |
| 3799 |
[1.5] No error on invalid static import declaration |
| 3800 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76181">76181</a> |
| 3801 |
Formatter fails on EnumDeclaration |
| 3802 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74776">74776</a> |
| 3803 |
[Search] Wrong search results for almost identical method |
| 3804 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=29865">29865</a> |
| 3805 |
Source visibility in project dependency |
| 3806 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76181">76181</a> |
| 3807 |
Formatter fails on EnumDeclaration |
| 3808 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76100">76100</a> |
| 3809 |
AST: Javadoc node not available on AnnotationTypeDeclaration |
| 3810 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76103">76103</a> |
| 3811 |
[1.5] Inner AnnotationTypeDeclaration not parsed |
| 3812 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76027">76027</a> |
| 3813 |
Optimization of code assist in debugger |
| 3814 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75090">75090</a> |
| 3815 |
source positions calculated wrongly |
| 3816 |
|
| 3817 |
|
| 3818 |
<a name="v_514"></a> |
| 3819 |
<p><hr><h1> |
| 3820 |
Eclipse Platform Build Notes <br> |
| 3821 |
Java development tools core</h1> |
| 3822 |
Eclipse SDK 3.1M3 - 12th October 2004 |
| 3823 |
<br>Project org.eclipse.jdt.core v_514 |
| 3824 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_514">cvs</a>). |
| 3825 |
<h2> |
| 3826 |
What's new in this drop</h2> |
| 3827 |
<ul> |
| 3828 |
<li>Type search works with generic (only for string pattern, see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75641#c4">75641</a>).<br> |
| 3829 |
For example, user can enter <i><code>List<String></code></i> in Java Search text and search for type references.<br> |
| 3830 |
Match(es) will be found if this parameterized type is used in the search scope.<br> |
| 3831 |
Note that some API changes still need to be done to make generic type search work while selecting a parameterized type from Java editor. |
| 3832 |
</li> |
| 3833 |
<li>Field search works with generic (see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73277">73277</a>).<br> |
| 3834 |
For example, user can search for references to a field declared as <pre>List<String> ls;</pre> |
| 3835 |
Match(es) will be found if this field is used in the search scope. |
| 3836 |
</li> |
| 3837 |
</ul> |
| 3838 |
|
| 3839 |
<h3>Problem Reports Fixed</h3> |
| 3840 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75649">75649</a> |
| 3841 |
[1.5] completion inside a wildcard does not work |
| 3842 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=52379">52379</a> |
| 3843 |
JavaElement.getElementInfo no longer works |
| 3844 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74753">74753</a> |
| 3845 |
[1.5] codeassist failing on type parameter |
| 3846 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73277">73277</a> |
| 3847 |
[1.5][Search] Fields search does not work with generics |
| 3848 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73671">73671</a> |
| 3849 |
[1.5] Signature.getTypeArguments should also tolerate normal types |
| 3850 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73078">73078</a> |
| 3851 |
ISourceManipulation.delete() tries to run in WorkspaceRoot scheduling rule |
| 3852 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75561">75561</a> |
| 3853 |
Rename package results in I/O exception |
| 3854 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75644">75644</a> |
| 3855 |
Array index out of bounds doing code assist |
| 3856 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74286">74286</a> |
| 3857 |
IllegalArgumentException during codeselect |
| 3858 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75720">75720</a> |
| 3859 |
[1.5] Formatter cannot format code that contains varargs |
| 3860 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75112">75112</a> |
| 3861 |
[Search] Cannot find reference to a member type |
| 3862 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75632">75632</a> |
| 3863 |
Infinite loop in DefaultCommentMapper#storeLeadingComments |
| 3864 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75658">75658</a> |
| 3865 |
[1.5] SourceElementParser do not compute correctly bounds of type parameter |
| 3866 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75488">75488</a> |
| 3867 |
Incorrect code formatting |
| 3868 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70602">70602</a> |
| 3869 |
Why is equals(..) method of IBindings not implemented? |
| 3870 |
|
| 3871 |
<a name="v_513"></a> |
| 3872 |
<p><hr><h1> |
| 3873 |
Eclipse Platform Build Notes <br> |
| 3874 |
Java development tools core</h1> |
| 3875 |
Eclipse SDK 3.1M3 - 5th October 2004 |
| 3876 |
<br>Project org.eclipse.jdt.core v_513 |
| 3877 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_513">cvs</a>). |
| 3878 |
<h2> |
| 3879 |
What's new in this drop</h2> |
| 3880 |
<ul> |
| 3881 |
<li>The batch compiler now support 5 as a valid version number for -target and -source options. |
| 3882 |
5 is equivalent to 1.5.</li> |
| 3883 |
<li>Added support for static imports. Can now import all static members of a type, such as <code>java.lang.Math</code>.</li> |
| 3884 |
<li>Added new API <code>IBinding#getJavaElement()</code> to get the Java element corresponding to a |
| 3885 |
<code>org.eclipse.jdt.core.dom.IBinding</code>. |
| 3886 |
</li> |
| 3887 |
</ul> |
| 3888 |
|
| 3889 |
<h3>Problem Reports Fixed</h3> |
| 3890 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75466">75466</a> |
| 3891 |
[1.5] IAE in JavaElement.exists() for Collection<E>#containsAll(Collection<?>) |
| 3892 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75455">75455</a> |
| 3893 |
[1.5] IAE on Content Assist for variable of type List<? extends Number> |
| 3894 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75489">75489</a> |
| 3895 |
Batch compiler should support -target 5 or -source 5 |
| 3896 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73963">73963</a> |
| 3897 |
[1.5] Wrong errors in widening reference conversion to parameterized class type |
| 3898 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=75221">75221</a> |
| 3899 |
Failure in test for build I200409281200 |
| 3900 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74126">74126</a> |
| 3901 |
Compiler should support new hexadecimal floating-point literals |
| 3902 |
|
| 3903 |
<a name="v_512"></a> |
| 3904 |
<p><hr><h1> |
| 3905 |
Eclipse Platform Build Notes <br> |
| 3906 |
Java development tools core</h1> |
| 3907 |
Eclipse SDK 3.1M3 - 28th September 2004 |
| 3908 |
<br>Project org.eclipse.jdt.core v_512 |
| 3909 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_512">cvs</a>). |
| 3910 |
<h2> |
| 3911 |
What's new in this drop</h2> |
| 3912 |
<ul> |
| 3913 |
</ul> |
| 3914 |
|
| 3915 |
<h3>Problem Reports Fixed</h3> |
| 3916 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74761">74761</a> |
| 3917 |
[1.5] Invalid compiler binding for qualified raw type reference |
| 3918 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68927">68927</a> |
| 3919 |
'non-static access to static member' problem not reported for super field access |
| 3920 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74938">74938</a> |
| 3921 |
Syntax error for annotation in 1.4 has unknown source range |
| 3922 |
|
| 3923 |
<a name="v_511"></a> |
| 3924 |
<p><hr><h1> |
| 3925 |
Eclipse Platform Build Notes <br> |
| 3926 |
Java development tools core</h1> |
| 3927 |
Eclipse SDK 3.1M2 - 24th September 2004 - 3.1 MILESTONE 2 |
| 3928 |
<br>Project org.eclipse.jdt.core v_511 |
| 3929 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_511">cvs</a>). |
| 3930 |
<h2> |
| 3931 |
What's new in this drop</h2> |
| 3932 |
<ul> |
| 3933 |
</ul> |
| 3934 |
|
| 3935 |
<h3>Problem Reports Fixed</h3> |
| 3936 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74934">74934</a> |
| 3937 |
ArrayIndexOutOfBoundsException with float literal |
| 3938 |
|
| 3939 |
<a name="v_510"></a> |
| 3940 |
<p><hr><h1> |
| 3941 |
Eclipse Platform Build Notes <br> |
| 3942 |
Java development tools core</h1> |
| 3943 |
Eclipse SDK 3.1M2 - 23rd September 2004 |
| 3944 |
<br>Project org.eclipse.jdt.core v_510 |
| 3945 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_510">cvs</a>). |
| 3946 |
<h2> |
| 3947 |
What's new in this drop</h2> |
| 3948 |
<ul> |
| 3949 |
<li>Support for hexadecimal floating-point literals has been added. This is available in 1.5 mode only.</li> |
| 3950 |
</ul> |
| 3951 |
|
| 3952 |
<h3>Problem Reports Fixed</h3> |
| 3953 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72583">72583</a> |
| 3954 |
[1.5] NPE in Scope.minimalErasedCandidate |
| 3955 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74096">74096</a> |
| 3956 |
[1.5] visibility check ignores type bounds? |
| 3957 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74592">74592</a> |
| 3958 |
[1.5] Invalid cycle diagnosis |
| 3959 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74420">74420</a> |
| 3960 |
[1.5] Unexpected "Illegal forward reference to type parameter T" |
| 3961 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74519">74519</a> |
| 3962 |
Can declare @interface in 1.4 |
| 3963 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74544">74544</a> |
| 3964 |
[1.5] Invalid compiler binding for parameterized qualified type reference |
| 3965 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74514">74514</a> |
| 3966 |
NPE in AST creation |
| 3967 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74014">74014</a> |
| 3968 |
prefix path for source attachements - automatic detection does not seem to work |
| 3969 |
|
| 3970 |
<a name="v_509"></a> |
| 3971 |
<p><hr><h1> |
| 3972 |
Eclipse Platform Build Notes <br> |
| 3973 |
Java development tools core</h1> |
| 3974 |
Eclipse SDK 3.1M2 - 21st September 2004 |
| 3975 |
<br>Project org.eclipse.jdt.core v_509 |
| 3976 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_509">cvs</a>). |
| 3977 |
<h2> |
| 3978 |
What's new in this drop</h2> |
| 3979 |
<ul> |
| 3980 |
</ul> |
| 3981 |
|
| 3982 |
<h3>Problem Reports Fixed</h3> |
| 3983 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74355">74355</a> |
| 3984 |
-source 1.4 and -1.5 leads to an error |
| 3985 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74320">74320</a> |
| 3986 |
[1.5] Unused private member diagnosis fooled by generics |
| 3987 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74289">74289</a> |
| 3988 |
AIOOB Exception in WeakHashSet.cleanupGarbageCollectedValues |
| 3989 |
|
| 3990 |
|
| 3991 |
<a name="v_508"></a> |
| 3992 |
<p><hr><h1> |
| 3993 |
Eclipse Platform Build Notes <br> |
| 3994 |
Java development tools core</h1> |
| 3995 |
Eclipse SDK 3.1M2 - 20th September 2004 |
| 3996 |
<br>Project org.eclipse.jdt.core v_508 |
| 3997 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_508">cvs</a>). |
| 3998 |
<h2> |
| 3999 |
What's new in this drop</h2> |
| 4000 |
<ul> |
| 4001 |
</ul> |
| 4002 |
|
| 4003 |
<h3>Problem Reports Fixed</h3> |
| 4004 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73740">73740</a> |
| 4005 |
Diagnosis for serialization should not render j2me development impossible |
| 4006 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74244">74244</a> |
| 4007 |
[1.5] boolean.class == Boolean.TYPE should be true |
| 4008 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73995">73995</a> |
| 4009 |
[Javadoc] Wrong warning for missing return type description for @return {@inheritDoc} |
| 4010 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72644">72644</a> |
| 4011 |
[1.5] Problems with generic maps |
| 4012 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73356">73356</a> |
| 4013 |
Index not updated after adding a source folder |
| 4014 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73961">73961</a> |
| 4015 |
IPackageBinding#getName() should return "" for default package |
| 4016 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73933">73933</a> |
| 4017 |
Clarifications of the DOM/AST API for VariableDeclarationExpression and VariableDeclarationStatement |
| 4018 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73891">73891</a> |
| 4019 |
Should not use String#intern() |
| 4020 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73837">73837</a> |
| 4021 |
Java 1.5 generics problem (Eclipse 3.1M1) |
| 4022 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73336">73336</a> |
| 4023 |
[1.5][search] Search Engine does not find type references of actual generic type parameters |
| 4024 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73762">73762</a> |
| 4025 |
Line ends not reset when setting a different source |
| 4026 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73884">73884</a> |
| 4027 |
[1.5] Unexpected error for class implementing generic interface |
| 4028 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73896">73896</a> |
| 4029 |
StackOverflowError resolving bindings of java.util.Collections |
| 4030 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73678">73678</a> |
| 4031 |
[1.5] NPE when saving an editor which contains genric type |
| 4032 |
|
| 4033 |
<a name="v_507"></a> |
| 4034 |
<p><hr><h1> |
| 4035 |
Eclipse Platform Build Notes <br> |
| 4036 |
Java development tools core</h1> |
| 4037 |
Eclipse SDK 3.1M2 - 14th September 2004 |
| 4038 |
<br>Project org.eclipse.jdt.core v_507 |
| 4039 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_507">cvs</a>). |
| 4040 |
<h2> |
| 4041 |
What's new in this drop</h2> |
| 4042 |
<ul> |
| 4043 |
</ul> |
| 4044 |
|
| 4045 |
<h3>Problem Reports Fixed</h3> |
| 4046 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72683">72683</a> |
| 4047 |
Slow code assist in Display view |
| 4048 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73696">73696</a> |
| 4049 |
searching only works for IJavaSearchConstants.TYPE, but not CLASS or INTERFACE |
| 4050 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73479">73479</a> |
| 4051 |
[Javadoc] Improve error message for invalid link in @see tags |
| 4052 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73551">73551</a> |
| 4053 |
[Search] NPE while searching package declaration |
| 4054 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73112">73112</a> |
| 4055 |
[Search] SearchEngine doesn't find all fields multiple field declarations |
| 4056 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=71267">71267</a> |
| 4057 |
[Search][Javadoc] SearchMatch in class javadoc reported with element of type IImportDeclaration |
| 4058 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73348">73348</a> |
| 4059 |
[Javadoc] Missing description for return tag is not always warned |
| 4060 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73573">73573</a> |
| 4061 |
[1.5] - CodeAssist - ArrayIndexOutOfBoundsException with genric type completion |
| 4062 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=67976">67976</a> |
| 4063 |
Exceptions in log when Opening type while checking out |
| 4064 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72684">72684</a> |
| 4065 |
MemberElementInfo#name should be removed |
| 4066 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73530">73530</a> |
| 4067 |
[1.5] VerifyError using generics and direct array access |
| 4068 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73286">73286</a> |
| 4069 |
NPE on save |
| 4070 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73497 ">73497</a> |
| 4071 |
Problem methods don't point to the right position in source |
| 4072 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73561">73561</a> |
| 4073 |
AST: Enum constant source range too small |
| 4074 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=71279">71279</a> |
| 4075 |
[Search] NPE in TypeReferenceLocator when moving CU with unresolved type reference |
| 4076 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=67981">67981</a> |
| 4077 |
Add Java Exception Breakpoint is broken |
| 4078 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72859">72859</a> |
| 4079 |
NPE in ASTConverter |
| 4080 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72214">72214</a> |
| 4081 |
[Prefs] IllegalStateException when importing preferences |
| 4082 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=62472">62472</a> |
| 4083 |
[1.5] Suspicious syntax errors for missing semicolon |
| 4084 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72889">72889</a> |
| 4085 |
same key different types |
| 4086 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68555">68555</a> |
| 4087 |
SearchEngine errors when package and class named the same |
| 4088 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72891">72891</a> |
| 4089 |
missing type parameters for IMethodBindings |
| 4090 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72882">72882</a> |
| 4091 |
ITypeBinding.getQualifiedName for type variables wrong |
| 4092 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73371">73371</a> |
| 4093 |
[1.5] Code formatter doesn't seem to accept enum declarations |
| 4094 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73048">73048</a> |
| 4095 |
Stackoverflow on AST creation |
| 4096 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69002">69002</a> |
| 4097 |
CompilationUnit#destroy contains e.printStackTrace |
| 4098 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70787">70787</a> |
| 4099 |
Compilation warning for IndexManager |
| 4100 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73245">73245</a> |
| 4101 |
Error source range of 'class cannot be superinterface' |
| 4102 |
|
| 4103 |
<a name="v_506"></a> |
| 4104 |
<p><hr><h1> |
| 4105 |
Eclipse Platform Build Notes <br> |
| 4106 |
Java development tools core</h1> |
| 4107 |
Eclipse SDK 3.1M2 - 7th September 2004 |
| 4108 |
<br>Project org.eclipse.jdt.core v_506 |
| 4109 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_506">cvs</a>). |
| 4110 |
<h2> |
| 4111 |
What's new in this drop</h2> |
| 4112 |
<ul> |
| 4113 |
<li><code>ITypeParameter</code>s are no longer children of their <code>IType</code> or <code>IMethod</code>. |
| 4114 |
To get the type parameters of a type or a method use <code>IType/IMethod#getTypeParameters()</code>.</li> |
| 4115 |
<li>The temporary field <code>TypeParameter#ENABLED</code> has been removed.</li> |
| 4116 |
<li>Code select (<code>ICodeAssist#codeSelect()</code>) return a <code>ITypeParameter</code> when a type |
| 4117 |
parameter is selected.</li> |
| 4118 |
<li>Added optional compiler diagnosis for usage of 'enum' as an identifier. |
| 4119 |
Corresponding problem ID is IProblem.UseEnumAsAnIdentifier. |
| 4120 |
</li> |
| 4121 |
<li> |
| 4122 |
<pre> |
| 4123 |
* COMPILER / Reporting Usage of 'enum' Identifier |
| 4124 |
* When enabled, the compiler will issue an error or a warning whenever 'enum' is |
| 4125 |
* used as an identifier (reserved keyword in 1.5) |
| 4126 |
* - option id: "org.eclipse.jdt.core.compiler.problem.enumIdentifier" |
| 4127 |
* - possible values: { "error", "warning", "ignore" } |
| 4128 |
* - default: "warning" |
| 4129 |
</pre> |
| 4130 |
</li> |
| 4131 |
</ul> |
| 4132 |
|
| 4133 |
<h3>Problem Reports Fixed</h3> |
| 4134 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=66533">66533</a> |
| 4135 |
[1.5] add a warning for 'enum' used as identifier |
| 4136 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70892">70892</a> |
| 4137 |
[1.5][Javadoc] Compiler should parse reference for inline tag @value |
| 4138 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73255">73255</a> |
| 4139 |
[1.5][reconciling] ClassCastException in SourceTypeElementInfo#getTypeParameterBounds |
| 4140 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72946">72946</a> |
| 4141 |
Refactoring context menu does not show inline action on local variables [refactoring] [inline temp] |
| 4142 |
|
| 4143 |
<a name="v_505"></a> |
| 4144 |
<p><hr><h1> |
| 4145 |
Eclipse Platform Build Notes <br> |
| 4146 |
Java development tools core</h1> |
| 4147 |
Eclipse SDK 3.1M2 - 31st August 2004 |
| 4148 |
<br>Project org.eclipse.jdt.core v_505 |
| 4149 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_505">cvs</a>). |
| 4150 |
<h2> |
| 4151 |
What's new in this drop</h2> |
| 4152 |
<ul> |
| 4153 |
<li>Added empty "performance" target to test.xml files. |
| 4154 |
</ul> |
| 4155 |
|
| 4156 |
<h3>Problem Reports Fixed</h3> |
| 4157 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72772">72772</a> |
| 4158 |
[1.5][Search Engine] ClassCastException: org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding |
| 4159 |
|
| 4160 |
<a name="v_504"></a> |
| 4161 |
<p><hr><h1> |
| 4162 |
Eclipse Platform Build Notes <br> |
| 4163 |
Java development tools core</h1> |
| 4164 |
Eclipse SDK 3.1M2 - 31st August 2004 |
| 4165 |
<br>Project org.eclipse.jdt.core v_504 |
| 4166 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_504">cvs</a>). |
| 4167 |
<h2> |
| 4168 |
What's new in this drop</h2> |
| 4169 |
<ul> |
| 4170 |
<li>Added new Java element <code>ITypeParameter</code> that represents a formal type parameter in a generic type or method. |
| 4171 |
Note types and methods should have type parameters as children, but this is currently disabled as JDT UI doesn't support |
| 4172 |
this kind of element yet. |
| 4173 |
To enable set <code>org.eclipse.jdt.internal.core.TypeParameter#ENABLED</code> to <code>true</code>.</li> |
| 4174 |
</ul> |
| 4175 |
|
| 4176 |
<h3>Problem Reports Fixed</h3> |
| 4177 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72942">72942</a> |
| 4178 |
[1.5] 'AT' is visible inside syntax error messages |
| 4179 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68343">68343</a> |
| 4180 |
IDOMType.setSuperInterfaces() with empty array has no impact on Interfaces |
| 4181 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72083">72083</a> |
| 4182 |
[1.5] NPE while compiling FindBugs |
| 4183 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=71080">71080</a> |
| 4184 |
[1.5] Type parameter bound <E extends Enum<E>> should be allowed |
| 4185 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=62070">62070</a> |
| 4186 |
Should revisit reference recording |
| 4187 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36397">36397</a> |
| 4188 |
Compiling source which indirectly references unavailable classes |
| 4189 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=62822">62822</a> |
| 4190 |
[1.5] Bound mismatch: The type X is not a valid substitute for the bounded parameter |
| 4191 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72094">72094</a> |
| 4192 |
NPE inside qualified type reference resolution |
| 4193 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72468">72468</a> |
| 4194 |
"hierarchy of ... type is inconsistent" error message |
| 4195 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=59082">59082</a> |
| 4196 |
[1.5] Should not offer argument completion for non generic type |
| 4197 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72501">72501</a> |
| 4198 |
[1.5] CodeAssist - ArrayIndexOutOfBoundsException with ParameterizedQualifiedTypeReference |
| 4199 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72640">72640</a> |
| 4200 |
Codestream target level is initialized with source level |
| 4201 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72560">72560</a> |
| 4202 |
[1.5] VerifyError in nested generics loop |
| 4203 |
|
| 4204 |
<a name="v_503"></a> |
| 4205 |
<p><hr><h1> |
| 4206 |
Eclipse Platform Build Notes <br> |
| 4207 |
Java development tools core</h1> |
| 4208 |
Eclipse SDK 3.1M2 - 24th August 2004 |
| 4209 |
<br>Project org.eclipse.jdt.core v_503 |
| 4210 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_503">cvs</a>). |
| 4211 |
<h2> |
| 4212 |
What's new in this drop</h2> |
| 4213 |
<ul> |
| 4214 |
<li>All resource change listeners/builder now react to new encoding change notification.</li> |
| 4215 |
</ul> |
| 4216 |
|
| 4217 |
<h3>Problem Reports Fixed</h3> |
| 4218 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70193">70193</a> |
| 4219 |
DBCS - The GB18030 character cannot be correctly generated into ".classpath" file when new a source folder named with GB18030 character. |
| 4220 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70997">70997</a> |
| 4221 |
Debugger doesn't stop in finally block |
| 4222 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=47074">47074</a> |
| 4223 |
inability to detect invalid cast between interfaces |
| 4224 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=71910">71910</a> |
| 4225 |
Weird exception handlers ranges with any exception handlers |
| 4226 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72352">72352</a> |
| 4227 |
"No completion available" after cast to "String[]" |
| 4228 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=71702">71702</a> |
| 4229 |
code completion doesn't work anymore after Array cast. |
| 4230 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68847">68847</a> |
| 4231 |
[1.5] DCR Signature: API to separate raw type and type parameters |
| 4232 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72348">72348</a> |
| 4233 |
[1.5][Type Hierarchy] Super type hierarchy of class extending generic type is empty |
| 4234 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72105">72105</a> |
| 4235 |
[1.5] NPE in SelectionEngine.selectFrom |
| 4236 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72230">72230</a> |
| 4237 |
[1.5][Type Signature] IAE in createCharArrayTypeSignature |
| 4238 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68506">68506</a> |
| 4239 |
Java code formatter strips newline, leaving final line unterminated! |
| 4240 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=59052">59052</a> |
| 4241 |
[1.5][reconciling] DOM conversion incomplete for generics |
| 4242 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72248">72248</a> |
| 4243 |
[1.5] StackOverflowError caused by methods type variable |
| 4244 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72233">72233</a> |
| 4245 |
IAE creating AST for java.lang.SuppressWarnings |
| 4246 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=57585">57585</a> |
| 4247 |
memory optimization in JavaModelCache |
| 4248 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=72238">72238</a> |
| 4249 |
[1.5] CodeAssist - Wrong completion inside parameterized type |
| 4250 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68585">68585</a> |
| 4251 |
index is out of date after encoding change |
| 4252 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68594">68594</a> |
| 4253 |
[1.5] NPE after code assist |
| 4254 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70995">70995</a> |
| 4255 |
[1.5] Add 1.5 constructs in the code formatter |
| 4256 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68842">68842</a> |
| 4257 |
[1.5] AST: parameter type binding: getKey seems wrong |
| 4258 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=71852">71852</a> |
| 4259 |
ClassCastException in HandleFactory.createElement(...) |
| 4260 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69066">69066</a> |
| 4261 |
[1.5] getTypeArguments incorrect (?) when type argument is a type variable |
| 4262 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68838">68838</a> |
| 4263 |
[1.5] AST: Missing bindings in type parameters |
| 4264 |
|
| 4265 |
<a name="v_502"></a> |
| 4266 |
<p><hr><h1> |
| 4267 |
Eclipse Platform Build Notes <br> |
| 4268 |
Java development tools core</h1> |
| 4269 |
Eclipse SDK 3.1M1 - 10th August 2004 - 3.1 MILESTONE 1 |
| 4270 |
<br>Project org.eclipse.jdt.core v_502 |
| 4271 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_502">cvs</a>). |
| 4272 |
<h2> |
| 4273 |
What's new in this drop</h2> |
| 4274 |
<ul> |
| 4275 |
</ul> |
| 4276 |
|
| 4277 |
<h3>Problem Reports Fixed</h3> |
| 4278 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=66908">66908</a> |
| 4279 |
Code assist javadoc confused by duplicate java.lang.String |
| 4280 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=66570">66570</a> |
| 4281 |
Code assist fails due to capitalization |
| 4282 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=71705">71705</a> |
| 4283 |
[1.5] CodeAssist failure with simple test case |
| 4284 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69598">69598</a> |
| 4285 |
[1.5] Auto Completion not available in new for-loop |
| 4286 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=71672">71672</a> |
| 4287 |
[1.5] MethodInvocation has no type arguments |
| 4288 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=67790">67790</a> |
| 4289 |
[1.5] AST: ConstructorInvocation type arguments not in source range |
| 4290 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70292">70292</a> |
| 4291 |
[1.5] enum makes Copy, Cut commands fail |
| 4292 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=71241">71241</a> |
| 4293 |
[1.5] different methods with same erasure should not override |
| 4294 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69901">69901</a> |
| 4295 |
[1.5] Interface / Generic: unchecked conversion should throw a warning |
| 4296 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=71467">71467</a> |
| 4297 |
JavaConventions.ValidatePackageName() does not return ERROR |
| 4298 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=71113">71113</a> |
| 4299 |
[1.5] improve DOM/AST specs for bindings for JLS3 constructs |
| 4300 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=71079">71079</a> |
| 4301 |
[1.5] ClassCastException resolving Javadoc |
| 4302 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70969">70969</a> |
| 4303 |
[1.5] compile error with conditional operator and wildcards |
| 4304 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70611">70611</a> |
| 4305 |
[1.5] Specific generic class declaration breaks save and load |
| 4306 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69931">69931</a> |
| 4307 |
JDTCompilerAdapter prevents use of Cheetah |
| 4308 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=71007">71007</a> |
| 4309 |
[1.5] Qualified name not supported as member value |
| 4310 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70984">70984</a> |
| 4311 |
[1.5] Invalid syntax error |
| 4312 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70986">70986</a> |
| 4313 |
[Prefs] Old Java project prefs are not all stored while migrating to new API |
| 4314 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70975">70975</a> |
| 4315 |
[1.5] Type mismatch when compiling against binary generic method |
| 4316 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70656">70656</a> |
| 4317 |
[1.5] StackOverflow when resolving Enum<FormattedFloatingDecimal$Form> |
| 4318 |
|
| 4319 |
|
| 4320 |
<a name="v_501"></a> |
| 4321 |
<p><hr><h1> |
| 4322 |
Eclipse Platform Build Notes <br> |
| 4323 |
Java development tools core</h1> |
| 4324 |
Eclipse SDK 3.1M1 - 27th July 2004 - Codename "Cheetah" |
| 4325 |
<br>Project org.eclipse.jdt.core v_501 |
| 4326 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_501">cvs</a>). |
| 4327 |
<h2> |
| 4328 |
What's new in this drop</h2> |
| 4329 |
<ul> |
| 4330 |
<li>Plugin version ID got incremented to 3.1.0. </li> |
| 4331 |
<li>Added support for method return type covariance</li> |
| 4332 |
<li>Added optional compiler diagnosis for serializabe classes missing a declaration of serialVersionUID field. |
| 4333 |
Corresponding problem ID is IProblem.MissingSerialVersion. |
| 4334 |
</li> |
| 4335 |
<pre> |
| 4336 |
* COMPILER / Reporting Missing Declaration of serialVersionUID Field on Serializable Class |
| 4337 |
* When enabled, the compiler will issue an error or a warning whenever a serializable class is missing a local declaration |
| 4338 |
* of a serialVersionUID field. This field must be declared as static final and be of type long. |
| 4339 |
* - option id: "org.eclipse.jdt.core.compiler.problem.missingSerialVersion" |
| 4340 |
* - possible values: { "error", "warning", "ignore" } |
| 4341 |
* - default: "warning" |
| 4342 |
</pre> |
| 4343 |
<li>Added <code>isConstructor()</code> and <code>isSynthetic()</code> getters to MethodReferenceMatch. |
| 4344 |
<br> |
| 4345 |
When a search requestor (<code>SearchRequestor</code>) accepts this kind of match, |
| 4346 |
it can now distinguish between method and constructor reference matches. It can also know |
| 4347 |
if a constructor reference match is a default constructor or use an implicit super call. |
| 4348 |
<br> |
| 4349 |
Note that synthetic method reference match is not supported yet. |
| 4350 |
</li> |
| 4351 |
<li>Once 1.5 source compliance is enabled, the typecheck rules for conditional operator (a ? b : c) |
| 4352 |
allows scenario where 'b' and 'c' have a common supertype (i.e. it is no longer required for |
| 4353 |
one to be assignable to the other as in the past). This is required by JLS 3rd edition. |
| 4354 |
</li> |
| 4355 |
<li>Fix for bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69028">69028</a> |
| 4356 |
requires the index version to be incremented. Indexes will be automatically regenerated upon |
| 4357 |
subsequent search queries (accounting for indexing notification in search progress dialogs). |
| 4358 |
</li> |
| 4359 |
<li>The spec for MethodDeclaration.typeParameters was changed to remove the |
| 4360 |
clause that said that type parameters were not meaningful for |
| 4361 |
constructors. According to the latest JLS3, both constructors and methods |
| 4362 |
are allowed to have type parameters. |
| 4363 |
(bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70665">70665</a>). |
| 4364 |
</li> |
| 4365 |
</ul> |
| 4366 |
|
| 4367 |
<h3>Problem Reports Fixed</h3> |
| 4368 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=48336">48336</a> |
| 4369 |
[Search] Participants should surface in search progress |
| 4370 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70598">70598</a> |
| 4371 |
[Encoding] ArrayIndexOutOfBoundsException while testing BOM on *.txt files |
| 4372 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70767">70767</a> |
| 4373 |
[1.5] NPE compiling code with explicit constructor invocation |
| 4374 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70717">70717</a> |
| 4375 |
Batch compiler should report compilation errors to console |
| 4376 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70665">70665</a> |
| 4377 |
[DOM/AST] missing type parameters for constructor declaration in JLS3 |
| 4378 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70618">70618</a> |
| 4379 |
[1.5] Variable T should be allowed as argument of supertype |
| 4380 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70616">70616</a> |
| 4381 |
[1.5] Unable to bind type variable in binary from Enum<E> |
| 4382 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70609">70609</a> |
| 4383 |
[1.5] NPE compiling Container |
| 4384 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70606">70606</a> |
| 4385 |
[1.5] ClassCastException compiling DefaultTreeCellEditor |
| 4386 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69351">69351</a> |
| 4387 |
[1.5] Error should be issued if generic type is extending Throwable |
| 4388 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=62822">62822</a> |
| 4389 |
[1.5] Bound mismatch: The type X is not a valid substitute for the bounded parameter |
| 4390 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69626">69626</a> |
| 4391 |
[1.5] The return type is incompatible |
| 4392 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=41018">41018</a> |
| 4393 |
Method reference with member type parameter(s) not found |
| 4394 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70053">70053</a> |
| 4395 |
[1.5] VerifyError - incompatible argument to function |
| 4396 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69942">69942</a> |
| 4397 |
compiler warning for serializable classes that do not explicitly declare serialVersionUID |
| 4398 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70398">70398</a> |
| 4399 |
Java AST creation error due to NullPointerException in IF statement test block. |
| 4400 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=43587">43587</a> |
| 4401 |
Searching for references to default constructors reports questionable results |
| 4402 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70243">70243</a> |
| 4403 |
[1.5] no warning for unsafe cast |
| 4404 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69799">69799</a> |
| 4405 |
[1.5] NPE when saving File with forEach loop |
| 4406 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69320">69320</a> |
| 4407 |
[1.5] generic parameter type compiles by eclipse, not by javac |
| 4408 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69800">69800</a> |
| 4409 |
[1.5] eclipse fails to report incompatible types |
| 4410 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70295">70295</a> |
| 4411 |
[1.5] method(Class<?>) is not applicable for Class<? extends Object> |
| 4412 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=70247">70247</a> |
| 4413 |
[1.5] NPE in TypeVariableBinding |
| 4414 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68726">68726</a> |
| 4415 |
[Javadoc] Target attribute in @see link triggers warning |
| 4416 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68993">68993</a> |
| 4417 |
IllegalArgumentException when opening project preferences |
| 4418 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69806">69806</a> |
| 4419 |
formatter doesn't handle strictfp correctly. |
| 4420 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69776">69776</a> |
| 4421 |
[1.5] VerifyError: Incompatible object argument for function call |
| 4422 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69713">69713</a> |
| 4423 |
[1.5] Cannot save java document, throws nullpointer |
| 4424 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69542">69542</a> |
| 4425 |
[1.5] ByteCode differs from javac ByteCode in behaviour |
| 4426 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69554">69554</a> |
| 4427 |
Eclipse Java compiler is not completely compliant to Javac |
| 4428 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69658">69658</a> |
| 4429 |
typo in javadoc of ClassInstanceCreation |
| 4430 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69308">69308</a> |
| 4431 |
All ASTNodes that deal with modifiers should offer a method setModifiers(List modifiers) |
| 4432 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69302">69302</a> |
| 4433 |
[Javadoc] Invalid reference warning inconsistent with javadoc tool |
| 4434 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69275">69275</a> |
| 4435 |
[Javadoc] Invalid warning on @see link |
| 4436 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69272">69272</a> |
| 4437 |
[Javadoc] Invalid malformed reference (missing separator) |
| 4438 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68087">68087</a> |
| 4439 |
[Javadoc] '-' character should be accepted in tag names |
| 4440 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68025">68025</a> |
| 4441 |
Javadoc processing does not detect some wrong links |
| 4442 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68017">68017</a> |
| 4443 |
Javadoc processing does not detect missing argument to @return |
| 4444 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69573">69573</a> |
| 4445 |
[1.5] Missing Message for Compiler |
| 4446 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69028">69028</a> |
| 4447 |
Anonymous type in argument of super() is not in type hierarchy |
| 4448 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69375">69375</a> |
| 4449 |
[1.5] wildcards: no error for incorrect assignment |
| 4450 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68698">68698</a> |
| 4451 |
Bug in inner class emulation:compiler doesn't reject illegal code. |
| 4452 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69359">69359</a> |
| 4453 |
[1.5] Trouble with "unnecassary cast" warnings |
| 4454 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69271">69271</a> |
| 4455 |
decimal integer literals should not consist of FULL WIDTH Unicode digits |
| 4456 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69349">69349</a> |
| 4457 |
[DOM/AST] Wrong end position for method declaration |
| 4458 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69152">69152</a> |
| 4459 |
[NPE] An internal error occurred during: "Override indicator installation job". |
| 4460 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68010">68010</a> |
| 4461 |
[1.5] Return type of bridge method is not correct inside outliner |
| 4462 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69170">69170</a> |
| 4463 |
[1.5] no error for new T[0] |
| 4464 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69353">69353</a> |
| 4465 |
[1.5] Should reject usage of type parameter in catch block |
| 4466 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69288">69288</a> |
| 4467 |
[1.5] Unsafe type operations should be reported against individual expressions |
| 4468 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=64305">64305</a> |
| 4469 |
[1.5] Bad "return type is incompatible" error for array values |
| 4470 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69251">69251</a> |
| 4471 |
[1.5] can't instantiate bounded wildcard |
| 4472 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69141">69141</a> |
| 4473 |
[1.5] Wildcards with lower bound do not work |
| 4474 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=69276">69276</a> |
| 4475 |
[1.5] NPE in ReturnStatement |
| 4476 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=64154">64154</a> |
| 4477 |
[1.5] incorrect 'constructor not visible' |
| 4478 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=65943">65943</a> |
| 4479 |
Closing/opening a project doesn't have the correct delta |
| 4480 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68998">68998</a> |
| 4481 |
[1.5] NPE in java compiler |
| 4482 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68146">68146</a> |
| 4483 |
Search should not populate Java model cache |
| 4484 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=67789">67789</a> |
| 4485 |
Java element delta from refresh contains excluded package |
| 4486 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68845">68845</a> |
| 4487 |
[1.5] AST: AbstractTypeDeclaration should have resolveBinding |
| 4488 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=66512">66512</a> |
| 4489 |
Invalid classpath entry not rejected |
| 4490 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=67643">67643</a> |
| 4491 |
[1.5] Incompatible conditional operand types |
| 4492 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68981">68981</a> |
| 4493 |
[1.5] NPE in code assist |
| 4494 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68891">68891</a> |
| 4495 |
[1.5] TypeVariableBinding does not know his declaring type or method |
| 4496 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68862">68862</a> |
| 4497 |
[1.5] ClassCastException when moving a a java file |
| 4498 |
|
| 4499 |
<a name="v_500"></a> |
| 4500 |
<p><hr><h1> |
| 4501 |
Eclipse Platform Build Notes <br> |
| 4502 |
Java development tools core</h1> |
| 4503 |
Eclipse SDK 3.1M1 - 29th June 2004 - Codename "Cheetah" |
| 4504 |
<br>Project org.eclipse.jdt.core v_500 (Cheetah06) |
| 4505 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_500">cvs</a>). |
| 4506 |
<h2> |
| 4507 |
What's new in this drop</h2> |
| 4508 |
<ul> |
| 4509 |
<li>From target 1.5 on, the JSR bytecode instruction is no longer generated. As a consequence, the |
| 4510 |
corresponding compiler option status will be ignored as soon as -target 1.5 is specified. |
| 4511 |
</li> |
| 4512 |
<li>Batch compiler defaults to 1.5 source and target, when toggled in 1.5 compliant mode ("-1.5"). |
| 4513 |
</li> |
| 4514 |
<li>Added support for generics to JavaModel, thus enabling editor problem reconciling, outliner, type hierarchies. </li> |
| 4515 |
<li>Improved codeassist and codeselect handling of generics </li> |
| 4516 |
</ul> |
| 4517 |
|
| 4518 |
<h3>Problem Reports Fixed</h3> |
| 4519 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68837">68837</a> |
| 4520 |
[1.5] AST: Missing source range in parameterized type |
| 4521 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68133">68133</a> |
| 4522 |
[1.5] VerifyError: Code segment has wrong length in class file |
| 4523 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68863">68863</a> |
| 4524 |
Missing entry in local variable attribute |
| 4525 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68440">68440</a> |
| 4526 |
[1.5] VerifyError with new for loop |
| 4527 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=64159">64159</a> |
| 4528 |
[1.5] call to addAll(Collection<? extends T>) incorrectly dissalowed |
| 4529 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68602">68602</a> |
| 4530 |
[1.5] AST converter fails on local types |
| 4531 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=66424">66424</a> |
| 4532 |
[1.5] Collections in new style for loop |
| 4533 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=64417">64417</a> |
| 4534 |
[1.5] NPE in SourceTypeBinding.resolveTypesFor |
| 4535 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68730">68730</a> |
| 4536 |
[1.5] No completion |
| 4537 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=65953">65953</a> |
| 4538 |
[1.5] Internal Compiler Error: ArrayIndexOutOfBoundsException |
| 4539 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=58470">58470</a> |
| 4540 |
[1.5] Source mapper fooled by generics |
| 4541 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=64336">64336</a> |
| 4542 |
[1.5] Signature does allow to create parameterized type signatures |
| 4543 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68557">68557</a> |
| 4544 |
[1.5] ArrayIndexOutOfBoundsException in SourceTypeConverter |
| 4545 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=68006">68006</a> |
| 4546 |
[1.5] Invalid modifier after parse |
| 4547 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=65503">65503</a> |
| 4548 |
[1.5] "new" for-loop inside "old" for-loop gives error |
| 4549 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=65870">65870</a> |
| 4550 |
[1.5] AST creation fails when created with comments |
| 4551 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=64301">64301</a> |
| 4552 |
[1.5] Cast required where no cast should be required |
| 4553 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=63556">63556</a> |
| 4554 |
[1.5] Error when creating generic classes specializing distant generic parameters |
| 4555 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=63590">63590</a> |
| 4556 |
[1.5] Cheetah allows generic throws clause |
| 4557 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=63555">63555</a> |
| 4558 |
[1.5] Cannot put generic type fields inside static inner class |
| 4559 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=58722">58722</a> |
| 4560 |
[1.5] cannot extend interfaces |
| 4561 |
|
| 4562 |
|
| 4563 |
<a name="v_429_Cheetah05"></a> |
| 4564 |
<p><hr><h1> |
| 4565 |
Eclipse Platform Build Notes <br> |
| 4566 |
Java development tools core</h1> |
| 4567 |
Eclipse Platform Build Notes <br> |
| 4568 |
Eclipse SDK 3.1M1 - 15th May 2004 |
| 4569 |
<br>Project org.eclipse.jdt.core v_429_Cheetah05 |
| 4570 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_429_Cheetah05">cvs</a>). |
| 4571 |
<h2> |
| 4572 |
What's new in this drop</h2> |
| 4573 |
<ul> |
| 4574 |
<li> |
| 4575 |
Cast/instanceof operations are now fully supported, along with extra diagnosis for unsafe type operations. |
| 4576 |
</li> |
| 4577 |
<li> |
| 4578 |
Explicit parameterizations of message sends and constructor calls are also supported. |
| 4579 |
</li> |
| 4580 |
</ul> |
| 4581 |
|
| 4582 |
<h3>Problem Reports Fixed</h3> |
| 4583 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=62416">62416</a> |
| 4584 |
[1.5] An error has occurred when creating this (Java) editor |
| 4585 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=62292">62292</a> |
| 4586 |
[1.5] Missing receiver in parameterized message send |
| 4587 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=61507">61507</a> |
| 4588 |
[1.5] NPE in computeCompatibleMethod |
| 4589 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=60681">60681</a> |
| 4590 |
[1.5] Return type not strict enough |
| 4591 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=60563">60563</a> |
| 4592 |
[1.5] VerifyError when using generics and arrays |
| 4593 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=59258">59258</a> |
| 4594 |
Possibility to share compiler preferences for a shared project |
| 4595 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=60556">60556</a> |
| 4596 |
[1.5] Collections.unmodifiableList(List<A>) |
| 4597 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=58978">58978</a> |
| 4598 |
[1.5] Generic method needs better error reporting |
| 4599 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=59983">59983</a> |
| 4600 |
[1.5] Internal compiler error |
| 4601 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=58903">58903</a> |
| 4602 |
[1.5] Implementing inherited generic methods |
| 4603 |
|
| 4604 |
|
| 4605 |
<a name="v_422_Cheetah04"></a> |
| 4606 |
<p><hr><h1> |
| 4607 |
Eclipse Platform Build Notes <br> |
| 4608 |
Java development tools core</h1> |
| 4609 |
Eclipse Platform Build Notes <br> |
| 4610 |
Eclipse SDK 3.1M1 - 23th April 2004 |
| 4611 |
<br>Project org.eclipse.jdt.core v_422_Cheetah04 |
| 4612 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_422_Cheetah04">cvs</a>). |
| 4613 |
<h2> |
| 4614 |
What's new in this drop</h2> |
| 4615 |
<ul> |
| 4616 |
<li> |
| 4617 |
Wildcard type compatibilities got reworked quite significantly. In |
| 4618 |
particular, it now diagnoses |
| 4619 |
usage of methods which parameters are of wildcard type (see 59641). |
| 4620 |
</li> |
| 4621 |
<li> |
| 4622 |
Covariance is still not supported, but the Cheetah can now issue synthetic |
| 4623 |
bridge methods for allowing overriding to parameterized methods. |
| 4624 |
</li> |
| 4625 |
</ul> |
| 4626 |
|
| 4627 |
<h3>Problem Reports Fixed</h3> |
| 4628 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=59723">59723</a> |
| 4629 |
[1.5] Compiler rejects usage of ArrayList.toArray(char[][]) |
| 4630 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=59628">59628</a> |
| 4631 |
[1.5] Erroneous diagnosis for missing abstract method implementation |
| 4632 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=59641">59641</a> |
| 4633 |
[1.5] Compiler should refuse usage of wildcard argument values |
| 4634 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=59147">59147</a> |
| 4635 |
[1.5] Compiler rejects correct code with wildcards and raw types |
| 4636 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=58979">58979</a> |
| 4637 |
[1.5] NullPointerException in compiler |
| 4638 |
|
| 4639 |
|
| 4640 |
<a name="v_421_Cheetah03"></a> |
| 4641 |
<p><hr><h1> |
| 4642 |
Eclipse Platform Build Notes <br> |
| 4643 |
Java development tools core</h1> |
| 4644 |
Eclipse Platform Build Notes <br> |
| 4645 |
Eclipse SDK 3.1M1 - 16th April 2004 |
| 4646 |
<br>Project org.eclipse.jdt.core v_421_Cheetah03 |
| 4647 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_421_Cheetah03">cvs</a>). |
| 4648 |
<h2> |
| 4649 |
What's new in this drop</h2> |
| 4650 |
<ul> |
| 4651 |
<li> |
| 4652 |
The Cheetah is now able to digest generic methods and perform type inference. |
| 4653 |
It also recognizes the Object.getClass() method and perform adequate |
| 4654 |
substitutions (see <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=57784">57784</a>). |
| 4655 |
</li> |
| 4656 |
<li> |
| 4657 |
Generic types completion is available and type parameters are proposed |
| 4658 |
as possible completions. |
| 4659 |
Currently type parameter proposals are given by |
| 4660 |
ICompletionRequestor#acceptClass(). |
| 4661 |
</li> |
| 4662 |
</ul> |
| 4663 |
|
| 4664 |
<h3>Problem Reports Fixed</h3> |
| 4665 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=58715">58715</a> |
| 4666 |
[1.5] The return type is incompatible |
| 4667 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=58631">58631</a> |
| 4668 |
[1.5] Cycle in hierarchy no longer detected |
| 4669 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=58666">58666</a> |
| 4670 |
[1.5] Object.getClass() need to be treated special ? |
| 4671 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=57784">57784</a> |
| 4672 |
[1.5] Errors using Arrays.asList(T []) |
| 4673 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=58461">58461</a> |
| 4674 |
[1.5] java.lang.VerifyError from enhanced for loop |
| 4675 |
|
| 4676 |
|
| 4677 |
<a name="v_421_Cheetah02"></a> |
| 4678 |
<p><hr><h1> |
| 4679 |
Eclipse Platform Build Notes <br> |
| 4680 |
Java development tools core</h1> |
| 4681 |
Eclipse Platform Build Notes <br> |
| 4682 |
Eclipse SDK 3.1M1 - 13th April 2004 |
| 4683 |
<br>Project org.eclipse.jdt.core v_421_Cheetah02 |
| 4684 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_421_Cheetah02">cvs</a>). |
| 4685 |
<h2> |
| 4686 |
What's new in this drop</h2> |
| 4687 |
<ul> |
| 4688 |
<li> |
| 4689 |
Properly decode signatures of parameterized member types which are flourishing in 1.5 class libs, |
| 4690 |
and were reported as bogus inconsistencies with Cheetah01. |
| 4691 |
</li> |
| 4692 |
</ul> |
| 4693 |
|
| 4694 |
<h3>Problem Reports Fixed</h3> |
| 4695 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=53036">53036</a> |
| 4696 |
Incorrect highlighting for type problem in qualified type name |
| 4697 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=57716">57716</a> |
| 4698 |
[1.5] NPE compiling SelectionParser in source 1.5 |
| 4699 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=57397">57397</a> |
| 4700 |
[1.5] Unable to save unit |
| 4701 |
|
| 4702 |
<a name="v_420_Cheetah01"></a> |
| 4703 |
<p><hr><h1> |
| 4704 |
Eclipse Platform Build Notes <br> |
| 4705 |
Java development tools core</h1> |
| 4706 |
Eclipse Platform Build Notes <br> |
| 4707 |
Eclipse SDK 3.1M1 - 4th April 2004 |
| 4708 |
<br>Project org.eclipse.jdt.core v_420_Cheetah01 |
| 4709 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_420_Cheetah01">cvs</a>). |
| 4710 |
<h2> |
| 4711 |
What's new in this drop</h2> |
| 4712 |
<ul> |
| 4713 |
<li> JDK 1.5 support. |
| 4714 |
<li> JavaCore 1.5 specific options. Either augmented to consider 1.5 or added. |
| 4715 |
<pre> |
| 4716 |
* COMPILER / Setting Compliance Level |
| 4717 |
* Select the compliance level for the compiler. In "1.3" mode, source and target settings |
| 4718 |
* should not go beyond "1.3" level. |
| 4719 |
* - option id: "org.eclipse.jdt.core.compiler.compliance" |
| 4720 |
* - possible values: { "1.3", "1.4", "1.5" } |
| 4721 |
* - default: "1.4" |
| 4722 |
* |
| 4723 |
* COMPILER / Setting Source Compatibility Mode |
| 4724 |
* Specify whether which source level compatibility is used. From 1.4 on, 'assert' is a keyword |
| 4725 |
* reserved for assertion support. Also note, than when toggling to 1.4 mode, the target VM |
| 4726 |
* level should be set to "1.4" and the compliance mode should be "1.4". |
| 4727 |
* Source level 1.5 is necessary to enable generics, autoboxing, covariance, annotations, enumerations |
| 4728 |
* enhanced for loop, static imports and varargs. Once toggled, the target VM level should be set to "1.5" |
| 4729 |
* and the compliance mode should be "1.5". |
| 4730 |
* - option id: "org.eclipse.jdt.core.compiler.source" |
| 4731 |
* - possible values: { "1.3", "1.4", "1.5" } |
| 4732 |
* - default: "1.3" |
| 4733 |
* |
| 4734 |
* COMPILER / Defining Target Java Platform |
| 4735 |
* For binary compatibility reason, .class files can be tagged to with certain VM versions and later. |
| 4736 |
* Note that "1.4" target require to toggle compliance mode to "1.4" too. Similarily, "1.5" target require |
| 4737 |
* to toggle compliance mode to "1.5". |
| 4738 |
* - option id: "org.eclipse.jdt.core.compiler.codegen.targetPlatform" |
| 4739 |
* - possible values: { "1.1", "1.2", "1.3", "1.4", "1.5" } |
| 4740 |
* - default: "1.2" |
| 4741 |
* |
| 4742 |
* COMPILER / Reporting Unsafe Type Operation |
| 4743 |
* When enabled, the compiler will issue an error or a warning whenever an operation involves generic types, and potentially |
| 4744 |
* invalidates type safety since involving raw types (e.g. invoking #foo(X<String>) with arguments (X)). |
| 4745 |
* - option id: "org.eclipse.jdt.core.compiler.problem.unsafeTypeOperation" |
| 4746 |
* - possible values: { "error", "warning", "ignore" } |
| 4747 |
* - default: "warning" |
| 4748 |
* |
| 4749 |
* COMPILER / Reporting final Bound for Type Parameter |
| 4750 |
* When enabled, the compiler will issue an error or a warning whenever a generic type parameter is associated with a |
| 4751 |
* bound corresponding to a final type; since final types cannot be further extended, the parameter is pretty useless. |
| 4752 |
* - option id: "org.eclipse.jdt.core.compiler.problem.finalParameterBound" |
| 4753 |
* - possible values: { "error", "warning", "ignore" } |
| 4754 |
* - default: "ignore" |
| 4755 |
</pre> |
| 4756 |
</li> |
| 4757 |
</ul> |
| 4758 |
|
| 4759 |
<h3>Problem Reports Fixed</h3> |
| 4760 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=56731">56731</a> |
| 4761 |
[1.5] NPE inside ClassFileStruct when compiling with jre 1.5.0 |
| 4762 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=51262">51262</a> |
| 4763 |
[1.5] Handling of additional bounds in type parameters |
| 4764 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=52673">52673</a> |
| 4765 |
[1.5] ArrayStoreException in 1.5 parser |
| 4766 |
|
| 4767 |
|
| 4768 |
<p><hr> |
| 4769 |
For earlier build notes, also see <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.jdt.core/notes/R30_buildnotes_jdt-core.html">build notes up to Release 3.0</a>. |
| 4770 |
|
| 4771 |
<br> |
| 4772 |
</body> |
| 4773 |
</html> |