| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| 5 |
<meta name="Author" content="IBM"> |
| 6 |
<title>JDT/Core Release Notes 3.3</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.3 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://www.eclipse.org/jdt/core/index.php"><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>HEAD</b></a> branch. |
| 24 |
For more information on 3.3 planning, please refer to <a href="http://www.eclipse.org/jdt/core/r3.3/index.php#release-plan">JDT/Core release plan</a>, |
| 25 |
the next <a href="http://www.eclipse.org/jdt/core/r3.3/index.php#milestone-plan">milestone plan</a>, |
| 26 |
the overall <a href="http://www.eclipse.org/eclipse/development/eclipse_project_plan_3_2.html">official plan</a>, |
| 27 |
or the <a href="http://www.eclipse.org/eclipse/platform-releng/buildSchedule.html">build schedule</a>. |
| 28 |
<!-- |
| 29 |
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>). |
| 30 |
Older changes which occurred up to Release 3.0 can be found in |
| 31 |
<a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.jdt.core/notes/R21_buildnotes_jdt-core.html">build notes R2.1</a>. |
| 32 |
--> |
| 33 |
This present document covers all changes since Release 3.2 (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>). |
| 34 |
<br>Maintenance of previous releases of JDT/Core is performed in parallel branches: |
| 35 |
<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_2_maintenance">R3.2.x</a>, |
| 36 |
<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_1_maintenance">R3.1.x</a>, |
| 37 |
<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_0_maintenance">R3.0.x</a>, |
| 38 |
<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R2_1_maintenance">R2.1.x</a>, |
| 39 |
<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R2_0_1">R2.0.x</a>, |
| 40 |
<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=ECLIPSE_1_0">R1.0.x</a>. |
| 41 |
</font> |
| 42 |
</td> |
| 43 |
</tr> |
| 44 |
</table> |
| 45 |
<a name="v_771"></a> |
| 46 |
<hr><h1> |
| 47 |
Eclipse Platform Build Notes<br> |
| 48 |
Java development tools core</h1> |
| 49 |
Eclipse SDK 3.3 - June 21, 2007 - 3.3 RELEASE |
| 50 |
<br>Project org.eclipse.jdt.core v_771 |
| 51 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_771">cvs</a>). |
| 52 |
<h2>What's new in this drop</h2> |
| 53 |
|
| 54 |
<h3>Problem Reports Fixed</h3> |
| 55 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=193570">193570</a> |
| 56 |
add eclipse.inf to top level directory of jdt.core |
| 57 |
|
| 58 |
<a name="v_770"></a> |
| 59 |
<hr><h1> |
| 60 |
Eclipse Platform Build Notes<br> |
| 61 |
Java development tools core</h1> |
| 62 |
Eclipse SDK 3.3RC4 - June 5, 2007 - 3.3 RELEASE CANDIDATE 4 |
| 63 |
<br>Project org.eclipse.jdt.core v_770 |
| 64 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_770">cvs</a>). |
| 65 |
<h2>What's new in this drop</h2> |
| 66 |
|
| 67 |
<h3>Problem Reports Fixed</h3> |
| 68 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=190748">190748</a> |
| 69 |
[1.5][compiler] AbstractMethodError on derived implementation of derived Interface declaration |
| 70 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=189933">189933</a> |
| 71 |
[compiler][1.5] extraneous ambiguous constructor error on generics |
| 72 |
|
| 73 |
<a name="v_769"></a> |
| 74 |
<hr><h1> |
| 75 |
Eclipse Platform Build Notes<br> |
| 76 |
Java development tools core</h1> |
| 77 |
Eclipse SDK 3.3RC4 - June 4, 2007 |
| 78 |
<br>Project org.eclipse.jdt.core v_769 |
| 79 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_769">cvs</a>). |
| 80 |
<h2>What's new in this drop</h2> |
| 81 |
|
| 82 |
<h3>Problem Reports Fixed</h3> |
| 83 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=190493">190493</a> |
| 84 |
[1.6][compiler] Compiling for 1.6 should not require compiler to run on 1.6 itself |
| 85 |
|
| 86 |
|
| 87 |
<a name="v_768"></a> |
| 88 |
<hr><h1> |
| 89 |
Eclipse Platform Build Notes<br> |
| 90 |
Java development tools core</h1> |
| 91 |
Eclipse SDK 3.3RC3 - May 30, 2007 - 3.3 RELEASE CANDIDATE 3 |
| 92 |
<br>Project org.eclipse.jdt.core v_768 |
| 93 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_768">cvs</a>). |
| 94 |
<h2>What's new in this drop</h2> |
| 95 |
|
| 96 |
<h3>Problem Reports Fixed</h3> |
| 97 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=189547">189547</a> |
| 98 |
Possible resource leak in org.eclipse.jdt.internal.compiler.parser.Parser |
| 99 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=189852">189852</a> |
| 100 |
[perfs] Too many JDT/Core performance tests in fingerprints |
| 101 |
|
| 102 |
<a name="v_767"></a> |
| 103 |
<hr><h1> |
| 104 |
Eclipse Platform Build Notes<br> |
| 105 |
Java development tools core</h1> |
| 106 |
Eclipse SDK 3.3RC3 - May 29, 2007 |
| 107 |
<br>Project org.eclipse.jdt.core v_767 |
| 108 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_767">cvs</a>). |
| 109 |
<h2>What's new in this drop</h2> |
| 110 |
|
| 111 |
<h3>Problem Reports Fixed</h3> |
| 112 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=189456">189456</a> |
| 113 |
Formatter is slow on big files |
| 114 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=188105">188105</a> |
| 115 |
org.eclipse.jdt.apt.pluggable.core imported as source does not compile |
| 116 |
|
| 117 |
<a name="v_766"></a> |
| 118 |
<hr><h1> |
| 119 |
Eclipse Platform Build Notes<br> |
| 120 |
Java development tools core</h1> |
| 121 |
Eclipse SDK 3.3RC2 - May 25, 2007 - 3.3 RELEASE CANDIDATE 2 |
| 122 |
<br>Project org.eclipse.jdt.core v_766 |
| 123 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_766">cvs</a>). |
| 124 |
<h2>What's new in this drop</h2> |
| 125 |
<ul> |
| 126 |
<li>The new API <code>ToolFactory#createCodeFormatter(Map options, int mode)</code> allows to specify whether the code |
| 127 |
formatter is going to format new code or existing code.</li> |
| 128 |
</ul> |
| 129 |
|
| 130 |
<h3>Problem Reports Fixed</h3> |
| 131 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=188960">188960</a> |
| 132 |
[1.5][compiler]Do not detect duplicate constructors in a ParameterizedType |
| 133 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=185928">185928</a> |
| 134 |
New Formatter Option "Never indent comments on first column" breaks formatting of auto generated bodies |
| 135 |
|
| 136 |
<a name="v_765"></a> |
| 137 |
<hr><h1> |
| 138 |
Eclipse Platform Build Notes<br> |
| 139 |
Java development tools core</h1> |
| 140 |
Eclipse SDK 3.3RC2 - May 24, 2007 |
| 141 |
<br>Project org.eclipse.jdt.core v_765 |
| 142 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_765">cvs</a>). |
| 143 |
<h2>What's new in this drop</h2> |
| 144 |
|
| 145 |
<h3>Problem Reports Fixed</h3> |
| 146 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=172820">172820</a> |
| 147 |
Hard-coded class libraries names in org/eclipse/jdt/core/tests/util/Util.java |
| 148 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=188741">188741</a> |
| 149 |
[1.5][compiler] Incorrect ambiguous method error with inherited raw type |
| 150 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=188247">188247</a> |
| 151 |
[content assist] Code Completion for static importing fields not working |
| 152 |
|
| 153 |
|
| 154 |
<a name="v_764"></a> |
| 155 |
<hr><h1> |
| 156 |
Eclipse Platform Build Notes<br> |
| 157 |
Java development tools core</h1> |
| 158 |
Eclipse SDK 3.3RC2 - May 23, 2007 |
| 159 |
<br>Project org.eclipse.jdt.core v_764 |
| 160 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_764">cvs</a>). |
| 161 |
<h2>What's new in this drop</h2> |
| 162 |
|
| 163 |
<h3>Problem Reports Fixed</h3> |
| 164 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=188648">188648</a> |
| 165 |
ECJ compiler fails to find boot classes on Harmony |
| 166 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=188656">188656</a> |
| 167 |
[perfs] 2% regression on some Batch Compiler tests since v_756 |
| 168 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=188136">188136</a> |
| 169 |
[javadoc][assist] Errors in org.eclipse.jdt.ui.JavaTypeCompletionProposalComputer |
| 170 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=188127">188127</a> |
| 171 |
[test] Some tests fail on Harmony |
| 172 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=162054">162054</a> |
| 173 |
[build] Got a failure on MultiProjectTests.testCycle5 on my speedy test box... |
| 174 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=188103">188103</a> |
| 175 |
[1.5][compiler] Inappropriate usage of HashSet |
| 176 |
|
| 177 |
<a name="v_763"></a> |
| 178 |
<hr><h1> |
| 179 |
Eclipse Platform Build Notes<br> |
| 180 |
Java development tools core</h1> |
| 181 |
Eclipse SDK 3.3RC1 - May 16, 2007 - 3.3 RELEASE CANDIDATE 1 |
| 182 |
<br>Project org.eclipse.jdt.core v_763 |
| 183 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_763">cvs</a>). |
| 184 |
<h2>What's new in this drop</h2> |
| 185 |
|
| 186 |
<h3>Problem Reports Fixed</h3> |
| 187 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=187329">187329</a> |
| 188 |
compilation error constants created with static methods |
| 189 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=187223">187223</a> |
| 190 |
CompletionTestsRequestor2.getReversedResults has incorrect comparator |
| 191 |
|
| 192 |
<a name="v_762"></a> |
| 193 |
<hr><h1> |
| 194 |
Eclipse Platform Build Notes<br> |
| 195 |
Java development tools core</h1> |
| 196 |
Eclipse SDK 3.3RC1 - May 16, 2007 |
| 197 |
<br>Project org.eclipse.jdt.core v_762 |
| 198 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_762">cvs</a>). |
| 199 |
<h2>What's new in this drop</h2> |
| 200 |
|
| 201 |
<h3>Problem Reports Fixed</h3> |
| 202 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=133141">133141</a> |
| 203 |
Must JavaCore.create(IFile) always do full checks? |
| 204 |
|
| 205 |
<a name="v_761"></a> |
| 206 |
<hr><h1> |
| 207 |
Eclipse Platform Build Notes<br> |
| 208 |
Java development tools core</h1> |
| 209 |
Eclipse SDK 3.3RC1 - May 15, 2007 |
| 210 |
<br>Project org.eclipse.jdt.core v_761 |
| 211 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_761">cvs</a>). |
| 212 |
<h2>What's new in this drop</h2> |
| 213 |
|
| 214 |
<h3>Problem Reports Fixed</h3> |
| 215 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=183338">183338</a> |
| 216 |
[perfs] Too many JDT/Core performance tests are yellow |
| 217 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=186833">186833</a> |
| 218 |
[1.5][compiler] Should detect member supertype cycle when resolved thru static import |
| 219 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=186382">186382</a> |
| 220 |
[1.5][compiler] Ambiguous method call error reported on a demonstrably unambiguous call |
| 221 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=186749">186749</a> |
| 222 |
CCE in Scope.findMemberType |
| 223 |
|
| 224 |
<a name="v_760"></a> |
| 225 |
<hr><h1> |
| 226 |
Eclipse Platform Build Notes<br> |
| 227 |
Java development tools core</h1> |
| 228 |
Eclipse SDK 3.3RC1 - May 15, 2007 |
| 229 |
<br>Project org.eclipse.jdt.core v_760 |
| 230 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_760">cvs</a>). |
| 231 |
<h2>What's new in this drop</h2> |
| 232 |
|
| 233 |
<h3>Problem Reports Fixed</h3> |
| 234 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=177922">177922</a> |
| 235 |
FlexibleProjectContainer refresh logic sporadically leaves project with "missing library" error on rename/delete |
| 236 |
|
| 237 |
<a name="v_759"></a> |
| 238 |
<hr><h1> |
| 239 |
Eclipse Platform Build Notes<br> |
| 240 |
Java development tools core</h1> |
| 241 |
Eclipse SDK 3.3RC1 - May 14, 2007 |
| 242 |
<br>Project org.eclipse.jdt.core v_759 |
| 243 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_759">cvs</a>). |
| 244 |
<h2>What's new in this drop</h2> |
| 245 |
|
| 246 |
<h3>Problem Reports Fixed</h3> |
| 247 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=185576">185576</a> |
| 248 |
[javadoc][assist] Type parameters should not be proposed while completing in @link or @see reference |
| 249 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=143026">143026</a> |
| 250 |
[ast rewrite] Clean up parantheses are not recognizing comment // |
| 251 |
|
| 252 |
<a name="v_758"></a> |
| 253 |
<hr><h1> |
| 254 |
Eclipse Platform Build Notes<br> |
| 255 |
Java development tools core</h1> |
| 256 |
Eclipse SDK 3.3RC1 - May 11, 2007 |
| 257 |
<br>Project org.eclipse.jdt.core v_758 |
| 258 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_758">cvs</a>). |
| 259 |
<h2>What's new in this drop</h2> |
| 260 |
|
| 261 |
<h3>Problem Reports Fixed</h3> |
| 262 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=168208">168208</a> |
| 263 |
Renaming classes from lowercase to uppercase results in an error |
| 264 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=186181">186181</a> |
| 265 |
1.5 compiler does not understand class files built by -target jsr14 |
| 266 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=186415">186415</a> |
| 267 |
[search] Search for package declarations should not return duplicate elements |
| 268 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=185129">185129</a> |
| 269 |
NPE in LocalVariableBinding.computeUniqueKey |
| 270 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=185119">185119</a> |
| 271 |
[search] TypeNameMatch must specify that it could not be overridden by clients |
| 272 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=184546">184546</a> |
| 273 |
[compiler][null] Spurious redundant null check warning in finally when the class has a static field |
| 274 |
|
| 275 |
<a name="v_757"></a> |
| 276 |
<hr><h1> |
| 277 |
Eclipse Platform Build Notes<br> |
| 278 |
Java development tools core</h1> |
| 279 |
Eclipse SDK 3.3RC1 - May 10, 2007 |
| 280 |
<br>Project org.eclipse.jdt.core v_757 |
| 281 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_757">cvs</a>). |
| 282 |
<h2>What's new in this drop</h2> |
| 283 |
|
| 284 |
<h3>Problem Reports Fixed</h3> |
| 285 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=185306">185306</a> |
| 286 |
Help with fields and methods on binary super types with unresolved references |
| 287 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=185950">185950</a> |
| 288 |
[performance] opening class file without source attachement is too slow |
| 289 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=186189">186189</a> |
| 290 |
NPE trying to open the following class using the ASTView |
| 291 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=173944">173944</a> |
| 292 |
cannot cancel build |
| 293 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=185182">185182</a> |
| 294 |
Fup of 126712, the two regressions tests in RuntimeTests should be rewritten |
| 295 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=185733">185733</a> |
| 296 |
Refreshing external jar doesn't update problem marker |
| 297 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=143025">143025</a> |
| 298 |
[build path] Derived attribute on default output folder of Java project doesn't work |
| 299 |
|
| 300 |
<a name="v_756"></a> |
| 301 |
<hr><h1> |
| 302 |
Eclipse Platform Build Notes<br> |
| 303 |
Java development tools core</h1> |
| 304 |
Eclipse SDK 3.3RC1 - May 7, 2007 |
| 305 |
<br>Project org.eclipse.jdt.core v_756 |
| 306 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_756">cvs</a>). |
| 307 |
<h2>What's new in this drop</h2> |
| 308 |
|
| 309 |
<h3>Problem Reports Fixed</h3> |
| 310 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=185787">185787</a> |
| 311 |
[1.5][compiler] Missing unnecessary cast diagnosis |
| 312 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=154693">154693</a> |
| 313 |
project clean & build sometimes copies subversion .svn folders to bin tree |
| 314 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84886">84886</a> |
| 315 |
[compiler] compiled code wrong with ambiguous inner classes |
| 316 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=185768">185768</a> |
| 317 |
[1.6][compiler] Enabling apt by default in batch mode |
| 318 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=185567">185567</a> |
| 319 |
[compiler] dead bytecodes are generated inside optimized boolean condition |
| 320 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=162965">162965</a> |
| 321 |
[compiler] dead bytecodes are generated inside conditional expressions |
| 322 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=185310">185310</a> |
| 323 |
Removing internal jar referenced from another project doesn't update Package Explorer |
| 324 |
|
| 325 |
<a name="v_755"></a> |
| 326 |
<hr><h1> |
| 327 |
Eclipse Platform Build Notes<br> |
| 328 |
Java development tools core</h1> |
| 329 |
Eclipse SDK 3.3M7 - May 2, 2007 - 3.3 MILESTONE 7 |
| 330 |
<br>Project org.eclipse.jdt.core v_755 |
| 331 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_755">cvs</a>). |
| 332 |
<h2>What's new in this drop</h2> |
| 333 |
|
| 334 |
<h3>Problem Reports Fixed</h3> |
| 335 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156731">156731</a> |
| 336 |
[compiler] Improve compiler fault-tolerance |
| 337 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=184957">184957</a> |
| 338 |
[1.5][compiler] Compiler crash |
| 339 |
|
| 340 |
<a name="v_754"></a> |
| 341 |
<hr><h1> |
| 342 |
Eclipse Platform Build Notes<br> |
| 343 |
Java development tools core</h1> |
| 344 |
Eclipse SDK 3.3M7 - April 30, 2007 |
| 345 |
<br>Project org.eclipse.jdt.core v_754 |
| 346 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_754">cvs</a>). |
| 347 |
<h2>What's new in this drop</h2> |
| 348 |
|
| 349 |
<h3>Problem Reports Fixed</h3> |
| 350 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=184293">184293</a> |
| 351 |
Unnecessary inherited method errors reported against subtypes |
| 352 |
|
| 353 |
<a name="v_753"></a> |
| 354 |
<hr><h1> |
| 355 |
Eclipse Platform Build Notes<br> |
| 356 |
Java development tools core</h1> |
| 357 |
Eclipse SDK 3.3M7 - April 28, 2007 |
| 358 |
<br>Project org.eclipse.jdt.core v_753 |
| 359 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_753">cvs</a>). |
| 360 |
<h2>What's new in this drop</h2> |
| 361 |
|
| 362 |
<h3>Problem Reports Fixed</h3> |
| 363 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=165783">165783</a> |
| 364 |
[ast rewrite] Import declaration static property can not be set correctly |
| 365 |
|
| 366 |
<a name="v_752"></a> |
| 367 |
<hr><h1> |
| 368 |
Eclipse Platform Build Notes<br> |
| 369 |
Java development tools core</h1> |
| 370 |
Eclipse SDK 3.3M7 - April 27, 2007 |
| 371 |
<br>Project org.eclipse.jdt.core v_752 |
| 372 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_752">cvs</a>). |
| 373 |
<h2>What's new in this drop</h2> |
| 374 |
|
| 375 |
<h3>Problem Reports Fixed</h3> |
| 376 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=175409">175409</a> |
| 377 |
method reference contains generic method binding |
| 378 |
|
| 379 |
<a name="v_751"></a> |
| 380 |
<hr><h1> |
| 381 |
Eclipse Platform Build Notes<br> |
| 382 |
Java development tools core</h1> |
| 383 |
Eclipse SDK 3.3M7 - April 26, 2007 |
| 384 |
<br>Project org.eclipse.jdt.core v_751 |
| 385 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_751">cvs</a>). |
| 386 |
<h2>What's new in this drop</h2> |
| 387 |
|
| 388 |
<h3>Problem Reports Fixed</h3> |
| 389 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=180713">180713</a> |
| 390 |
Anonymous type rendered as number in hover |
| 391 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=182154">182154</a> |
| 392 |
Java search gives no results on workspace with multiple projects |
| 393 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=144776">144776</a> |
| 394 |
JavaProject.resetCaches() needs to reset dependent projects |
| 395 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=179011">179011</a> |
| 396 |
IType#getMethod(..) should not throw AFE when name contains dot |
| 397 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=162104">162104</a> |
| 398 |
NPE in PackageExplorerContentProvider.getPackageFragmentRoots() |
| 399 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=158985">158985</a> |
| 400 |
Code completion engine hints annotations on wrong places |
| 401 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=183833">183833</a> |
| 402 |
NPE in latest build |
| 403 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=183413">183413</a> |
| 404 |
PDE can't find the source for plug-ins in the target |
| 405 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=184102">184102</a> |
| 406 |
[1.6][compiler] Inconsistent stackmap frame generated for static initializer of enums containing overridden methods |
| 407 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=146556">146556</a> |
| 408 |
Should refactor boolean fields into bits |
| 409 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=49314">49314</a> |
| 410 |
comments formatted even if "Enable comment formatting" is disabled |
| 411 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=20793">20793</a> |
| 412 |
[formatter] The code formatter indent left aligned comments |
| 413 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=180905">180905</a> |
| 414 |
Tweaks to recovered bindings |
| 415 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=183216">183216</a> |
| 416 |
[1.5][compiler] Cannot refer to a generic member type using a non static subclass of the enclosing type |
| 417 |
|
| 418 |
<a name="v_750"></a> |
| 419 |
<hr><h1> |
| 420 |
Eclipse Platform Build Notes<br> |
| 421 |
Java development tools core</h1> |
| 422 |
Eclipse SDK 3.3M7 - April 24, 2007 |
| 423 |
<br>Project org.eclipse.jdt.core v_750 |
| 424 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_750">cvs</a>). |
| 425 |
<h2>What's new in this drop</h2> |
| 426 |
|
| 427 |
<h3>Problem Reports Fixed</h3> |
| 428 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=182930">182930</a> |
| 429 |
JavaModelCache's size grows when displaying type hierarchy |
| 430 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=183062">183062</a> |
| 431 |
[search] OutOfMemoryError during rename refactoring |
| 432 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=79068">79068</a> |
| 433 |
[formatter] Need option to control line wrapping before/after operators |
| 434 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=180789">180789</a> |
| 435 |
[1.5][compiler] invalid incompatible return type error |
| 436 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=183538">183538</a> |
| 437 |
Not getting @Inherited annotation on annotation types from binary |
| 438 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=183468">183468</a> |
| 439 |
NPE trying to call isDefault() on the MemberValuePairBinding corresponding to array=1 |
| 440 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=183395">183395</a> |
| 441 |
Fup of bug 144858, internal error is thrown for wrong exception type in catch clause |
| 442 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=181349">181349</a> |
| 443 |
ArrayIndexOutOfBoundsException while editing Java code |
| 444 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=182485">182485</a> |
| 445 |
Missing translation files in JDT plug-ins |
| 446 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161175">161175</a> |
| 447 |
JarPackageFragmentRoot slow to initialize |
| 448 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=182204">182204</a> |
| 449 |
Deleting a JRE referenced by container does not result in unbound container problem |
| 450 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=162370">162370</a> |
| 451 |
MethodVerifier#areReturnTypesEqual is a misnomer |
| 452 |
|
| 453 |
<a name="v_749"></a> |
| 454 |
<hr><h1> |
| 455 |
Eclipse Platform Build Notes<br> |
| 456 |
Java development tools core</h1> |
| 457 |
Eclipse SDK 3.3M7 - April 17, 2007 |
| 458 |
<br>Project org.eclipse.jdt.core v_749 |
| 459 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_749">cvs</a>). |
| 460 |
<h2>What's new in this drop</h2> |
| 461 |
|
| 462 |
<h3>Problem Reports Fixed</h3> |
| 463 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=118217">118217</a> |
| 464 |
Compiler error/warning option 'Parameter is never read' produces a lot of false-positives |
| 465 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=181393">181393</a> |
| 466 |
DefaultASTVisitor doesn't override all methods |
| 467 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=145329">145329</a> |
| 468 |
[scaling] Unable to locate source in monster workspace |
| 469 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=177174">177174</a> |
| 470 |
[assist] Wrong names are proposed as unresolved local variable |
| 471 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=181727">181727</a> |
| 472 |
[perfs] JDT/Core performances tests last too long on slowest releng test boxes |
| 473 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=180109">180109</a> |
| 474 |
[compiler] JDT Throws ClassCastException on incremental build |
| 475 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=177819">177819</a> |
| 476 |
Jar files added to a plugin are ignored |
| 477 |
|
| 478 |
<a name="v_748"></a> |
| 479 |
<hr><h1> |
| 480 |
Eclipse Platform Build Notes<br> |
| 481 |
Java development tools core</h1> |
| 482 |
Eclipse SDK 3.3M7 - April 10, 2007 |
| 483 |
<br>Project org.eclipse.jdt.core v_748 |
| 484 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_748">cvs</a>). |
| 485 |
<h2>What's new in this drop</h2> |
| 486 |
|
| 487 |
<h3>Problem Reports Fixed</h3> |
| 488 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=181269">181269</a> |
| 489 |
Deleting secondary type is not detected |
| 490 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=179684">179684</a> |
| 491 |
"Reconcile editor change" perf test is getting slower |
| 492 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=180683">180683</a> |
| 493 |
codeSelect does not work in unicode names like \u0042 |
| 494 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=181270">181270</a> |
| 495 |
[1.5][compiler] Class literal of array of type parameter should be rejected |
| 496 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=178551">178551</a> |
| 497 |
[index] Deadlock when doing Type Hierarchy while updating a large workspace |
| 498 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=180524">180524</a> |
| 499 |
NPE in ITypeBinding#createArrayType(..) on anonymous type |
| 500 |
|
| 501 |
<a name="v_747"></a> |
| 502 |
<hr><h1> |
| 503 |
Eclipse Platform Build Notes<br> |
| 504 |
Java development tools core</h1> |
| 505 |
Eclipse SDK 3.3M7 - April 3, 2007 |
| 506 |
<br>Project org.eclipse.jdt.core v_747 |
| 507 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_747">cvs</a>). |
| 508 |
<h2>What's new in this drop</h2> |
| 509 |
|
| 510 |
<h3>Problem Reports Fixed</h3> |
| 511 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=178213">178213</a> |
| 512 |
Compilation Unit not shown in Package Explorer after a rename |
| 513 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=180471">180471</a> |
| 514 |
[compiler] Unoptimal code generation for for-loops when no continuation point |
| 515 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=176320">176320</a> |
| 516 |
Non linear progress in open type dialog |
| 517 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=176472">176472</a> |
| 518 |
[compiler][null] extraneous error in case of a labeled while(true) statement |
| 519 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=166963">166963</a> |
| 520 |
[compiler] resolve binding for local variable in ConstructorInvocation |
| 521 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=179630">179630</a> |
| 522 |
Compiler parsing tests fail with IBM J2SE 1.4.2, 5.0, and 6.0 (early access) |
| 523 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=151787">151787</a> |
| 524 |
[compiler] compiler allows assignment to final field in constructor other than through 'this' |
| 525 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=178499">178499</a> |
| 526 |
[perfs] JDT/Core model performances tests must be improved |
| 527 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=180169">180169</a> |
| 528 |
Add protection against missbehaving container (returning null entries) |
| 529 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=180046">180046</a> |
| 530 |
patch to antadapter eclipse.inf |
| 531 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=166449">166449</a> |
| 532 |
Don't abort build when CompilationParticipants fix classpath |
| 533 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=179529">179529</a> |
| 534 |
Stop Eclipse takes a lot of time in case of big workspace |
| 535 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=179000">179000</a> |
| 536 |
[code assist] run() should not be a valid proposal inside the scrapbook page |
| 537 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=169728">169728</a> |
| 538 |
[1.5][compiler] WildcardBinding.boundCheck coding error |
| 539 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=179056">179056</a> |
| 540 |
[compiler] Compiler gives misleading Range for invisible field |
| 541 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=179699">179699</a> |
| 542 |
type.newTypeHierarchy doesn't cancel |
| 543 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=179672">179672</a> |
| 544 |
[assist] Only one assertion method should be called by completion parser test |
| 545 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=174445">174445</a> |
| 546 |
[1.5][compiler] missing unchecked conversion warning upon parametrized method |
| 547 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=179258">179258</a> |
| 548 |
simple reconcile starts problem finder - main thread waiting |
| 549 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=179477">179477</a> |
| 550 |
[compiler] problem in first element of array initializer suppresses further problems |
| 551 |
|
| 552 |
<a name="v_746"></a> |
| 553 |
<hr><h1> |
| 554 |
Eclipse Platform Build Notes<br> |
| 555 |
Java development tools core</h1> |
| 556 |
Eclipse SDK 3.3M7 - March 27, 2007 |
| 557 |
<br>Project org.eclipse.jdt.core v_746 |
| 558 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_746">cvs</a>). |
| 559 |
<h2>What's new in this drop</h2> |
| 560 |
|
| 561 |
<h3>Problem Reports Fixed</h3> |
| 562 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=179199">179199</a> |
| 563 |
[search] Open type throws NPE during Items filtering |
| 564 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=178895">178895</a> |
| 565 |
[compiler][null] A for-each loop changes its value on each iterator but the null pointer analysis is not taking that into consideration |
| 566 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=177863">177863</a> |
| 567 |
[compiler][null] Spurious null pointer warning in finally block (involving def. unknown) |
| 568 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=179065">179065</a> |
| 569 |
[DOM] Test coverage for IMemberValuePairBinding methods must be improved |
| 570 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=179042">179042</a> |
| 571 |
[DOM] Implementation of IBinding.getModifiers() should return Modifier.NONE when no modifiers are available |
| 572 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=178861">178861</a> |
| 573 |
Executing run() in a scrapbook page leads to a NPE |
| 574 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=178039">178039</a> |
| 575 |
Separate advanced verbose for container and variable initialization from regular verbose |
| 576 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=178847">178847</a> |
| 577 |
[search] Potential matches found when searching references to IJavaElement#getResource() |
| 578 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=174920">174920</a> |
| 579 |
[model] closing a single project causes all variables and containers to be saved |
| 580 |
|
| 581 |
<a name="v_745"></a> |
| 582 |
<hr><h1> |
| 583 |
Eclipse Platform Build Notes<br> |
| 584 |
Java development tools core</h1> |
| 585 |
Eclipse SDK 3.3M6 - March 21, 2007 - 3.3 MILESTONE 6 |
| 586 |
<br>Project org.eclipse.jdt.core v_745 |
| 587 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_745">cvs</a>). |
| 588 |
<h2>What's new in this drop</h2> |
| 589 |
<ul> |
| 590 |
<li><code>org.eclipse.jdt.core.JavaCore#setCompilanceOptions(String, Map)</code> has been renamed to <code>org.eclipse.jdt.core.JavaCore.setComplianceOptions(String, Map)</code>.</li> |
| 591 |
<li><code>org.eclipse.jdt.core.dom.RecoveredTypeBinding</code>, <code>org.eclipse.jdt.core.dom.RecoveredVariableBinding</code> are not part of the API. They have been |
| 592 |
changed to package default visibility.</li> |
| 593 |
<li><code>org.eclipse.jdt.core.search.MethodReferenceMatch#isPolymorphic()</code> has been removed.</li> |
| 594 |
</ul> |
| 595 |
|
| 596 |
<h3>Problem Reports Fixed</h3> |
| 597 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=178616">178616</a> |
| 598 |
[API] Fix typo for JavaCore#setComplianceOptions(String, Map) |
| 599 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=178607">178607</a> |
| 600 |
[API][dom] RecoveredTypeBinding and RecoveredVariableBinding should not be public |
| 601 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=178594">178594</a> |
| 602 |
[search] Deprecated MethodReferenceMatch.isPolymorphic() should be removed |
| 603 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=176118">176118</a> |
| 604 |
Missing library classes kill Intellisense without Error |
| 605 |
|
| 606 |
<a name="v_744"></a> |
| 607 |
<hr><h1> |
| 608 |
Eclipse Platform Build Notes<br> |
| 609 |
Java development tools core</h1> |
| 610 |
Eclipse SDK 3.3M6 - March 20, 2007 |
| 611 |
<br>Project org.eclipse.jdt.core v_744 |
| 612 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_744">cvs</a>). |
| 613 |
<h2>What's new in this drop</h2> |
| 614 |
<ul> |
| 615 |
<li>This drop only fixes tests failures reported in I20070319-1800.</li> |
| 616 |
</ul> |
| 617 |
|
| 618 |
<h3>Problem Reports Fixed</h3> |
| 619 |
|
| 620 |
<a name="v_743"></a> |
| 621 |
<hr><h1> |
| 622 |
Eclipse Platform Build Notes<br> |
| 623 |
Java development tools core</h1> |
| 624 |
Eclipse SDK 3.3M6 - March 19, 2007 |
| 625 |
<br>Project org.eclipse.jdt.core v_743 |
| 626 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_743">cvs</a>). |
| 627 |
<h2>What's new in this drop</h2> |
| 628 |
<ul> |
| 629 |
<li>New constant API have been added in <code>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants</code> in order to fix bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=20793">20793</a>. |
| 630 |
The implementation will be provided after 3.3M6.<br> |
| 631 |
<pre> |
| 632 |
/** |
| 633 |
* FORMATTER / Option to indent block comments that start on the first column |
| 634 |
* - option id: "org.eclipse.jdt.core.formatter.formatter.never_indent_block_comments_on_first_column" |
| 635 |
* - possible values: { TRUE, FALSE } |
| 636 |
* - default: TRUE |
| 637 |
* @see #TRUE |
| 638 |
* @see #FALSE |
| 639 |
* @since 3.3 |
| 640 |
*/ |
| 641 |
public static final String FORMATTER_NEVER_INDENT_BLOCK_COMMENTS_ON_FIRST_COLUMN = JavaCore.PLUGIN_ID + ".formatter.never_indent_block_comments_on_first_column"; //$NON-NLS-1$ |
| 642 |
/** |
| 643 |
* FORMATTER / Option to indent line comments that start on the first column |
| 644 |
* - option id: "org.eclipse.jdt.core.formatter.formatter.never_indent_line_comments_on_first_column" |
| 645 |
* - possible values: { TRUE, FALSE } |
| 646 |
* - default: TRUE |
| 647 |
* @see #TRUE |
| 648 |
* @see #FALSE |
| 649 |
* @since 3.3 |
| 650 |
*/ |
| 651 |
public static final String FORMATTER_NEVER_INDENT_LINE_COMMENTS_ON_FIRST_COLUMN = JavaCore.PLUGIN_ID + ".formatter.never_indent_line_comments_on_first_column"; //$NON-NLS-1$ |
| 652 |
</pre> |
| 653 |
</li> |
| 654 |
<li>New constant API have been added in <code>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants</code> in order to fix bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=79068">79068</a>. |
| 655 |
The implementation will be provided after 3.3M6.<br> |
| 656 |
<pre> |
| 657 |
/** |
| 658 |
* FORMATTER / Option to wrap before the binary operator |
| 659 |
* - option id: "org.eclipse.jdt.core.formatter.wrap_before_binary_operator" |
| 660 |
* - possible values: { TRUE, FALSE } |
| 661 |
* - default: FALSE |
| 662 |
* This option is used only if the option {@link #FORMATTER_ALIGNMENT_FOR_BINARY_EXPRESSION} is set. |
| 663 |
* @see #TRUE |
| 664 |
* @see #FALSE |
| 665 |
* @since 3.3 |
| 666 |
*/ |
| 667 |
public static final String FORMATTER_WRAP_BEFORE_BINARY_OPERATOR = JavaCore.PLUGIN_ID + ".formatter.wrap_before_binary_operator"; //$NON-NLS-1$ |
| 668 |
</pre> |
| 669 |
</li> |
| 670 |
</ul> |
| 671 |
|
| 672 |
<h3>Problem Reports Fixed</h3> |
| 673 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=154984">154984</a> |
| 674 |
Jars in library not recognized sometimes. |
| 675 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=102473">102473</a> |
| 676 |
code assist: parameter names not harvested from debug info in class files |
| 677 |
|
| 678 |
<a name="v_742"></a> |
| 679 |
<hr><h1> |
| 680 |
Eclipse Platform Build Notes<br> |
| 681 |
Java development tools core</h1> |
| 682 |
Eclipse SDK 3.3M6 - March 18, 2007 |
| 683 |
<br>Project org.eclipse.jdt.core v_742 |
| 684 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_742">cvs</a>). |
| 685 |
<h2>What's new in this drop</h2> |
| 686 |
<ul> |
| 687 |
<li>As some clients need to know if some classpath container children attributes are supported or |
| 688 |
can be modifiable, the following API methods have been added in <code>org.eclipse.jdt.core.ClasspathContainerInitializer</code> class: |
| 689 |
<ul> |
| 690 |
<li><code>#getAccessRulesStatus(IPath, IJavaProject)</code></li> |
| 691 |
<li><code>#getAttributeStatus(IPath, IJavaProject, String)</code></li> |
| 692 |
<li><code>#getSourceAttachmentStatus(IPath, IJavaProject)</code></li> |
| 693 |
</ul> |
| 694 |
For each of these methods, the returned status can have one of the following severities: |
| 695 |
<ul> |
| 696 |
<li><code>IStatus#OK</code>: means that the attribute is supported <strong>and</strong> is modifiable</li> |
| 697 |
<li><code>IStatus#ERROR</code>: means that either the attribute is not supported or is not modifiable.<br> |
| 698 |
In this case, the <code>IStatus#getCode()</code> will have respectively the <code>#ATTRIBUTE_NOT_SUPPORTED</code> value |
| 699 |
or the <code>#ATTRIBUTE_READ_ONLY</code> value.</li> |
| 700 |
</ul> |
| 701 |
Note that if the subclass does not override this method, then the default behavior is |
| 702 |
to return <code>IStatus#OK</code> if and only if the classpath container can |
| 703 |
be updated (see <code>#canUpdateClasspathContainer(IPath, IJavaProject)</code>). |
| 704 |
</li> |
| 705 |
<li>API addition to fix bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=130001">130001</a>. It is being able for a user |
| 706 |
to query what options were enabled when the DOM/AST tree has been created. The following API methods have been added: |
| 707 |
<ul> |
| 708 |
<li><code>org.eclipse.jdt.core.dom.AST#hasResolvedBindings()</code></li> |
| 709 |
<li><code>org.eclipse.jdt.core.dom.AST#hasStatementsRecovery()</code></li> |
| 710 |
<li><code>org.eclipse.jdt.core.dom.AST#hasBindingsRecovery()</code></li> |
| 711 |
</ul> |
| 712 |
</li> |
| 713 |
<li>API addition to fix bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149567">149567</a>. It is about |
| 714 |
the incomplete binding handling. The following API methods or fields have been added: |
| 715 |
<ul> |
| 716 |
<li><code>org.eclipse.jdt.core.dom.ASTParser#setBindingsRecovery(boolean)</code></li> |
| 717 |
<li><code>org.eclipse.jdt.core.dom.IBinding#isRecovered()</code></li> |
| 718 |
<li><code>org.eclipse.jdt.core.ICompilationUnit#reconcile(int, int, WorkingCopyOwner, IProgressMonitor)</code></li> |
| 719 |
<li><code>org.eclipse.jdt.core.ICompilationUnit#FORCE_PROBLEM_DETECTION</code></li> |
| 720 |
<li><code>org.eclipse.jdt.core.ICompilationUnit#ENABLE_STATEMENTS_RECOVERY</code></li> |
| 721 |
<li><code>org.eclipse.jdt.core.ICompilationUnit#ENABLE_BINDINGS_RECOVERY</code></li> |
| 722 |
</ul> |
| 723 |
</li> |
| 724 |
<li>The working copy owner (<code>WorkingCopyOwner</code>) now specifies the problem requestor |
| 725 |
(<code>IProblemrequestor</code>) used to report problems on working copies it owns |
| 726 |
(see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=175243">175243</a>).<br> |
| 727 |
To implement this new responsibility, a new API method has been added on <code>WorkingCopyOwner</code> class: |
| 728 |
<pre> |
| 729 |
/** |
| 730 |
* Returns the problem requestor used by a working copy of this working copy owner. |
| 731 |
* |
| 732 |
* By default, no problem requestor is configured. Clients can override this |
| 733 |
* method to provide a requestor. |
| 734 |
* |
| 735 |
* @param workingCopy The problem requestor used for the given working copy. |
| 736 |
* If <code>null</code>, then return the problem requestor used for all working |
| 737 |
* copies of the working copy owner. |
| 738 |
* @return the problem requestor to be used by working copies of this working |
| 739 |
* copy owner or <code>null</code> if no problem requestor is configured. |
| 740 |
* |
| 741 |
* @since 3.3 |
| 742 |
*/ |
| 743 |
public IProblemRequestor getProblemRequestor(ICompilationUnit workingCopy) { |
| 744 |
return null; |
| 745 |
} |
| 746 |
</pre> |
| 747 |
As a consequence of this addition, <code>IProblemRequestor</code> parameter |
| 748 |
of <code>*WorkingCopy</code> methods becomes unnecessary and corresponding |
| 749 |
methods have been deprecated: |
| 750 |
<ol> |
| 751 |
<li><code>ICompilationUnit#becomeWorkingCopy(IProblemRequestor, IProgressMonitor)</code></li> |
| 752 |
<li><code>ICompilationUnit#getWorkingCopy(WorkingCopyOwner, IProblemRequestor, IProgressMonitor)</code></li> |
| 753 |
<li><code>IClassFile#becomeWorkingCopy(IProblemRequestor, WorkingCopyOwner, IProgressMonitor)</code></li> |
| 754 |
<li><code>WorkingCopyOwner#newWorkingCopy(String, IClasspathEntry[], IProblemRequestor, IProgressMonitor)</code></li> |
| 755 |
</ol> |
| 756 |
And are obviously replaced by following methods: |
| 757 |
<ol> |
| 758 |
<li><code>ICompilationUnit#becomeWorkingCopy(IProgressMonitor)</code></li> |
| 759 |
<li><code>ICompilationUnit#getWorkingCopy(WorkingCopyOwner, IProgressMonitor)</code></li> |
| 760 |
<li><code>IClassFile#becomeWorkingCopy(WorkingCopyOwner, IProgressMonitor)</code></li> |
| 761 |
<li><code>WorkingCopyOwner#newWorkingCopy(String, IClasspathEntry[], IProgressMonitor)</code></li> |
| 762 |
</ol> |
| 763 |
</li> |
| 764 |
<li>Added API org.eclipse.jdt.core.JavaCore#getGeneratedResources(IRegion, boolean) to be able to get the generated resources for all |
| 765 |
elements of a IRegion. See bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=6584">6584</a> for details.</li> |
| 766 |
</ul> |
| 767 |
|
| 768 |
<h3>Problem Reports Fixed</h3> |
| 769 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=177623">177623</a> |
| 770 |
[1.6][compiler] Stackmap frames generation should be protected against invalid code |
| 771 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=177621">177621</a> |
| 772 |
XML log might be corrupted if an exception occurs while extracting problem context |
| 773 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=176725">176725</a> |
| 774 |
[recovery] member value array initializer aren;t correctly recovered |
| 775 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=168077">168077</a> |
| 776 |
[classpath] Let classpath containers define what is configurable |
| 777 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=177478">177478</a> |
| 778 |
[formatter] Indent new lines option adds extra empty lines |
| 779 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=130001">130001</a> |
| 780 |
[api][AST] org.eclipse.jdt.core.dom.AST: should have API hasResolvedBindings, hasStatementRecovery |
| 781 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149567">149567</a> |
| 782 |
AST DCR: Allow incomplete variable bindings |
| 783 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=177009">177009</a> |
| 784 |
[javadoc] Missing Javadoc tag not reported |
| 785 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=177319">177319</a> |
| 786 |
Annotation Processing (APT) affects eclipse speed |
| 787 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=177194">177194</a> |
| 788 |
[1.5][compiler] preserveAllLocals option has undesirable side-effect when invoking generic method |
| 789 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=177372">177372</a> |
| 790 |
[1.5][compiler] Missing unboxing conversion when no value required from message send |
| 791 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=176825">176825</a> |
| 792 |
FullSourceWorkspaceCompletionTests doesn't run correctly |
| 793 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=177386">177386</a> |
| 794 |
Wording in Javadoc of TypeNameMatch and -Requestor |
| 795 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=177115">177115</a> |
| 796 |
NullPointerException in BindingKeyResolver.consumeTypeVariable(...) |
| 797 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=175243">175243</a> |
| 798 |
[model] Let working copy owner control the problem requestor used |
| 799 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=163733">163733</a> |
| 800 |
IncrementalImageBuilder.deleteGeneratedFiles() is broken |
| 801 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=177079">177079</a> |
| 802 |
Add jdt.apt.pluggable.core as x-friend to jdt.core |
| 803 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=6584">6584</a> |
| 804 |
Need a way to get class files for a java file (or CU) |
| 805 |
|
| 806 |
<a name="v_741"></a> |
| 807 |
<hr><h1> |
| 808 |
Eclipse Platform Build Notes<br> |
| 809 |
Java development tools core</h1> |
| 810 |
Eclipse SDK 3.3M6 - March 13, 2007 |
| 811 |
<br>Project org.eclipse.jdt.core v_741 |
| 812 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_741">cvs</a>). |
| 813 |
<h2>What's new in this drop</h2> |
| 814 |
<ul> |
| 815 |
<li>The non-Java resources in jar files returned by <code>IPackageFragmentRoot#getNonJavaResources()</code> and |
| 816 |
<code>IPackageFragment#getNonJavaResources()</code> are now of type <code>IJarEntryResource</code> (a subinterface |
| 817 |
of <code>IStorage</code>). This interface allows to navigate the tree of non-Java resources using the |
| 818 |
<code>getChildren()</code> and <code>getParent()</code> methods.</li> |
| 819 |
</ul> |
| 820 |
|
| 821 |
<h3>Problem Reports Fixed</h3> |
| 822 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=176269">176269</a> |
| 823 |
[index] NullPointerException filtering for exception breakpoint |
| 824 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=176027">176027</a> |
| 825 |
[javadoc] {@link} to member type handled incorrectly |
| 826 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=153044">153044</a> |
| 827 |
JarEntryFile does not return fully qualified path |
| 828 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=170595">170595</a> |
| 829 |
[batch][compiler] BatchCompilerTest#test024 is no more significant |
| 830 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=176971">176971</a> |
| 831 |
[assist] types are computed if TYPE_REF are filterred and JAVADOC_TYPE_REF aren't filtered |
| 832 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=175987">175987</a> |
| 833 |
[1.5][compiler] Missing error when implementing a method with a mix of parameterized and raw generics |
| 834 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148944">148944</a> |
| 835 |
need to render resource folders in JARs |
| 836 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=176190">176190</a> |
| 837 |
[assist] Inferred variable names are not good when the declared type is a base type |
| 838 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=176057">176057</a> |
| 839 |
IAE in ASTConverter for invalid source range |
| 840 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=174436">174436</a> |
| 841 |
API request: MethodInvocation/SuperMethodInvocation#isResolvedTypeInferredFromExpectedType() |
| 842 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=176364">176364</a> |
| 843 |
[assist] missing return and continue proposals within switch statements |
| 844 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161704">161704</a> |
| 845 |
[model] Improve progress for Java initialization task job |
| 846 |
|
| 847 |
<a name="v_740"></a> |
| 848 |
<hr><h1> |
| 849 |
Eclipse Platform Build Notes<br> |
| 850 |
Java development tools core</h1> |
| 851 |
Eclipse SDK 3.3M6 - March 6, 2007 |
| 852 |
<br>Project org.eclipse.jdt.core v_740 |
| 853 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_740">cvs</a>). |
| 854 |
<h2>What's new in this drop</h2> |
| 855 |
<ul> |
| 856 |
<li>Refined the problem IDs and messages associated to null-related issues |
| 857 |
detection, for which typical examples would now be: |
| 858 |
<ul> |
| 859 |
<li><code>NullLocalVariableReference</code> - Null pointer access: The variable o can only be null at this location</li> |
| 860 |
<li><code>PotentialNullLocalVariableReference</code> - Potential null pointer access: The variable o may be null at this location</li> |
| 861 |
<li><code>RedundantNullCheckOnNullLocalVariable</code> - Redundant null check: The variable o can only be null at this location</li> |
| 862 |
<li><code>NullLocalVariableComparisonYieldsFalse</code> - Null comparison always yields false: The variable x can only be null at this location</li> |
| 863 |
<li><code>RedundantLocalVariableNullAssignment</code> - Redundant assignment: The variable x can only be null at this location</li> |
| 864 |
<li><code>NullLocalVariableInstanceofYieldsFalse</code> - instanceof always yields false: The variable o can only be null at this location</li> |
| 865 |
<li><code>RedundantNullCheckOnNonNullLocalVariable</code> - Redundant null check: The variable o2 cannot be null at this location</li> |
| 866 |
<li><code>NonNullLocalVariableComparisonYieldsFalse</code> - Null comparison always yields false: The variable i cannot be null at this location</li> |
| 867 |
</ul> |
| 868 |
Note that problem IDs <code>LocalVariableCannotBeNull</code>, |
| 869 |
<code>LocalVariableCanOnlyBeNull</code>, and |
| 870 |
<code>LocalVariableMayBeNull</code> have been deprecated.<br> |
| 871 |
See bugs <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=175570">175570</a> |
| 872 |
and <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=175571">175571</a> |
| 873 |
for details. |
| 874 |
</li> |
| 875 |
<li>The API method <code>IClassFile#getType()</code> does not longer throw <code>JavaModelException</code> |
| 876 |
(see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=154667">154667</a>).</li> |
| 877 |
<li>Code Assist: unresolved simple names are proposed when completing a simple name reference<br> |
| 878 |
<pre> |
| 879 |
package test; |
| 880 |
public class E1 { |
| 881 |
void m() { |
| 882 |
variable = 10; |
| 883 |
System.out.println(v); // do completion after 'v' |
| 884 |
} |
| 885 |
} |
| 886 |
</pre> |
| 887 |
When <i>v</i> is completed, <i>variable</i> is proposed as a possible local variable which are not yet declared.<br> |
| 888 |
Unresolved simple names are searched before and after the completion location. |
| 889 |
</li> |
| 890 |
</ul> |
| 891 |
|
| 892 |
<h3>Problem Reports Fixed</h3> |
| 893 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=174588">174588</a> |
| 894 |
[compiler] Code in abstract class calls wrong overloaded method. Correct method is defined in the implemented interface. |
| 895 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=176321">176321</a> |
| 896 |
Test failures in MethodParameterGuessingCompletionTest |
| 897 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=176361">176361</a> |
| 898 |
[search] TypeNameMatchRequestorWrapper creates invalid handle for member type |
| 899 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=176358">176358</a> |
| 900 |
[search] Failure in JavaSearchBugsTest while running random tests order |
| 901 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147461">147461</a> |
| 902 |
[compiler][batch][options] tighten the use of : and ; within access restriction specifications |
| 903 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=162865">162865</a> |
| 904 |
Content assist for undeclared locals when using local |
| 905 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=154667">154667</a> |
| 906 |
IClassFile#getType() should not throw JavaModelException |
| 907 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=175571">175571</a> |
| 908 |
[compiler][null] Better compiler message for 'Redundant null check' |
| 909 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=175570">175570</a> |
| 910 |
[compiler][null] Improve compiler message for 'Null reference' |
| 911 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=175849">175849</a> |
| 912 |
Project is touched on restart |
| 913 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=175832">175832</a> |
| 914 |
[recovery] $missing$ should not be shown inside a message |
| 915 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=175834">175834</a> |
| 916 |
[assist] already defined name is proposed as variable name |
| 917 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=175531">175531</a> |
| 918 |
Livelock in OverflowingLRUCache.privateRemoveEntry |
| 919 |
|
| 920 |
<a name="v_739"></a> |
| 921 |
<hr><h1> |
| 922 |
Eclipse Platform Build Notes<br> |
| 923 |
Java development tools core</h1> |
| 924 |
Eclipse SDK 3.3M6 - 27th February 2007 |
| 925 |
<br>Project org.eclipse.jdt.core v_739 |
| 926 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_739">cvs</a>). |
| 927 |
<h2>What's new in this drop</h2> |
| 928 |
<ul> |
| 929 |
<li>Refined the options that control null-related issues detection. The existing |
| 930 |
<code>nullReference</code> option has been repurposed and split into three |
| 931 |
options: |
| 932 |
<pre> |
| 933 |
COMPILER / Reporting Null Dereference |
| 934 |
When enabled, the compiler will issue an error or a warning whenever a |
| 935 |
variable that is statically known to hold a null value is used to |
| 936 |
access a field or method. |
| 937 |
- option id: "org.eclipse.jdt.core.compiler.problem.nullReference" |
| 938 |
- possible values: { "error", "warning", "ignore" } |
| 939 |
- default: "ignore" |
| 940 |
COMPILER / Reporting Potential Null Dereference |
| 941 |
When enabled, the compiler will issue an error or a warning whenever a |
| 942 |
variable that has formerly been tested against null but is not (no more) |
| 943 |
statically known to hold a non-null value is used to access a field or |
| 944 |
method. |
| 945 |
- option id: "org.eclipse.jdt.core.compiler.problem.potentialNullReference" |
| 946 |
- possible values: { "error", "warning", "ignore" } |
| 947 |
- default: "ignore" |
| 948 |
COMPILER / Reporting Redundant Null Check |
| 949 |
When enabled, the compiler will issue an error or a warning whenever a |
| 950 |
variable that is statically known to hold a null or a non-null value |
| 951 |
is tested against null. |
| 952 |
- option id: "org.eclipse.jdt.core.compiler.problem.redundantNullCheck" |
| 953 |
- possible values: { "error", "warning", "ignore" } |
| 954 |
- default: "ignore" |
| 955 |
</pre> |
| 956 |
See bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=170704">170704</a> |
| 957 |
for details. |
| 958 |
</li> |
| 959 |
</ul> |
| 960 |
|
| 961 |
<h3>Problem Reports Fixed</h3> |
| 962 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=170704">170704</a> |
| 963 |
[compiler][null][enh] separate "null dereference" and "null reference" compiler options |
| 964 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=172666">172666</a> |
| 965 |
Importing pde.ui and dependencies as binary gives compile error |
| 966 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=174971">174971</a> |
| 967 |
[index] Many exceptions from background indexer |
| 968 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=172913">172913</a> |
| 969 |
[compiler][1.5] an extra checkcast bytecode instruction generated |
| 970 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=174879">174879</a> |
| 971 |
[1.5][compiler] Optimisation for empty if blocks results in not evaluating the test expression |
| 972 |
|
| 973 |
<a name="v_738"></a> |
| 974 |
<hr><h1> |
| 975 |
Eclipse Platform Build Notes<br> |
| 976 |
Java development tools core</h1> |
| 977 |
Eclipse SDK 3.3M6 - 21st February 2007 |
| 978 |
<br>Project org.eclipse.jdt.core v_738 |
| 979 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_738">cvs</a>). |
| 980 |
<h2>What's new in this drop</h2> |
| 981 |
|
| 982 |
<h3>Problem Reports Fixed</h3> |
| 983 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=171802">171802</a> |
| 984 |
[javadoc][select] F3 does not work on method which have deprecated type as argument |
| 985 |
|
| 986 |
<a name="v_737"></a> |
| 987 |
<hr><h1> |
| 988 |
Eclipse Platform Build Notes<br> |
| 989 |
Java development tools core</h1> |
| 990 |
Eclipse SDK 3.3M6 - 20th February 2007 |
| 991 |
<br>Project org.eclipse.jdt.core v_737 |
| 992 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_737">cvs</a>). |
| 993 |
<h2>What's new in this drop</h2> |
| 994 |
<ul> |
| 995 |
<li>API added on <code>org.eclipse.jdt.core.IClassFile</code>: |
| 996 |
<pre> |
| 997 |
/** |
| 998 |
* Returns the bytes contained in this class file. |
| 999 |
* |
| 1000 |
* @return the bytes contained in this class file |
| 1001 |
* |
| 1002 |
* @exception JavaModelException if this element does not exist or if an |
| 1003 |
* exception occurs while accessing its corresponding resource |
| 1004 |
* @since 3.3 |
| 1005 |
*/ |
| 1006 |
byte[] getBytes() throws JavaModelException; |
| 1007 |
</pre> |
| 1008 |
See bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=150244">150244</a> for details. |
| 1009 |
</li> |
| 1010 |
</ul> |
| 1011 |
|
| 1012 |
<h3>Problem Reports Fixed</h3> |
| 1013 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=171653">171653</a> |
| 1014 |
[index] Java Tooling initialization performance issue after startup |
| 1015 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=174348">174348</a> |
| 1016 |
[classpath] Classpath validation messages are non-standard |
| 1017 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=172345">172345</a> |
| 1018 |
[model][delta] path error markers are not regenerated on project rebuild |
| 1019 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=97199">97199</a> |
| 1020 |
[formatting] Code formatting activation in comments (using <PRE>) is case sensitive |
| 1021 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=150244">150244</a> |
| 1022 |
[API] Add getBytes() on IClassFile |
| 1023 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=174434">174434</a> |
| 1024 |
[1.5][compiler] Parameterized constructor leads to Internal Errror |
| 1025 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=152850">152850</a> |
| 1026 |
[formatter] Formatter marks unchanged file dirty |
| 1027 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=104371">104371</a> |
| 1028 |
[JDOM] JDOM should not crash on 1.5 code |
| 1029 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=168910">168910</a> |
| 1030 |
Should default compliance be 6.0 in JSR199 batch compilation? |
| 1031 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=167317">167317</a> |
| 1032 |
ecjsrc.zip should contain a build system |
| 1033 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=173992">173992</a> |
| 1034 |
Duplicate local variable for exception in different catch blocks |
| 1035 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=174298">174298</a> |
| 1036 |
Wrong NAME_PROPERTY child type for AnnotationTypeDeclaration and EnumDeclaration |
| 1037 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=174002">174002</a> |
| 1038 |
[assist] Exceptions which are already covered by the another exception are proposed |
| 1039 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=174001">174001</a> |
| 1040 |
[assist] Unexpected types are proposed inside catch block |
| 1041 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149154">149154</a> |
| 1042 |
BinaryMethod#getParameterNames() should not try to extract from attached javadoc for synthetics |
| 1043 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=174131">174131</a> |
| 1044 |
[assist] Result of test CompletionTests#testCompletionInsideExtends10 is wrong |
| 1045 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=34373">34373</a> |
| 1046 |
Class file view doesn't show actual modifiers for member types |
| 1047 |
|
| 1048 |
<a name="v_736"></a> |
| 1049 |
<hr><h1> |
| 1050 |
Eclipse Platform Build Notes<br> |
| 1051 |
Java development tools core</h1> |
| 1052 |
Eclipse SDK 3.3M6 - 13th February 2007 |
| 1053 |
<br>Project org.eclipse.jdt.core v_736 |
| 1054 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_736">cvs</a>). |
| 1055 |
<h2>What's new in this drop</h2> |
| 1056 |
|
| 1057 |
<h3>Problem Reports Fixed</h3> |
| 1058 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=158039">158039</a> |
| 1059 |
[ast rewrite] ArrayIndexOutOfBoundsException when rewriting |
| 1060 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=173907">173907</a> |
| 1061 |
[code assist] severe NPE on exception completions |
| 1062 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=173800">173800</a> |
| 1063 |
[compiler] suboptimal line number attributes for cascading field accesses |
| 1064 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=173849">173849</a> |
| 1065 |
ITypeBinding#getJavaElement() fails for array of inner type |
| 1066 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=173853">173853</a> |
| 1067 |
[recovery] Recovery add an unnecessary default contructor |
| 1068 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=173013">173013</a> |
| 1069 |
[assist] NPE while completing in catch formal parameter |
| 1070 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=142234">142234</a> |
| 1071 |
problem range includes parenthesis for warning on expression |
| 1072 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=107001">107001</a> |
| 1073 |
ITypeBinding#getBinaryName() returns java.lang.Object for type variable |
| 1074 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156307">156307</a> |
| 1075 |
JavaElement.getURLContents() hack breaks "Open External Javadoc" |
| 1076 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=111529">111529</a> |
| 1077 |
npe trying to get ITypeBinding for parameterized type |
| 1078 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=144742">144742</a> |
| 1079 |
Setting the bootclasspath for some VMs fails the evaluation tests |
| 1080 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=172743">172743</a> |
| 1081 |
[jsr269] APT needs to convert IFile into internal ICompilationUnit |
| 1082 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=138897">138897</a> |
| 1083 |
Error ranges for unreachable code |
| 1084 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=172848">172848</a> |
| 1085 |
[formatter] code formatter produces syntax error (unary operator+ followed by prefix increment operator++) |
| 1086 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=173376">173376</a> |
| 1087 |
[jsr269] Multiple annotations on class, only first is resolved |
| 1088 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=173416">173416</a> |
| 1089 |
[compiler][batch][options] ecj doesn't support classpath entry starting with [ |
| 1090 |
|
| 1091 |
<a name="v_735"></a> |
| 1092 |
<hr><h1> |
| 1093 |
Eclipse Platform Build Notes<br> |
| 1094 |
Java development tools core</h1> |
| 1095 |
Eclipse SDK 3.3M5 - 8th February 2007 - 3.3 MILESTONE 5 |
| 1096 |
<br>Project org.eclipse.jdt.core v_735 |
| 1097 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_735">cvs</a>). |
| 1098 |
<h2>What's new in this drop</h2> |
| 1099 |
|
| 1100 |
<h3>Problem Reports Fixed</h3> |
| 1101 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=172633">172633</a> |
| 1102 |
NPEs while starting my workspace |
| 1103 |
|
| 1104 |
<a name="v_734"></a> |
| 1105 |
<hr><h1> |
| 1106 |
Eclipse Platform Build Notes<br> |
| 1107 |
Java development tools core</h1> |
| 1108 |
Eclipse SDK 3.3M5 - 3rd February 2007 |
| 1109 |
<br>Project org.eclipse.jdt.core v_734 |
| 1110 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_734">cvs</a>). |
| 1111 |
<h2>What's new in this drop</h2> |
| 1112 |
<ul> |
| 1113 |
<li>New extension point has been added to register an annotation processor manager inside the Java Builder. |
| 1114 |
See bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=172369">172369</a> for details.</li> |
| 1115 |
<li>In order to fix bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=49412">49412</a>, the following constants have been deprecated: |
| 1116 |
<ul> |
| 1117 |
<li>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants.FORMATTER_COMMENT_CLEAR_BLANK_LINES</li> |
| 1118 |
<li>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT</li> |
| 1119 |
</ul> |
| 1120 |
They have been replaced by these constants respectively: |
| 1121 |
<ul> |
| 1122 |
<li>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants.FORMATTER_COMMENT_CLEAR_BLANK_LINES_IN_JAVADOC_COMMENT<br> |
| 1123 |
org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants.FORMATTER_COMMENT_CLEAR_BLANK_LINES_IN_BLOCK_COMMENT</li> |
| 1124 |
<li>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_LINE_COMMENT<br> |
| 1125 |
org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_BLOCK_COMMENT<br> |
| 1126 |
org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_JAVADOC_COMMENT</li> |
| 1127 |
</ul> |
| 1128 |
</li> |
| 1129 |
</ul> |
| 1130 |
|
| 1131 |
<h3>Problem Reports Fixed</h3> |
| 1132 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=172648">172648</a> |
| 1133 |
[model] Some inconsistencies while adding listeners to DeltaProcessingState |
| 1134 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=49412">49412</a> |
| 1135 |
[formatting] Offer comment formatting options per comment type |
| 1136 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161996">161996</a> |
| 1137 |
[compiler][batch][options] ecj can't cope with [] brackets in classpath names |
| 1138 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=172444">172444</a> |
| 1139 |
build workspace operation launched after each startup |
| 1140 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=172028">172028</a> |
| 1141 |
[clean up] Sort members clean up leaks working copies |
| 1142 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=172369">172369</a> |
| 1143 |
Adding an extension point to register an annotation processor inside the java builder |
| 1144 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=172189">172189</a> |
| 1145 |
[1.5][compiler] NPE in CompilationUnitProblemFinder.process with explicit wildcard invocation |
| 1146 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=172207">172207</a> |
| 1147 |
[model] Marker for deprecated classpath variable should always have WARNING severity |
| 1148 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=172328">172328</a> |
| 1149 |
Javadoc for SearchEngine.searchAllTypeNames(..) has wrong @param ordering |
| 1150 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=171684">171684</a> |
| 1151 |
Replace references to IMarker.GENERATED_BY with IMarker.SOURCE_ID |
| 1152 |
|
| 1153 |
<a name="v_733"></a> |
| 1154 |
<hr><h1> |
| 1155 |
Eclipse Platform Build Notes<br> |
| 1156 |
Java development tools core</h1> |
| 1157 |
Eclipse SDK 3.3M5 - 30th January 2007 |
| 1158 |
<br>Project org.eclipse.jdt.core v_733 |
| 1159 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_733">cvs</a>). |
| 1160 |
<h2>What's new in this drop</h2> |
| 1161 |
<ul> |
| 1162 |
<li>New API added in <code>org.eclipse.jdt.core.compiler.CharOperation</code>:<br> |
| 1163 |
<pre> |
| 1164 |
/** |
| 1165 |
* Compares the two char arrays lexicographically. |
| 1166 |
* |
| 1167 |
* Returns a negative integer if array1 lexicographically precedes the array2, |
| 1168 |
* a positive integer if this array1 lexicographically follows the array2, or |
| 1169 |
* zero if both arrays are equal. |
| 1170 |
* |
| 1171 |
* @param array1 the first array |
| 1172 |
* @param array2 the second array |
| 1173 |
* @return the returned value of the comparison between array1 and array2 |
| 1174 |
* @throws NullPointerException if one of the arrays is null |
| 1175 |
* @since 3.3 |
| 1176 |
*/ |
| 1177 |
public static final int compareTo(char[] array1, char[] array2) |
| 1178 |
</pre> |
| 1179 |
</li> |
| 1180 |
<li>New API added in <code>org.eclipse.jdt.core.util.CompilationUnitSorter</code>:<br> |
| 1181 |
<pre> /** |
| 1182 |
* Reorders the declarations in the given compilation unit according to the |
| 1183 |
* specified comparator. The caller is responsible for arranging in advance |
| 1184 |
* that the given compilation unit is a working copy, and for applying the |
| 1185 |
* returned TextEdit afterwards. |
| 1186 |
* |
| 1187 |
* <b>Note:</b> Reordering the members within a type declaration might be |
| 1188 |
* more than a cosmetic change and could have potentially serious |
| 1189 |
* repercussions. Firstly, the order in which the fields of a type are |
| 1190 |
* initialized is significant in the Java language; reordering fields and |
| 1191 |
* initializers may result in compilation errors or change the execution |
| 1192 |
* behavior of the code. Secondly, reordering a class's members may affect |
| 1193 |
* how its instances are serialized. This operation should therefore be used |
| 1194 |
* with caution and due concern for potential negative side effects. |
| 1195 |
* |
| 1196 |
* |
| 1197 |
* The <code>compare</code> method of the given comparator is passed pairs |
| 1198 |
* of body declarations (subclasses of <code>BodyDeclaration</code>) |
| 1199 |
* representing body declarations at the same level. The nodes are from an |
| 1200 |
* AST of the specified level ({@link org.eclipse.jdt.core.dom.ASTParser#newParser(int)}. |
| 1201 |
* Clients will generally use AST.JLS3 since that will cover all |
| 1202 |
* constructs found in Java 1.0, 1.1, 1.2, 1.3, 1.4, and 1.5 source code. |
| 1203 |
* The comparator is called on body declarations of nested classes, |
| 1204 |
* including anonymous and local classes, but always at the same level. |
| 1205 |
* Clients need to provide a comparator implementation (there is no standard |
| 1206 |
* comparator). The <code>RELATIVE_ORDER</code> property attached to these |
| 1207 |
* AST nodes affords the comparator a way to preserve the original relative |
| 1208 |
* order. |
| 1209 |
* |
| 1210 |
* |
| 1211 |
* The body declarations passed as parameters to the comparator always carry |
| 1212 |
* at least the following minimal signature information: |
| 1213 |
* |
| 1214 |
* |
| 1215 |
* <code>TypeDeclaration</code> |
| 1216 |
* <code>modifiers, isInterface, name, superclass, |
| 1217 |
* superInterfaces, typeParameters |
| 1218 |
* RELATIVE_ORDER property</code> |
| 1219 |
* |
| 1220 |
* <code>FieldDeclaration</code> |
| 1221 |
* <code>modifiers, type, fragments |
| 1222 |
* (VariableDeclarationFragments |
| 1223 |
* with name only) |
| 1224 |
* RELATIVE_ORDER property</code> |
| 1225 |
* |
| 1226 |
* <code>MethodDeclaration</code> |
| 1227 |
* <code>modifiers, isConstructor, returnType, name, |
| 1228 |
* typeParameters, parameters |
| 1229 |
* (SingleVariableDeclarations with name, type, and modifiers only), |
| 1230 |
* thrownExceptions |
| 1231 |
* RELATIVE_ORDER property</code> |
| 1232 |
* |
| 1233 |
* <code>Initializer</code> |
| 1234 |
* <code>modifiers |
| 1235 |
* RELATIVE_ORDER property</code> |
| 1236 |
* |
| 1237 |
* <code>AnnotationTypeDeclaration</code> |
| 1238 |
* <code>modifiers, name |
| 1239 |
* RELATIVE_ORDER property</code> |
| 1240 |
* |
| 1241 |
* <code>AnnotationTypeMemberDeclaration</code> |
| 1242 |
* <code>modifiers, name, type, default |
| 1243 |
* RELATIVE_ORDER property</code> |
| 1244 |
* |
| 1245 |
* <code>EnumDeclaration</code> |
| 1246 |
* <code>modifiers, name, superInterfaces |
| 1247 |
* RELATIVE_ORDER property</code> |
| 1248 |
* |
| 1249 |
* <code>EnumConstantDeclaration</code> |
| 1250 |
* <code>modifiers, name, arguments |
| 1251 |
* RELATIVE_ORDER property</code> |
| 1252 |
* |
| 1253 |
* Clients should not rely on the AST nodes being properly parented |
| 1254 |
* or on having source range information. (Future releases may provide |
| 1255 |
* options for requesting additional information like source positions, full |
| 1256 |
* ASTs, non-recursive sorting, etc.) |
| 1257 |
* |
| 1258 |
* @param unit |
| 1259 |
* the CompilationUnit to sort |
| 1260 |
* @param comparator |
| 1261 |
* the comparator capable of ordering |
| 1262 |
* <code>BodyDeclaration</code>s; this comparator is passed |
| 1263 |
* AST nodes from an AST of the specified AST level |
| 1264 |
* @param options |
| 1265 |
* bitwise-or of option flags; <code>0</code> for default |
| 1266 |
* behavior (reserved for future growth) |
| 1267 |
* @param group |
| 1268 |
* the text edit group to use when generating text edits, or <code>null</code> |
| 1269 |
* @param monitor |
| 1270 |
* the progress monitor to notify, or <code>null</code> if none |
| 1271 |
* @return a TextEdit describing the required edits to do the sort, or <code>null</code> |
| 1272 |
* if sorting is not required |
| 1273 |
* @exception JavaModelException |
| 1274 |
* if the compilation unit could not be sorted. Reasons |
| 1275 |
* include: |
| 1276 |
* - The given compilation unit does not exist |
| 1277 |
* (ELEMENT_DOES_NOT_EXIST) |
| 1278 |
* - The given compilation unit is not a working copy |
| 1279 |
* (INVALID_ELEMENT_TYPES) |
| 1280 |
* - A <code>CoreException</code> occurred while |
| 1281 |
* accessing the underlying resource |
| 1282 |
* - The given compilation unit doesn't come from an ICompilationUnit and this ICompilationUnit is |
| 1283 |
* not a working copy (NO_ELEMENTS_TO_PROCESS) |
| 1284 |
* @exception IllegalArgumentException |
| 1285 |
* if the given compilation unit is null or if the given |
| 1286 |
* comparator is null, or if <code>options</code> is not one |
| 1287 |
* of the supported levels. |
| 1288 |
* @see org.eclipse.jdt.core.dom.BodyDeclaration |
| 1289 |
* @see #RELATIVE_ORDER |
| 1290 |
* @since 3.3 |
| 1291 |
*/ |
| 1292 |
public static TextEdit sort(CompilationUnit unit, |
| 1293 |
Comparator comparator, |
| 1294 |
int options, |
| 1295 |
TextEditGroup group, |
| 1296 |
IProgressMonitor monitor) throws JavaModelException;</pre> |
| 1297 |
</li> |
| 1298 |
</ul> |
| 1299 |
|
| 1300 |
<h3>Problem Reports Fixed</h3> |
| 1301 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=166354">166354</a> |
| 1302 |
[1.5][compiler] extraneous error caused by a non visible method of an inherited |
| 1303 |
class taking precedence over a visible method of an enclosing class |
| 1304 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=167190">167190</a> |
| 1305 |
[search] TypeNameMatchRequestorWrapper causing ClassCastException |
| 1306 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=141830">141830</a> |
| 1307 |
[1.3][compiler] Severe runtime errors with anonymous classes |
| 1308 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=171634">171634</a> |
| 1309 |
[formatter] doesn't add line feed at end of file |
| 1310 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=171472">171472</a> |
| 1311 |
[1.6][compiler] Illegal stack map frames |
| 1312 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=163590">163590</a> |
| 1313 |
[1.5][compiler] Incompatible type bounds message points to the generic type instead of its type parameter |
| 1314 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=171771">171771</a> |
| 1315 |
[assist] JAVADOC_TYPE_REF aren't correctly filtered |
| 1316 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=171184">171184</a> |
| 1317 |
[compiler] Java compiler does not generate InnerClass attribute as per JVMS |
| 1318 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=173279">173279</a> |
| 1319 |
[indexing] Category table is not cached for rt.jar since 1.5 version |
| 1320 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=138309">138309</a> |
| 1321 |
[index] Optimize index files path storage in DiskIndex and IndexManager |
| 1322 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=166570">166570</a> |
| 1323 |
[assist] Proposal computer from the 'org.eclipse.mylar.java' plug-in did not complete normally |
| 1324 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=162073">162073</a> |
| 1325 |
[compiler] extraneous interface compatibility error |
| 1326 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=171066">171066</a> |
| 1327 |
Provide TextEdit when sorting compilation unit |
| 1328 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=170318">170318</a> |
| 1329 |
[1.5][compiler] improve message on nameclash when overriding method with "wildcard" parameter |
| 1330 |
|
| 1331 |
<a name="v_732"></a> |
| 1332 |
<hr><h1> |
| 1333 |
Eclipse Platform Build Notes<br> |
| 1334 |
Java development tools core</h1> |
| 1335 |
Eclipse SDK 3.3M5 - 23rd January 2007 |
| 1336 |
<br>Project org.eclipse.jdt.core v_732 |
| 1337 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_732">cvs</a>). |
| 1338 |
<h2>What's new in this drop</h2> |
| 1339 |
<ul> |
| 1340 |
<li>Code Assist: Exception thrown in a try block are more relevant if the completion occurs in a catch clause. |
| 1341 |
Already caught exceptions are filtered. |
| 1342 |
<pre> |
| 1343 |
public class X { |
| 1344 |
void foo() throws XAException, XBException {} |
| 1345 |
void bar() { |
| 1346 |
try { |
| 1347 |
foo(); |
| 1348 |
} catch(XAException e) { |
| 1349 |
} catch(X| //do ctrl + space at | |
| 1350 |
} |
| 1351 |
</pre> |
| 1352 |
In this example XBException will more relevant than XCException and XAException won't be proposed. |
| 1353 |
</li> |
| 1354 |
<li>Classpath variable may now be flagged as deprecated or read-only (see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=138599">138599</a> |
| 1355 |
and bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156226">156226</a>).<br> |
| 1356 |
Two new attributes have been added on <code>ClasspathVariableInitializer</code> schema: |
| 1357 |
<pre> |
| 1358 |
<element name="classpathVariableInitializer"> |
| 1359 |
<complexType> |
| 1360 |
... |
| 1361 |
<attribute name="deprecated" type="string"> |
| 1362 |
<annotation> |
| 1363 |
<documentation> |
| 1364 |
String explaining the reason why the associated variable is deprecated |
| 1365 |
</documentation> |
| 1366 |
<appInfo> |
| 1367 |
<meta.attribute translatable="true"/> |
| 1368 |
</appInfo> |
| 1369 |
</annotation> |
| 1370 |
</attribute> |
| 1371 |
<attribute name="readOnly" type="boolean"> |
| 1372 |
<annotation> |
| 1373 |
<documentation> |
| 1374 |
Indicates that the associated variable cannot be modified |
| 1375 |
</documentation> |
| 1376 |
</annotation> |
| 1377 |
</attribute> |
| 1378 |
</complexType> |
| 1379 |
</element> |
| 1380 |
</pre> |
| 1381 |
When deprecated attribute is set on ClasspathVariableInitializer extension point, classpath entry validation |
| 1382 |
returns a warning status if no other error was previously detected. |
| 1383 |
<br> |
| 1384 |
For example, following <code> classpathVariableInitializer</code> extension point set |
| 1385 |
the <code>TEST</code> classpath variable as deprecated and read-only: |
| 1386 |
<pre> |
| 1387 |
<extension |
| 1388 |
point="org.eclipse.jdt.core.classpathVariableInitializer"> |
| 1389 |
<classpathVariableInitializer |
| 1390 |
class="org.eclipse.jdt.tests.model.TestInitializer" |
| 1391 |
deprecated="The reason why this variable is deprecated" |
| 1392 |
readOnly="true" |
| 1393 |
variable="TEST"> |
| 1394 |
</classpathVariableInitializer> |
| 1395 |
</extension> |
| 1396 |
</pre> |
| 1397 |
Calling <code>JavaConventions.validateClasspathEntry(IJavaProject, IClasspathEntry, boolean)</code> |
| 1398 |
method on this variable entry will return a <code>IStatus.WARNING</code> status with following message: |
| 1399 |
. |
| 1400 |
<br> |
| 1401 |
Classpath variable deprecation message and read-only information are accessible using two new added |
| 1402 |
<code>JavaCore</code> API methods: |
| 1403 |
<pre> |
| 1404 |
/** |
| 1405 |
* Returns deprecation message of a given classpath variable. |
| 1406 |
* |
| 1407 |
* @param variableName |
| 1408 |
* @return A string if the classpath variable is deprecated, <code>null</code> otherwise. |
| 1409 |
* @since 3.3 |
| 1410 |
*/ |
| 1411 |
public static String getClasspathVariableDeprecationMessage(String variableName) |
| 1412 |
|
| 1413 |
/** |
| 1414 |
* Returns whether a given classpath variable is read-only or not. |
| 1415 |
* |
| 1416 |
* @param variableName |
| 1417 |
* @return <code>true</code> if the classpath variable is read-only, |
| 1418 |
* <code>false</code> otherwise. |
| 1419 |
* @since 3.3 |
| 1420 |
*/ |
| 1421 |
public static boolean isClasspathVariableReadOnly(String variableName) |
| 1422 |
</pre> |
| 1423 |
</li> |
| 1424 |
</ul> |
| 1425 |
|
| 1426 |
<h3>Problem Reports Fixed</h3> |
| 1427 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=169017">169017</a> |
| 1428 |
[1.6][compiler] VerifyError: Inconsistent stackmap frames |
| 1429 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156226">156226</a> |
| 1430 |
[model][classpath] Allow classpath variable to be marked as non modifiable |
| 1431 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=138599">138599</a> |
| 1432 |
[model][classpath] Need a way to mark a classpath variable as deprecated |
| 1433 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157584">157584</a> |
| 1434 |
[content assist] There is no content assist for catching exceptions |
| 1435 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=171016">171016</a> |
| 1436 |
[javadoc][assist] No completion for tag when uppercase is used |
| 1437 |
|
| 1438 |
|
| 1439 |
<a name="v_731"></a> |
| 1440 |
<hr><h1> |
| 1441 |
Eclipse Platform Build Notes<br> |
| 1442 |
Java development tools core</h1> |
| 1443 |
Eclipse SDK 3.3M5 - 16th January 2007 |
| 1444 |
<br>Project org.eclipse.jdt.core v_731 |
| 1445 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_731">cvs</a>). |
| 1446 |
<h2>What's new in this drop</h2> |
| 1447 |
<ul> |
| 1448 |
<li>The compiler can now detect unused local types (as opposed to only private types up until now). </li> |
| 1449 |
<li>The compiler is now better able to detect unused private constructors, it now tolerates more than the |
| 1450 |
private constructor with no parameter as the known pattern for blocking instantiation. Basically, unless a |
| 1451 |
non private constructor is defined as well, it will ignore unused private constructors from now on (also see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=163443">163443</a>).</li> |
| 1452 |
<li>Code Assist can propose import statements: |
| 1453 |
<pre> |
| 1454 |
public class CompletionProposal { |
| 1455 |
... |
| 1456 |
/** |
| 1457 |
* Completion is an import of reference to a static field. |
| 1458 |
* <p> |
| 1459 |
* The following additional context information is available |
| 1460 |
* for this kind of completion proposal at little extra cost: |
| 1461 |
* <ul> |
| 1462 |
* <li>{@link #getDeclarationSignature()} - |
| 1463 |
* the type signature of the type that declares the field that is imported |
| 1464 |
* </li> |
| 1465 |
* <li>{@link #getFlags()} - |
| 1466 |
* the modifiers flags (including ACC_ENUM) of the field that is imported |
| 1467 |
* </li> |
| 1468 |
* <li>{@link #getName()} - |
| 1469 |
* the simple name of the field that is imported |
| 1470 |
* </li> |
| 1471 |
* <li>{@link #getSignature()} - |
| 1472 |
* the type signature of the field's type (as opposed to the |
| 1473 |
* signature of the type in which the referenced field |
| 1474 |
* is declared) |
| 1475 |
* </li> |
| 1476 |
* <li>{@link #getAdditionalFlags()} - |
| 1477 |
* the completion flags (including ComletionFlags.StaticImport) |
| 1478 |
* of the proposed import |
| 1479 |
* </li> |
| 1480 |
* </ul> |
| 1481 |
* </p> |
| 1482 |
* |
| 1483 |
* @see #getKind() |
| 1484 |
* |
| 1485 |
* @since 3.3 |
| 1486 |
*/ |
| 1487 |
public static final int FIELD_IMPORT; |
| 1488 |
|
| 1489 |
/** |
| 1490 |
* Completion is an import of reference to a static method. |
| 1491 |
* <p> |
| 1492 |
* The following additional context information is available |
| 1493 |
* for this kind of completion proposal at little extra cost: |
| 1494 |
* <ul> |
| 1495 |
* <li>{@link #getDeclarationSignature()} - |
| 1496 |
* the type signature of the type that declares the method that is imported |
| 1497 |
* </li> |
| 1498 |
* <li>{@link #getFlags()} - |
| 1499 |
* the modifiers flags of the method that is imported |
| 1500 |
* </li> |
| 1501 |
* <li>{@link #getName()} - |
| 1502 |
* the simple name of the method that is imported |
| 1503 |
* </li> |
| 1504 |
* <li>{@link #getSignature()} - |
| 1505 |
* the method signature of the method that is imported |
| 1506 |
* </li> |
| 1507 |
* <li>{@link #getAdditionalFlags()} - |
| 1508 |
* the completion flags (including ComletionFlags.StaticImport) |
| 1509 |
* of the proposed import |
| 1510 |
* </li> |
| 1511 |
* </ul> |
| 1512 |
* </p> |
| 1513 |
* |
| 1514 |
* @see #getKind() |
| 1515 |
* |
| 1516 |
* @since 3.3 |
| 1517 |
*/ |
| 1518 |
public static final int METHOD_IMPORT; |
| 1519 |
|
| 1520 |
/** |
| 1521 |
* Completion is an import of reference to a type. |
| 1522 |
* Only reference to reference types are allowed. |
| 1523 |
* <p> |
| 1524 |
* The following additional context information is available |
| 1525 |
* for this kind of completion proposal at little extra cost: |
| 1526 |
* <ul> |
| 1527 |
* <li>{@link #getDeclarationSignature()} - |
| 1528 |
* the dot-based package name of the package that contains |
| 1529 |
* the type that is imported |
| 1530 |
* </li> |
| 1531 |
* <li>{@link #getSignature()} - |
| 1532 |
* the type signature of the type that is imported |
| 1533 |
* </li> |
| 1534 |
* <li>{@link #getFlags()} - |
| 1535 |
* the modifiers flags (including Flags.AccInterface, AccEnum, |
| 1536 |
* and AccAnnotation) of the type that is imported |
| 1537 |
* </li> |
| 1538 |
* <li>{@link #getAdditionalFlags()} - |
| 1539 |
* the completion flags (including ComletionFlags.StaticImport) |
| 1540 |
* of the proposed import |
| 1541 |
* </li> |
| 1542 |
* </ul> |
| 1543 |
* </p> |
| 1544 |
* |
| 1545 |
* @see #getKind() |
| 1546 |
* |
| 1547 |
* @since 3.3 |
| 1548 |
*/ |
| 1549 |
public static final int TYPE_IMPORT; |
| 1550 |
... |
| 1551 |
} |
| 1552 |
</pre></li> |
| 1553 |
<li>Code Assist propose completions computed from a list a favorite references. |
| 1554 |
<pre> |
| 1555 |
public class CompletionRequestor { |
| 1556 |
... |
| 1557 |
/** |
| 1558 |
* Returns the favorite references which are used to compute some completion proposals. |
| 1559 |
* <p> |
| 1560 |
* A favorite reference is a qualified reference as it can be seen in an import statement.<br> |
| 1561 |
* e.g. <code>{"java.util.Arrays"}</code><br> |
| 1562 |
* It can be an on demand reference.<br> |
| 1563 |
* e.g. <code>{"java.util.Arrays.*"}</code> |
| 1564 |
* It can be a reference to a static method or field (as in a static import)<br> |
| 1565 |
* e.g. <code>{"java.util.Arrays.equals"}</code> |
| 1566 |
* </p> |
| 1567 |
* <p> |
| 1568 |
* Currently only on demand type references (<code>"java.util.Arrays.*"</code>), |
| 1569 |
* references to a static method or a static field are used to compute completion proposals. |
| 1570 |
* Other kind of reference could be used in the future. |
| 1571 |
* </p> |
| 1572 |
* @return favorite imports |
| 1573 |
* |
| 1574 |
* @since 3.3 |
| 1575 |
*/ |
| 1576 |
public String[] getFavoriteReferences() {...} |
| 1577 |
|
| 1578 |
/** |
| 1579 |
* Set the favorite references which will be used to compute some completion proposals. |
| 1580 |
* A favorite reference is a qualified reference as it can be seen in an import statement.<br> |
| 1581 |
* |
| 1582 |
* @param favoriteImports |
| 1583 |
* |
| 1584 |
* @see #getFavoriteReferences() |
| 1585 |
* |
| 1586 |
* @since 3.3 |
| 1587 |
*/ |
| 1588 |
public void setFavoriteReferences(String[] favoriteImports) {...} |
| 1589 |
... |
| 1590 |
} |
| 1591 |
</pre> |
| 1592 |
With the following example if the favorite reference is <b>"java.util.Arrays.*"</b> then a proposal |
| 1593 |
will be the method <b>"sort()"</b> with a required proposal of a static import <b>"import static java.util.Arrays.sort;"</b>. |
| 1594 |
If the completion level is lesser than 1.5 the proposal will be <b>"Arrays.sort()"</b> with a required proposal of an import |
| 1595 |
<b>"import java.util.Arrays;"</b>. |
| 1596 |
<p> |
| 1597 |
The option <code>JavaCore.CODEASSIST_SUGGEST_STATIC_IMPORTS</code> can be disabled to avoid to propose static import |
| 1598 |
even if compliance is 1.5 or greater. |
| 1599 |
</p> |
| 1600 |
</li> |
| 1601 |
</ul> |
| 1602 |
|
| 1603 |
<h3>Problem Reports Fixed</h3> |
| 1604 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=168331">168331</a> |
| 1605 |
[1.5][compiler] AbstractMethodError on interface method |
| 1606 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=170181">170181</a> |
| 1607 |
[compiler] Could diagnose unused local types |
| 1608 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=144044">144044</a> |
| 1609 |
[search] NPE when trying to find references to field variable |
| 1610 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=152123">152123</a> |
| 1611 |
[1.5][assist] Code assist for references that require static imports |
| 1612 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=170247">170247</a> |
| 1613 |
[model] Document reasons to use or not use CompilationParticipant |
| 1614 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=140340">140340</a> |
| 1615 |
[5.0][templates] foreach template does not work when an Iterable over a static inner class exists |
| 1616 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=163443">163443</a> |
| 1617 |
[clean up] private constructor with parameter flagged as unnecessary |
| 1618 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=152961">152961</a> |
| 1619 |
[compiler] Private inner interface is "never used locally" |
| 1620 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157035">157035</a> |
| 1621 |
"Open Type Hierarchy" fails if subtype is anonymous or local class and location for this subtype contains ".class" |
| 1622 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=167488">167488</a> |
| 1623 |
[compiler] Fup of bug 165291, the two warnings (assignment has no effect) should not be reported |
| 1624 |
|
| 1625 |
|
| 1626 |
<a name="v_730"></a> |
| 1627 |
<hr><h1> |
| 1628 |
Eclipse Platform Build Notes<br> |
| 1629 |
Java development tools core</h1> |
| 1630 |
Eclipse SDK 3.3M5 - 9th January 2007 |
| 1631 |
<br>Project org.eclipse.jdt.core v_730 |
| 1632 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_730">cvs</a>). |
| 1633 |
<h2>What's new in this drop</h2> |
| 1634 |
<ul> |
| 1635 |
<li>The grammar file java_1_5.g is renamed java.g. |
| 1636 |
</li> |
| 1637 |
</ul> |
| 1638 |
|
| 1639 |
<h3>Problem Reports Fixed</h3> |
| 1640 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=162478">162478</a> |
| 1641 |
NPE in MethodBinding#signature |
| 1642 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=169744">169744</a> |
| 1643 |
[AST] character position range wrong for super method call with type arguments |
| 1644 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=162991">162991</a> |
| 1645 |
[1.5][compiler] Name clash reported for (correct) eclipse-generated code |
| 1646 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157336">157336</a> |
| 1647 |
build output contains unnecessary empty directories |
| 1648 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157019">157019</a> |
| 1649 |
[build] incremental build involving a resource filter fails to produce expected subdirectory of the output folder |
| 1650 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99738">99738</a> |
| 1651 |
[formatting] each format shifts code inside <pre> one space to the right |
| 1652 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=169596">169596</a> |
| 1653 |
anewarray not propertly supported in 1.6 |
| 1654 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=169545">169545</a> |
| 1655 |
java_1_4.g should be removed |
| 1656 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=168665">168665</a> |
| 1657 |
[1.6][compiler] AIOOBE during stack map frame generation |
| 1658 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160550">160550</a> |
| 1659 |
Infinite build when projects have cycle and build path errors |
| 1660 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=114349">114349</a> |
| 1661 |
[compiler] Problems building cyclical projects |
| 1662 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161541">161541</a> |
| 1663 |
[compiler][1.5] eclipse fails to compile when two methods are joined to one |
| 1664 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=166977">166977</a> |
| 1665 |
[vista] Unexpected errors while running JDT/Core tests |
| 1666 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=168671">168671</a> |
| 1667 |
[model] Model tests should not run read-only tests when file system does not support it |
| 1668 |
|
| 1669 |
<a name="v_729"></a> |
| 1670 |
<hr><h1> |
| 1671 |
Eclipse Platform Build Notes<br> |
| 1672 |
Java development tools core</h1> |
| 1673 |
Eclipse SDK 3.3M5 - 19th December 2006 |
| 1674 |
<br>Project org.eclipse.jdt.core v_729 |
| 1675 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_729">cvs</a>). |
| 1676 |
<h2>What's new in this drop</h2> |
| 1677 |
|
| 1678 |
<h3>Problem Reports Fixed</h3> |
| 1679 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=168610">168610</a> |
| 1680 |
Chkpii error in build I20061218-0800 |
| 1681 |
|
| 1682 |
<a name="v_728"></a> |
| 1683 |
<hr><h1> |
| 1684 |
Eclipse Platform Build Notes<br> |
| 1685 |
Java development tools core</h1> |
| 1686 |
Eclipse SDK 3.3M5 - 19th December 2006 |
| 1687 |
<br>Project org.eclipse.jdt.core v_728 |
| 1688 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_728">cvs</a>). |
| 1689 |
<h2>What's new in this drop</h2> |
| 1690 |
|
| 1691 |
<h3>Problem Reports Fixed</h3> |
| 1692 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=167743">167743</a> |
| 1693 |
[search] Open Type Dialog cannot find types from projects migrated from 3.2.1 workspace |
| 1694 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=168088">168088</a> |
| 1695 |
SourceTypeConverter NPE in log |
| 1696 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160773">160773</a> |
| 1697 |
[jsr269] Need interfaces between jdt compiler and jsr269 impl |
| 1698 |
|
| 1699 |
|
| 1700 |
<a name="v_727"></a> |
| 1701 |
<hr><h1> |
| 1702 |
Eclipse Platform Build Notes<br> |
| 1703 |
Java development tools core</h1> |
| 1704 |
Eclipse SDK 3.3M4 - 9th December 2006 - 3.3 MILESTONE 4 |
| 1705 |
<br>Project org.eclipse.jdt.core v_727 |
| 1706 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_727">cvs</a>). |
| 1707 |
<h2>What's new in this drop</h2> |
| 1708 |
<ul> |
| 1709 |
<li>IMarker-s generated by JDT and compiler participants may now have their |
| 1710 |
IMarker#GENERATED_BY attribute set according to the following rules: |
| 1711 |
<ul> |
| 1712 |
<li>IMarker-s generated by JDT get JavaBuilder#GENERATED_BY, currently |
| 1713 |
valued to JDT, as their GENERATED_BY attribute; <em>that value is |
| 1714 |
non API and may change in future releases</em>;</li> |
| 1715 |
<li>IMarker-s originating from compiler participants' categorized |
| 1716 |
problems which do not have the IMarker#GENERATED_BY extra attribute |
| 1717 |
set do not have their GENERATED_BY attribute set;</li> |
| 1718 |
<li>IMarker-s originating from compiler participants' categorized |
| 1719 |
problems which have the IMarker#GENERATED_BY set to a given value |
| 1720 |
get their GENERATED_BY attribute set to the said value.</li> |
| 1721 |
</ul> |
| 1722 |
See also bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=158611">158611</a>. |
| 1723 |
</li> |
| 1724 |
</ul> |
| 1725 |
|
| 1726 |
<h3>Problem Reports Fixed</h3> |
| 1727 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=167217">167217</a> |
| 1728 |
[1.5][compiler] ClassCastException during annotation code generation |
| 1729 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=165900">165900</a> |
| 1730 |
[select] Incoherent behavior when there is ambiguous methods |
| 1731 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=166570">166570</a> |
| 1732 |
[assist] Proposal computer from the 'org.eclipse.mylar.java' plug-in did not complete normally |
| 1733 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=158611">158611</a> |
| 1734 |
Set 'generatedBy' attribute of IMarker anywhere markers are generated in JDT/Core code |
| 1735 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=166348">166348</a> |
| 1736 |
[search] Stack trace console resolves wrong source |
| 1737 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=164792">164792</a> |
| 1738 |
CodeAssist should treat #clone() special in 1.5 mode |
| 1739 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=154111">154111</a> |
| 1740 |
Compiler API (JSR 199) |
| 1741 |
|
| 1742 |
<a name="v_726"></a> |
| 1743 |
<hr><h1> |
| 1744 |
Eclipse Platform Build Notes<br> |
| 1745 |
Java development tools core</h1> |
| 1746 |
Eclipse SDK 3.3M4 - 5th December 2006 |
| 1747 |
<br>Project org.eclipse.jdt.core v_726 |
| 1748 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_726">cvs</a>). |
| 1749 |
<h2>What's new in this drop</h2> |
| 1750 |
|
| 1751 |
<h3>Problem Reports Fixed</h3> |
| 1752 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=166641">166641</a> |
| 1753 |
[compiler] uninitialized variable not reported in if (false) block |
| 1754 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=140191">140191</a> |
| 1755 |
NPE in ClassFileReader.getSourceName logs full CU source |
| 1756 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=166436">166436</a> |
| 1757 |
[javadoc] Potentially wrong javadoc warning for unexpected duplicate tag @value |
| 1758 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=166365">166365</a> |
| 1759 |
[javadoc] severity level of malformed javadoc comments did not work properly |
| 1760 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=166077">166077</a> |
| 1761 |
[compiler] extraneous tests in Scope#findExactMethod |
| 1762 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=165976">165976</a> |
| 1763 |
ECJ Ant adapter doesn't allow setting empty bootclasspath |
| 1764 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=142205">142205</a> |
| 1765 |
[batch][options] -deprecation option is not on by default, whereas the help message says so |
| 1766 |
|
| 1767 |
<a name="v_725"></a> |
| 1768 |
<hr><h1> |
| 1769 |
Eclipse Platform Build Notes<br> |
| 1770 |
Java development tools core</h1> |
| 1771 |
Eclipse SDK 3.3M4 - 28th November 2006 |
| 1772 |
<br>Project org.eclipse.jdt.core v_725 |
| 1773 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_725">cvs</a>). |
| 1774 |
<h2>What's new in this drop</h2> |
| 1775 |
<ul> |
| 1776 |
<li>Added <code>org.eclipse.jdt.core.JavaCore#VERSION_1_7</code>. It can be used to set the compliance, the source or the |
| 1777 |
target platform values. This has no impact right now beside setting the major version inside .class file to |
| 1778 |
<code>org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants#MAJOR_VERSION_1_7</code>.</li> |
| 1779 |
<li>Added new API <code>org.eclipse.jdt.core.JavaCore#setComplianceOptions(String, Map)</code> to set the compiler's |
| 1780 |
options relative to a given compiler's compliance.</li> |
| 1781 |
<li>Tuned compiler semantics for unchecked cast detection. As a consequence, more warnings should be issued |
| 1782 |
(also see bugs <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=106451">106451</a> and |
| 1783 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=165143">165143</a>). </li> |
| 1784 |
<li>Raw type warnings are now also diagnosed for cast types. </li> |
| 1785 |
<li>Improved compiler diagnosis for type hiding to now report: member type hiding type parameters, |
| 1786 |
nested types hiding other accessible types in scope (direct enclosing are already reported as errors). </li> |
| 1787 |
<li>Compiler is now more resilient with duplicate local type declarations; thus allowing further |
| 1788 |
operation to still be carried out accurately (codeselect, completion, search, DOM AST ops) |
| 1789 |
(cf. bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=165662">165662</a>).</li> |
| 1790 |
<li>New Java Model element interface has been added as common supertype for <code>ICompilationUnit</code> and <code>IClassFile</code> |
| 1791 |
(see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=125504">125504</a>). |
| 1792 |
<pre> |
| 1793 |
/** |
| 1794 |
* Represents an entire Java type root (either an <code>ICompilationUnit</code> |
| 1795 |
* or an <code>IClassFile</code>). |
| 1796 |
* |
| 1797 |
* This interface is not intended to be implemented by clients. |
| 1798 |
* |
| 1799 |
* @see ICompilationUnit |
| 1800 |
* @see IClassFile |
| 1801 |
* @since 3.3 |
| 1802 |
*/ |
| 1803 |
public interface ITypeRoot extends IJavaElement, IParent, IOpenable, ISourceReference, ICodeAssist { |
| 1804 |
... |
| 1805 |
} |
| 1806 |
</pre> |
| 1807 |
</li> |
| 1808 |
</ul> |
| 1809 |
|
| 1810 |
<h3>Problem Reports Fixed</h3> |
| 1811 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=165917">165917</a> |
| 1812 |
Error range for IProblem.IncompatibleReturnType should be predictable |
| 1813 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=165620">165620</a> |
| 1814 |
Regression in 3.3M3 with generics - ambiguous method. |
| 1815 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=163370">163370</a> |
| 1816 |
[1.5][compiler] Incorrect ambiguous method error |
| 1817 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=165794">165794</a> |
| 1818 |
[javadoc] Should not report ambiguous on method with parameterized types as parameters |
| 1819 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=165701">165701</a> |
| 1820 |
[model] NPE while computing method unique key |
| 1821 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=142219">142219</a> |
| 1822 |
[batch][options] inconsistent help message: -X<option> vs -Xemacs |
| 1823 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160520">160520</a> |
| 1824 |
[compiler] Should better locate overriding return type conflict onto return type reference |
| 1825 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=125504">125504</a> |
| 1826 |
[API] common supertype for ICompilationUnit and IClassFile |
| 1827 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=165525">165525</a> |
| 1828 |
[comments] ASTParser excludes trailing line comments from extended range of fields in enums |
| 1829 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=165654">165654</a> |
| 1830 |
[ast rewrite] add final to parameter does not work with annotations |
| 1831 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161980">161980</a> |
| 1832 |
Make some member class static |
| 1833 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161975">161975</a> |
| 1834 |
Should factorized all empty strings constants |
| 1835 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=163680">163680</a> |
| 1836 |
[1.5] [compiler] JDT Internal Exception under import circularity |
| 1837 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=165645">165645</a> |
| 1838 |
[1.5][compiler] Member type should take precedence over enclosing type parameters |
| 1839 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=165662">165662</a> |
| 1840 |
[compiler] Be more resilient with duplicate local types |
| 1841 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161617">161617</a> |
| 1842 |
[ast rewrite] replacing InstanceofExpression.LEFT_OPERAND_PROPERTY should ensure whitespace |
| 1843 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=165291">165291</a> |
| 1844 |
[1.5] Missing diagnosis for illegal forward field ref in generics |
| 1845 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=165453">165453</a> |
| 1846 |
[1.5][compiler] Improve unchecked cast message in compiler's warning |
| 1847 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=165145">165145</a> |
| 1848 |
[1.5][compiler] Missing raw type warning |
| 1849 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=106451">106451</a> |
| 1850 |
[1.5][compiler] Error and unchecked warnings missing for cast to parameterized type |
| 1851 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=165143">165143</a> |
| 1852 |
[1.5][compiler] Missing unchecked cast warning |
| 1853 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=165346">165346</a> |
| 1854 |
[compiler][null] org.eclipse.jdt.internal.compiler.ast.OperatorExpression.nullStatus(FlowInfo) too conservative |
| 1855 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149118">149118</a> |
| 1856 |
[batch] shorten the error message in case a .java directory is used as a parameter |
| 1857 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156339">156339</a> |
| 1858 |
Abort compilation surfaces through the UI |
| 1859 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=164657">164657</a> |
| 1860 |
[compiler] Wrong line is showed during debug |
| 1861 |
|
| 1862 |
<a name="v_724"></a> |
| 1863 |
<hr><h1> |
| 1864 |
Eclipse Platform Build Notes<br> |
| 1865 |
Java development tools core</h1> |
| 1866 |
Eclipse SDK 3.3M4 - 21st November 2006 |
| 1867 |
<br>Project org.eclipse.jdt.core v_724 |
| 1868 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_724">cvs</a>). |
| 1869 |
<h2>What's new in this drop</h2> |
| 1870 |
<ul> |
| 1871 |
<li>Added <code>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_BLANK_LINES_BETWEEN_IMPORT_GROUPS</code>. See bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=164946">165210</a> for details.</li> |
| 1872 |
<li>Added <code>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_INSERT_SPACE_BEFORE_PARENTHESIZED_EXPRESSION_IN_THROW</code>. See bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=164946">164946</a> for details.</li> |
| 1873 |
<li>javadoc checker now correctly allow usage of {@value} tags only on field declaration when source level is less than 1.5 |
| 1874 |
(see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=153399">153399</a>). |
| 1875 |
</li> |
| 1876 |
</ul> |
| 1877 |
|
| 1878 |
<h3>Problem Reports Fixed</h3> |
| 1879 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=164707">164707</a> |
| 1880 |
ArrayIndexOutOfBoundsException in JavaModelManager if source level == 6.0 |
| 1881 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=165210">165210</a> |
| 1882 |
Fup of bug 74997, add new formatter option for number of blank lines between import groups |
| 1883 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=165069">165069</a> |
| 1884 |
[1.5][compiler] incorrect field hiding |
| 1885 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=165081">165081</a> |
| 1886 |
[1.5][compiler] Fup of bug 165069, unused imports are not reported |
| 1887 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=154993">154993</a> |
| 1888 |
org.eclipse.jdt.ui.JavaNoTypeCompletionProposalComputer throws a runtime exception when using content assist on 'this.' in annontations |
| 1889 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=139621">139621</a> |
| 1890 |
[javadoc][assist] No Javadoc completions if there's no member below |
| 1891 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=164946">164946</a> |
| 1892 |
Spaces in control statements |
| 1893 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=163807">163807</a> |
| 1894 |
JDT fails to compile legal Java source files |
| 1895 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=153399">153399</a> |
| 1896 |
[javadoc] JDT Core should warn if the @value tag is not used correctly |
| 1897 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=84049">84049</a> |
| 1898 |
[javadoc][dom] Extended ranges wrong for method name without return type |
| 1899 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=164791">164791</a> |
| 1900 |
[search] Type reference reports anonymous type in invalid class file |
| 1901 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=164450">164450</a> |
| 1902 |
[comments] DefaultCommentMapper should release scanner after use |
| 1903 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=163984">163984</a> |
| 1904 |
[search] no results from SearchEngine.searchAllTypeNames with types in scope |
| 1905 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=74997">74997</a> |
| 1906 |
import rewrite: no empty line between groups |
| 1907 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=164311">164311</a> |
| 1908 |
Code completion unavailable for static methods |
| 1909 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156352">156352</a> |
| 1910 |
NPE when accessing annotations from ITypeBinding |
| 1911 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=99928">99928</a> |
| 1912 |
ContentAssist should propose methods of intersection types |
| 1913 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157570">157570</a> |
| 1914 |
Bug in ASTParser |
| 1915 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=164656">164656</a> |
| 1916 |
IScanner.setSource should spec that 'null' is allowed |
| 1917 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160637">160637</a> |
| 1918 |
getKey(...) for BinaryMethod returns a key with '.' in the return type instead of '/' |
| 1919 |
<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=110771">110771</a> |
| 1920 |
align all ICompilationUnit#getContents implementations on a 'never null' behavior |
| 1921 |
|
| 1922 |
<a name="v_723"></a> |
| 1923 |
<hr><h1> |
| 1924 |
Eclipse Platform Build Notes<br> |
| 1925 |
Java development tools core</h1> |
| 1926 |
Eclipse SDK 3.3M4 - 14th November 2006 |
| 1927 |
<br>Project org.eclipse.jdt.core v_723 |
| 1928 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_723">cvs</a>). |
| 1929 |
<h2>What's new in this drop</h2> |
| 1930 |
<ul> |
| 1931 |
<li>javadoc checker did incorrectly allow compatible matches for method references; where only exact matches are mandated |
| 1932 |
(see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=163659">163659</a>). |
| 1933 |
</li> |
| 1934 |
</ul> |
| 1935 |
|
| 1936 |
<h3>Problem Reports Fixed</h3> |
| 1937 |
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=140980">140980</a> |
| 1938 |
[recovery] ClassCastException from JDT compiler |
| 1939 |
<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=162918">162918</a> |
| 1940 |
[compiler] Illegal usage of a local inside a switch statement is not rejected |
| 1941 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=164121">164121</a> |
| 1942 |
[search] Misses declarations of method parameters |
| 1943 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=164081">164081</a> |
| 1944 |
XML log could contain package information |
| 1945 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160301">160301</a> |
| 1946 |
[search] too many matches found for method references |
| 1947 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=163659">163659</a> |
| 1948 |
[javadoc] Compiler should warn when method parameters are not identical |
| 1949 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=164092">164092</a> |
| 1950 |
[model] Possible NullPointerException in org.eclipse.jdt.internal.core.Buffer. |
| 1951 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=164091">164091</a> |
| 1952 |
[model] Possible NullPointerException in JavaProjectElementInfo. |
| 1953 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159939">159939</a> |
| 1954 |
[1.5][compiler] Eclipse allows List<void[]>, javac doesn't |
| 1955 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=162621">162621</a> |
| 1956 |
[model][delta] Validation errors do not clear after replacing jar file |
| 1957 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=163782">163782</a> |
| 1958 |
Possible resource leaks |
| 1959 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=162026">162026</a> |
| 1960 |
[1.5][compiler] Erroneous Report of an Ambiguous Method |
| 1961 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=163600">163600</a> |
| 1962 |
[compiler] Internal references to static inner classes fail in presence of assert keyword |
| 1963 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149004">149004</a> |
| 1964 |
static fields from package classes wrong quick-fix'ed |
| 1965 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=101476">101476</a> |
| 1966 |
"Serializable class without serialVersionUID" setting and writeReplace |
| 1967 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=163647">163647</a> |
| 1968 |
[model] Thrown exceptions are not found in method binding key which have a capture as declaring class |
| 1969 |
|
| 1970 |
<a name="v_722"></a> |
| 1971 |
<hr><h1> |
| 1972 |
Eclipse Platform Build Notes<br> |
| 1973 |
Java development tools core</h1> |
| 1974 |
Eclipse SDK 3.3M4 - 7th November 2006 |
| 1975 |
<br>Project org.eclipse.jdt.core v_722 |
| 1976 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_722">cvs</a>). |
| 1977 |
<h2>What's new in this drop</h2> |
| 1978 |
<ul> |
| 1979 |
<li><code>JavaConventions</code> can now validate names using specific source and compliance levels. New <code>validate*Name</code> API methods |
| 1980 |
with the source and the compliance level as given parameters have been added to this class. Clients should now use these new methods instead |
| 1981 |
of deprecated ones which only verify names using the 1.3 default level. |
| 1982 |
</li> |
| 1983 |
<li>Added new API method on <code>org.eclipse.jdt.core.BindingKey</code> class to get the exceptions thrown by a method |
| 1984 |
(see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=155003">155003</a>): |
| 1985 |
<pre> |
| 1986 |
/** |
| 1987 |
* Returns the thrown exception signatures of the element represented by this binding key. |
| 1988 |
* If this binding key does not represent a method or does not throw any exception, |
| 1989 |
* returns an empty array. |
| 1990 |
* |
| 1991 |
* @return the thrown exceptions signatures |
| 1992 |
* @since 3.3 |
| 1993 |
*/ |
| 1994 |
public String[] getThrownExceptions() |
| 1995 |
</pre> |
| 1996 |
</li> |
| 1997 |
</ul> |
| 1998 |
|
| 1999 |
<h3>Problem Reports Fixed</h3> |
| 2000 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=162903">162903</a> |
| 2001 |
SuppressWarnings and NON-NLS'd strings as errors |
| 2002 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161400">161400</a> |
| 2003 |
Scanning of identifiers should be optimized |
| 2004 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=163349">163349</a> |
| 2005 |
[assist] code assist doesn't correctly use scanner eofPosition |
| 2006 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=162968">162968</a> |
| 2007 |
Content Assist for undeclared local variable should prioritize unbound names |
| 2008 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=163549">163549</a> |
| 2009 |
Exclude JDT ant tasks from signing |
| 2010 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=163072">163072</a> |
| 2011 |
[search] method reference reports wrong potential matches |
| 2012 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=155003">155003</a> |
| 2013 |
[model] Missing exception types / wrong signature? |
| 2014 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161621">161621</a> |
| 2015 |
enum is a Keyword for Java5 and cannot be used as a Enum name |
| 2016 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=162743">162743</a> |
| 2017 |
Duplicate variable declaration code assist proposals |
| 2018 |
|
| 2019 |
<a name="v_721"></a> |
| 2020 |
<hr><h1> |
| 2021 |
Eclipse Platform Build Notes<br> |
| 2022 |
Java development tools core</h1> |
| 2023 |
Eclipse SDK 3.3M3 - 30th October 2006 - 3.3 MILESTONE 3 |
| 2024 |
<br>Project org.eclipse.jdt.core v_721 |
| 2025 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_721">cvs</a>). |
| 2026 |
<h2>What's new in this drop</h2> |
| 2027 |
<ul> |
| 2028 |
<li>Removed fix for bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=141289">141289</a></li> |
| 2029 |
</ul> |
| 2030 |
|
| 2031 |
<h3>Problem Reports Fixed</h3> |
| 2032 |
|
| 2033 |
<a name="v_720"></a> |
| 2034 |
<hr><h1> |
| 2035 |
Eclipse Platform Build Notes<br> |
| 2036 |
Java development tools core</h1> |
| 2037 |
Eclipse SDK 3.3M3 - 30th October 2006 |
| 2038 |
<br>Project org.eclipse.jdt.core v_720 |
| 2039 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_720">cvs</a>). |
| 2040 |
<h2>What's new in this drop</h2> |
| 2041 |
|
| 2042 |
<h3>Problem Reports Fixed</h3> |
| 2043 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148041">148041</a> |
| 2044 |
[compiler][1.5] should issue unchecked warning on cast to Set<X> of Iterator#next () returning X |
| 2045 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159631">159631</a> |
| 2046 |
[dom] NPE while trying to cleanup specific pair of file |
| 2047 |
|
| 2048 |
<a name="v_719"></a> |
| 2049 |
<hr><h1> |
| 2050 |
Eclipse Platform Build Notes<br> |
| 2051 |
Java development tools core</h1> |
| 2052 |
Eclipse SDK 3.3M3 - 29th October 2006 |
| 2053 |
<br>Project org.eclipse.jdt.core v_719 |
| 2054 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_719">cvs</a>). |
| 2055 |
<h2>What's new in this drop</h2> |
| 2056 |
|
| 2057 |
<h3>Problem Reports Fixed</h3> |
| 2058 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161846">161846</a> |
| 2059 |
Expanding a java project with invalid classpath container entries in Project Explorer causes CPU to stay at 100% |
| 2060 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159738">159738</a> |
| 2061 |
[1.5][compiler] Missing class casts in generated byte code for generic method |
| 2062 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=162296">162296</a> |
| 2063 |
[compiler] Anonymous and local classes are tagged as final and/or private in the inner class infos |
| 2064 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=162390">162390</a> |
| 2065 |
JavaCodeFormatter Annotation Bug |
| 2066 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=162400">162400</a> |
| 2067 |
[1.5][compiler] Return type inference does not perform well in array initializer |
| 2068 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159893">159893</a> |
| 2069 |
[compiler] Compilation Error with nested classes |
| 2070 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=162056">162056</a> |
| 2071 |
[recovery] Confusing errors in editor |
| 2072 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=154811">154811</a> |
| 2073 |
[compiler] Internal compiler error while parsing/formatting |
| 2074 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160823">160823</a> |
| 2075 |
[formatter] Java Conventions [built-in] inserts blank line between field declarations |
| 2076 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161412">161412</a> |
| 2077 |
org.eclipse.jdt.internal.core.NamedMember#getFullyQualifiedParameterizedName probably boggus |
| 2078 |
|
| 2079 |
<a name="v_718"></a> |
| 2080 |
<hr><h1> |
| 2081 |
Eclipse Platform Build Notes<br> |
| 2082 |
Java development tools core</h1> |
| 2083 |
Eclipse SDK 3.3M3 - 24th October 2006 |
| 2084 |
<br>Project org.eclipse.jdt.core v_718 |
| 2085 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_718">cvs</a>). |
| 2086 |
<h2>What's new in this drop</h2> |
| 2087 |
<ul> |
| 2088 |
<li>New compiler warning to detect overriding of a method without a super invocation has been added. |
| 2089 |
See bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156736">156736</a> for further details.</li> |
| 2090 |
<li>Code Assist propose unresolved names as possible local variable name<br> |
| 2091 |
<pre> |
| 2092 |
int f<code assist> |
| 2093 |
System.out.print(foo); |
| 2094 |
</pre> |
| 2095 |
In this example foo is proposed as a possible completion. |
| 2096 |
</li> |
| 2097 |
<li>The compiler now tolerates that methods implementing a method declared |
| 2098 |
in an implemented interface or an extended abstract class bear an @Override |
| 2099 |
annotation (1.6 mode only - see also bug |
| 2100 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=141931">141931</a>).</li> |
| 2101 |
</ul> |
| 2102 |
|
| 2103 |
<h3>Problem Reports Fixed</h3> |
| 2104 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161967">161967</a> |
| 2105 |
Map.keySet() can be replaced with Map.entrySet() when value is used |
| 2106 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161214">161214</a> |
| 2107 |
[compiler] Fup on bug 159709: improve deprecation marks propagation |
| 2108 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161581">161581</a> |
| 2109 |
Adding a missing folder doesn't remove classpath marker |
| 2110 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157996">157996</a> |
| 2111 |
[compiler] ProblemReferenceBinding missing a closestMatch |
| 2112 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160337">160337</a> |
| 2113 |
Empty block not detected inside anonymous class |
| 2114 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161555">161555</a> |
| 2115 |
org.eclipse.jdt.core.tests.model.ReconcilerTests#testDeleteTwoMethods is failing on IBM 1.5 VM |
| 2116 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161557">161557</a> |
| 2117 |
[assist] JavaTypeCompletionProposalComputer throws a runtime exception when using content assist on generics type argument with instance member arrays |
| 2118 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=150228">150228</a> |
| 2119 |
Code assist for unresolved local variables |
| 2120 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161204">161204</a> |
| 2121 |
code assist with unresolved types does not work when using 5.0 rt.jar |
| 2122 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161554">161554</a> |
| 2123 |
org.eclipse.jdt.core.tests.compiler.regression.GenericTypeTest#test1050 fails on IBM JDK 1.5 VM |
| 2124 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=141931">141931</a> |
| 2125 |
[1.5][compiler] @Override: upcoming changes of the reference implementation |
| 2126 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161476">161476</a> |
| 2127 |
org.eclipse.jdt.core.tests.compiler.regression.BatchCompilerTest.test024 passes unexpectedly with IBM Java2 5.0 |
| 2128 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161459">161459</a> |
| 2129 |
9 tests in org.eclipse.jdt.core.tests.compiler.regression fail on IBM Java2 5.0 |
| 2130 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156736">156736</a> |
| 2131 |
[compiler] Add compiler option to warn overriding methods that do not call super |
| 2132 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159711">159711</a> |
| 2133 |
[1.5][compiler] wrongly reports ambiguous method error |
| 2134 |
|
| 2135 |
<a name="v_717"></a> |
| 2136 |
<hr><h1> |
| 2137 |
Eclipse Platform Build Notes<br> |
| 2138 |
Java development tools core</h1> |
| 2139 |
Eclipse SDK 3.3M3 - 17th October 2006 |
| 2140 |
<br>Project org.eclipse.jdt.core v_717 |
| 2141 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_717">cvs</a>). |
| 2142 |
<h2>What's new in this drop</h2> |
| 2143 |
<ul> |
| 2144 |
<li><code>TypeNameMatch</code> API has been polished while implementing new <code>searchAllTypeNames(char[][] char[][],...)</code> |
| 2145 |
API method (see next point).<br> |
| 2146 |
This class has been abstracted and clients now need to use added <code>SearchEngine</code> following method |
| 2147 |
to create an instance of it: |
| 2148 |
<pre> |
| 2149 |
/** |
| 2150 |
* Create a type name match on a given type with specific modifiers. |
| 2151 |
* |
| 2152 |
* @param type The java model handle of the type |
| 2153 |
* @param modifiers Modifiers of the type |
| 2154 |
* @return A non-null match on the given type. |
| 2155 |
*/ |
| 2156 |
public static TypeNameMatch createTypeNameMatch(IType type, int modifiers) |
| 2157 |
</pre> |
| 2158 |
Early performance tests using added <code>searchAllTypeNames</code> method with <code>TypeNameMatchRequestor</code> |
| 2159 |
requestor (i.e. a la Open Type dialog) show interesting memory footprint reduction (around 30%). More precise measures of this |
| 2160 |
performance improvement will be done later... |
| 2161 |
</li> |
| 2162 |
<li>Added new <code>SearchEngine</code> API method for search all type names with multiple qualifications and type names |
| 2163 |
(see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160324">160324</a>).<br> |
| 2164 |
Only requestor differs from already existing corresponding <code>searchAllTypeNames</code> method: |
| 2165 |
<pre> |
| 2166 |
/** |
| 2167 |
* Searches for all top-level types and member types in the given scope matching any of the given qualifications |
| 2168 |
* and type names in a case sensitive way. |
| 2169 |
* |
| 2170 |
* Provided {@link TypeNameMatchRequestor} requestor will collect {@link TypeNameMatch} |
| 2171 |
* matches found during the search. |
| 2172 |
... |
| 2173 |
* @param nameMatchRequestor the {@link TypeNameMatchRequestor requestor} that collects |
| 2174 |
* {@link TypeNameMatch matches} of the search. |
| 2175 |
... |
| 2176 |
* @since 3.3 |
| 2177 |
*/ |
| 2178 |
public void searchAllTypeNames( |
| 2179 |
final char[][] qualifications, |
| 2180 |
final char[][] typeNames, |
| 2181 |
IJavaSearchScope scope, |
| 2182 |
final TypeNameMatchRequestor nameMatchRequestor, |
| 2183 |
int waitingPolicy, |
| 2184 |
IProgressMonitor progressMonitor) throws JavaModelException |
| 2185 |
</pre> |
| 2186 |
Similarily to previous added <code>searchAllTypeNames</code> new API method, clients have to provide |
| 2187 |
a new requestor: <code>TypeNameMatchRequestor</code> in order to get matches collected during the search.<br> |
| 2188 |
</li> |
| 2189 |
<li>Code Assist can return completion proprosals that required some other completion proposals:<br> |
| 2190 |
To apply a completion proposal the required completion proposals must be applied otherwise the resulting code won't be correct.<br> |
| 2191 |
To manage completion proposalswith required proposals the following API have been added: |
| 2192 |
<pre> |
| 2193 |
public class CompletionProposal { |
| 2194 |
|
| 2195 |
... |
| 2196 |
|
| 2197 |
/** |
| 2198 |
* Returns the required completion proposals. |
| 2199 |
* The proposal can be apply only if these required completion proposals are also applied. |
| 2200 |
* If the required proposal aren't applied the completion could create complations problems. |
| 2201 |
* |
| 2202 |
* <p> |
| 2203 |
* This field is available for the following kinds of |
| 2204 |
* completion proposals: |
| 2205 |
* <ul> |
| 2206 |
* <li><code>FIELD_REF</code> - The allowed required proposals for this kind are: |
| 2207 |
* <ul> |
| 2208 |
* <li><code>TYPE_REF</code></li> |
| 2209 |
* </ul> |
| 2210 |
* </li> |
| 2211 |
* <li><code>METHOD_REF</code> - The allowed required proposals for this kind are: |
| 2212 |
* <ul> |
| 2213 |
* <li><code>TYPE_REF</code></li> |
| 2214 |
* </ul> |
| 2215 |
* </li> |
| 2216 |
* </ul> |
| 2217 |
* </p> |
| 2218 |
* <p> |
| 2219 |
* Other kinds of required proposals will be returned in the future, therefore clients of this |
| 2220 |
* API must allow with {@link CompletionRequestor#setAllowsRequiredProposals(int, int, boolean)} |
| 2221 |
* only kinds which are in this list to avoid unexpected results in the future. |
| 2222 |
* </p> |
| 2223 |
* <p> |
| 2224 |
* A required completion proposal cannot have required completion proposals. |
| 2225 |
* </p> |
| 2226 |
* |
| 2227 |
* @return the required completion proposals, or <code>null</code> if none. |
| 2228 |
* |
| 2229 |
* @see CompletionRequestor#setAllowsRequiredProposals(int, int,boolean) |
| 2230 |
* |
| 2231 |
* @since 3.3 |
| 2232 |
*/ |
| 2233 |
public CompletionProposal[] getRequiredProposals() {...} |
| 2234 |
|
| 2235 |
... |
| 2236 |
|
| 2237 |
} |
| 2238 |
</pre> |
| 2239 |
<pre> |
| 2240 |
public class CompletionRequestor { |
| 2241 |
|
| 2242 |
... |
| 2243 |
|
| 2244 |
/** |
| 2245 |
* Returns whether a proposal of a given kind with a required proposal |
| 2246 |
* of the given kind is allowed. |
| 2247 |
* |
| 2248 |
* @param proposalKind one of the kind constants declared |
| 2249 |
* @param requiredProposalKind)one of the kind constants declared |
| 2250 |
* on <code>CompletionProposal</code> |
| 2251 |
* @return <code>true</code> if a proposal of a given kind with a required proposal |
| 2252 |
* of the given kind is allowed by this requestor, and <code>false</code> |
| 2253 |
* if it isn't of interest. |
| 2254 |
* <p> |
| 2255 |
* By default, all kinds of required proposals aren't allowed. |
| 2256 |
* </p> |
| 2257 |
* @see #setAllowsRequiredProposals(int, int, boolean) |
| 2258 |
* @see CompletionProposal#getKind() |
| 2259 |
* @see CompletionProposal#getRequiredProposals() |
| 2260 |
* |
| 2261 |
* @since 3.3 |
| 2262 |
*/ |
| 2263 |
public boolean isAllowingRequiredProposals(int proposalKind, int requiredProposalKind) {...} |
| 2264 |
|
| 2265 |
/** |
| 2266 |
* Sets whether a proposal of a given kind with a required proposal |
| 2267 |
* of the given kind is allowed. |
| 2268 |
* |
| 2269 |
* Currenlty only a subset of kinds support required proposals. To see what combinations |
| 2270 |
* are supported you must look at {@link CompletionProposal#getRequiredProposals()} |
| 2271 |
* documentation. |
| 2272 |
* |
| 2273 |
* @param proposalKind one of the kind constants declared |
| 2274 |
* @param requiredProposalKind)one of the kind constants declared |
| 2275 |
* on <code>CompletionProposal</code> |
| 2276 |
* @param allow <code>true</code> if a proposal of a given kind with a required proposal |
| 2277 |
* of the given kind is allowed by this requestor, and <code>false</code> |
| 2278 |
* if it isn't of interest |
| 2279 |
* @see #isAllowingRequiredProposals(int, int) |
| 2280 |
* @see CompletionProposal#getKind() |
| 2281 |
* @see CompletionProposal#getRequiredProposals() |
| 2282 |
* |
| 2283 |
* @since 3.3 |
| 2284 |
*/ |
| 2285 |
public void setAllowsRequiredProposals(int proposalKind, int requiredProposalKind)boolean allow) {...} |
| 2286 |
|
| 2287 |
... |
| 2288 |
|
| 2289 |
} |
| 2290 |
</pre> |
| 2291 |
</li> |
| 2292 |
<li>Code Assist propose completion even if the type of a variable or the return type of the method is missing.<br> |
| 2293 |
e.g. |
| 2294 |
<pre> |
| 2295 |
package p; |
| 2296 |
public class X { |
| 2297 |
void foo() { |
| 2298 |
Vector v = null; |
| 2299 |
v.addEl| // complete at | location |
| 2300 |
} |
| 2301 |
} |
| 2302 |
</pre> |
| 2303 |
A completion proposal with required proposals will be returned. The main proposal will be the method <code>addElement()</code> |
| 2304 |
at <code>addEl</code> location with a required proposal of the type <code>java.util.Vector</code> at |
| 2305 |
<code>Vector</code> location. |
| 2306 |
The same kind of completion can be computed with the following examples. |
| 2307 |
<pre> |
| 2308 |
package p; |
| 2309 |
public class X { |
| 2310 |
Vector v = null; |
| 2311 |
void foo() { |
| 2312 |
v.addEl| // complete at | location |
| 2313 |
} |
| 2314 |
} |
| 2315 |
</pre> |
| 2316 |
<pre> |
| 2317 |
package p; |
| 2318 |
public class X { |
| 2319 |
Vector bar() {return null;} |
| 2320 |
void foo() { |
| 2321 |
bar().addEl| // complete at | location |
| 2322 |
} |
| 2323 |
} |
| 2324 |
</pre> |
| 2325 |
</li> |
| 2326 |
</ul> |
| 2327 |
|
| 2328 |
<h3>Problem Reports Fixed</h3> |
| 2329 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161190">161190</a> |
| 2330 |
[search] All type search doesn't find all types |
| 2331 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=151756">151756</a> |
| 2332 |
[compiler] unverifiable bytecode created with cvs head compiler |
| 2333 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161028">161028</a> |
| 2334 |
[search] NPE on organize imports in TypeNameMatch.equals |
| 2335 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160854">160854</a> |
| 2336 |
[search] No type is found using seachAllTypeNames(char[][],char[][],...) methods when no type names is specified |
| 2337 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80339">80339</a> |
| 2338 |
Wrong error message "; expected" when writing an interface |
| 2339 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159709">159709</a> |
| 2340 |
[compiler] missing warnings for deprecated member types |
| 2341 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157170">157170</a> |
| 2342 |
[AST visitor] Unvisited elements |
| 2343 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159973">159973</a> |
| 2344 |
[1.5] [compiler] VerifyError due to compiler generating incorrect synthetic methods |
| 2345 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160655">160655</a> |
| 2346 |
[assist] Bug with code assist and generics |
| 2347 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=44984">44984</a> |
| 2348 |
[typing] Automatically optimize class imports |
| 2349 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160494">160494</a> |
| 2350 |
[search] searchAllTypeNames(char[][], char[][],...) fails to find types in default package |
| 2351 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160328">160328</a> |
| 2352 |
[search] Remove constructor TypeNameMatch(IType) |
| 2353 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160327">160327</a> |
| 2354 |
[search] Add specification for TypeNameMatch.getType |
| 2355 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160324">160324</a> |
| 2356 |
[search] SearchEngine.searchAllTypeNames(char[][], char[][], TypeNameMatchRequestor |
| 2357 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160323">160323</a> |
| 2358 |
[search] TypeNameMatch: support hashCode/equals |
| 2359 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160352">160352</a> |
| 2360 |
COMPACT mode doesn't work for exception table in the disassembler |
| 2361 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90600">90600</a> |
| 2362 |
[model] CreateElementInCUOperation.apply: should use project options for rewriter |
| 2363 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160352">160352</a> |
| 2364 |
COMPACT mode doesn't work for exception table in the disassembler |
| 2365 |
|
| 2366 |
<a name="v_716"></a> |
| 2367 |
<hr><h1> |
| 2368 |
Eclipse Platform Build Notes<br> |
| 2369 |
Java development tools core</h1> |
| 2370 |
Eclipse SDK 3.3M3 - 10th October 2006 |
| 2371 |
<br>Project org.eclipse.jdt.core v_716 |
| 2372 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_716">cvs</a>). |
| 2373 |
<h2>What's new in this drop</h2> |
| 2374 |
<ul> |
| 2375 |
<li>Raw type reference are now reported by default. See bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159456">159456</a>.</li> |
| 2376 |
<li>API of <code>TypeNameMatch</code> has been changed to improve memory consumption performance. |
| 2377 |
It now creates IType handle while accepting the type information from indexes and stores their modifiers |
| 2378 |
to avoid java element opening while getting this piece of information.<br> |
| 2379 |
Note that there's no Java Model initialization nor populating while creating handles...<br> |
| 2380 |
Note also that previously added API method on IJavaProject has been removed: |
| 2381 |
<pre> |
| 2382 |
IType findType(String packageName, |
| 2383 |
String typeQualifiedName, |
| 2384 |
IPackageFragmentRoot root, |
| 2385 |
ICompilationUnit[] units, |
| 2386 |
IProgressMonitor progressMonitor) throws JavaModelException; |
| 2387 |
</pre> |
| 2388 |
</li> |
| 2389 |
<li>While fixing bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157814">157814</a>, new <code>MethodReferenceMatch.isPolymorphic()</code> API method has been renamed to: |
| 2390 |
<pre> |
| 2391 |
/** |
| 2392 |
* Returns whether the reference is on a message sent from a type |
| 2393 |
* which is a super type of the searched method declaring type. |
| 2394 |
* If <code>true</code>, the method called at run-time may or may not be |
| 2395 |
* the search target, depending on the run-time type of the receiver object. |
| 2396 |
* |
| 2397 |
* @return <code>true</code> if the reference is on a message sent from |
| 2398 |
* a super-type of the search method declaring class, <code>false </code> otherwise |
| 2399 |
*/ |
| 2400 |
public boolean isSuperInvocation() |
| 2401 |
</pre> |
| 2402 |
</li> |
| 2403 |
<li>Added new API <code>ClasspathContainerInitializer#getFailureContainer(...)</code> that returns the classpath container that |
| 2404 |
should be used if a container initializer fails to initialize a container.</li> |
| 2405 |
</ul> |
| 2406 |
|
| 2407 |
<h3>Problem Reports Fixed</h3> |
| 2408 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95008">95008</a> |
| 2409 |
[assist] Missing completion for field initialization in boolean case |
| 2410 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160015">160015</a> |
| 2411 |
[1.5][javadoc] Missing warning on autoboxing compatible methods |
| 2412 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160132">160132</a> |
| 2413 |
[1.5][compiler] Compiler fails with indirect reference error message |
| 2414 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160005">160005</a> |
| 2415 |
Add protection about misbehaving container initializer |
| 2416 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86482">86482</a> |
| 2417 |
ISourceRange implementation does not implements value equals |
| 2418 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157814">157814</a> |
| 2419 |
[search] polymorphic matches in supertype hierarchy should be marked as potential |
| 2420 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148380">148380</a> |
| 2421 |
[search] get IType from TypeNameRequestor result |
| 2422 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160025">160025</a> |
| 2423 |
CharOperation fails with AIOOBE when replaced array contains the same chars |
| 2424 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159641">159641</a> |
| 2425 |
patch to refactor Main and add new "GCCMain" driver |
| 2426 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=134848">134848</a> |
| 2427 |
[compiler][null] false positive after nested loop with break to explicit label |
| 2428 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159654">159654</a> |
| 2429 |
[compiler] unverifiable bytecode created by current cvs head compiler |
| 2430 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=158518">158518</a> |
| 2431 |
Remove dependency of GenericTypeTest#test370 on SUN internal APIs |
| 2432 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159607">159607</a> |
| 2433 |
[1.5][compiler] M2: Unnecessary cast is necessary |
| 2434 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=158267">158267</a> |
| 2435 |
Brace positions line after annotation |
| 2436 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=158258">158258</a> |
| 2437 |
Double check sorting algorithms |
| 2438 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159456">159456</a> |
| 2439 |
[1.5][compiler] Enable compiler warning for raw type reference by default |
| 2440 |
|
| 2441 |
<a name="v_715"></a> |
| 2442 |
<hr><h1> |
| 2443 |
Eclipse Platform Build Notes<br> |
| 2444 |
Java development tools core</h1> |
| 2445 |
Eclipse SDK 3.3M3 - 3rd October 2006 |
| 2446 |
<br>Project org.eclipse.jdt.core v_715 |
| 2447 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_715">cvs</a>). |
| 2448 |
<h2>What's new in this drop</h2> |
| 2449 |
<ul> |
| 2450 |
<li>Added new <code>SearchEngine</code> API method for search all type names (see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148380">148380</a>).<br> |
| 2451 |
Only requestor differs from already existing <code>searchAllTypeNames</code> method: |
| 2452 |
<pre> |
| 2453 |
/** |
| 2454 |
* Searches for all top-level types and member types in the given scope. |
| 2455 |
* The search can be selecting specific types (given a package name using specific match mode |
| 2456 |
* and/or a type name using another specific match mode). |
| 2457 |
* |
| 2458 |
* Provided {@link TypeNameMatchRequestor} requestor will collect {@link TypeNameMatch} |
| 2459 |
* matches found during the search. |
| 2460 |
... |
| 2461 |
* @param nameMatchRequestor the {@link TypeNameMatchRequestor requestor} that collects |
| 2462 |
* {@link TypeNameMatch matches} of the search. |
| 2463 |
... |
| 2464 |
* @since 3.3 |
| 2465 |
*/ |
| 2466 |
public void searchAllTypeNames( |
| 2467 |
final char[] packageName, |
| 2468 |
final int packageMatchRule, |
| 2469 |
final char[] typeName, |
| 2470 |
final int typeMatchRule, |
| 2471 |
int searchFor, |
| 2472 |
IJavaSearchScope scope, |
| 2473 |
final TypeNameMatchRequestor nameMatchRequestor, |
| 2474 |
int waitingPolicy, |
| 2475 |
IProgressMonitor progressMonitor) throws JavaModelException |
| 2476 |
</pre> |
| 2477 |
Clients have to provide a new requestor: <code>TypeNameMatchRequestor</code> in order to |
| 2478 |
get matches collected during the search.<br> |
| 2479 |
Note that this match (<code>TypeNameMatch</code>) can resolve type and then provide corresponding java model <code>IType</code>: |
| 2480 |
<pre> |
| 2481 |
/** |
| 2482 |
* Returns the java model type corresponding to fully qualified type name |
| 2483 |
* (based on package, enclosing types and simple name). |
| 2484 |
* |
| 2485 |
* @return the java model type |
| 2486 |
* @throws JavaModelException happens when type stored information are not valid |
| 2487 |
*/ |
| 2488 |
public IType resolvedType() throws JavaModelException |
| 2489 |
</pre> |
| 2490 |
</li> |
| 2491 |
<li> |
| 2492 |
Deprecated existing <code>SearchEngine</code> API helper method: |
| 2493 |
<pre> |
| 2494 |
public void searchAllTypeNames( |
| 2495 |
final char[] packageExactName, |
| 2496 |
final char[] typeName, |
| 2497 |
final int matchRule, |
| 2498 |
int searchFor, |
| 2499 |
IJavaSearchScope scope, |
| 2500 |
final TypeNameRequestor nameRequestor, |
| 2501 |
int waitingPolicy, |
| 2502 |
IProgressMonitor progressMonitor) throws JavaModelException |
| 2503 |
</pre> |
| 2504 |
This should avoid to have too many similar <code>searchAllTypeNames</code> available methods... |
| 2505 |
</li> |
| 2506 |
<li> |
| 2507 |
Added new <code>JavaCore</code> API method to create a java element from an <code>IFile</code> |
| 2508 |
using a specific project: |
| 2509 |
<pre> |
| 2510 |
/** |
| 2511 |
* Returns the Java element corresponding to the given file, its project being the given |
| 2512 |
* project. |
| 2513 |
* Returns <code>null</code> if unable to associate the given file |
| 2514 |
* with a Java element. |
| 2515 |
* |
| 2516 |
* The file must be one of: |
| 2517 |
* . a file with one of the {@link JavaCore#getJavaLikeExtensions() |
| 2518 |
* Java-like extensions} - the element returned is the corresponding <code>ICompilationUnit</code> |
| 2519 |
* . a <code>.class</code> file - the element returned is the corresponding <code>IClassFile</code> |
| 2520 |
* . a <code>.jar</code> file - the element returned is the corresponding <code>IPackageFragmentRoot</code> |
| 2521 |
* |
| 2522 |
* Creating a Java element has the side effect of creating and opening all of the |
| 2523 |
* element's parents if they are not yet open. |
| 2524 |
* |
| 2525 |
* @param file the given file |
| 2526 |
* @return the Java element corresponding to the given file, or |
| 2527 |
* <code>null</code> if unable to associate the given file |
| 2528 |
* with a Java element |
| 2529 |
* @since 3.3 |
| 2530 |
*/ |
| 2531 |
public static IJavaElement create(IFile file, IJavaProject project) |
| 2532 |
</pre> |
| 2533 |
Existing API method <code>JavaCore.create(IFile)</code> assumed that project to use was the file one |
| 2534 |
but it was not always the case, especially for class files belonging to an external class folder...<br> |
| 2535 |
Note that no other methods was added for <code>IResource</code> and <code>IFolder</code> as default project was |
| 2536 |
always well computed for this kind of resources. |
| 2537 |
</li> |
| 2538 |
</ul> |
| 2539 |
|
| 2540 |
<h3>Problem Reports Fixed</h3> |
| 2541 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=158506">158506</a> |
| 2542 |
[search] SearchEngine.searchAllTypeNames should spec that null is valid for package |
| 2543 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159325">159325</a> |
| 2544 |
Any idea why ClasspathEntry checks for string object reference instead of equals |
| 2545 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=155824">155824</a> |
| 2546 |
[javadoc] Content assist doesn't suggest Varargs |
| 2547 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=150289">150289</a> |
| 2548 |
[hierarchy] NPE in hierarchy builder when region is empty |
| 2549 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159250">159250</a> |
| 2550 |
[1.5][compiler] Should better locate raw type usage for array qualified type references |
| 2551 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159245">159245</a> |
| 2552 |
[1.5][compiler] Missing raw type usage warning for array type ref |
| 2553 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159243">159243</a> |
| 2554 |
[compiler] Should better locate deprecation issue for qualified type ref |
| 2555 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=158951">158951</a> |
| 2556 |
[model] IWorkingCopy should not be referenced in any javadoc comment of JavaModel methods |
| 2557 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=153133">153133</a> |
| 2558 |
[model] toggle breakpoint in constructor creates a class load breakpoint |
| 2559 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159021">159021</a> |
| 2560 |
[compiler] Unused locals initialisation is optimized out when it is a single name reference |
| 2561 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=158548">158548</a> |
| 2562 |
[1.5][compiler] Compiler should be more resilient with unresolved parameterized type references |
| 2563 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=154995">154995</a> |
| 2564 |
[compiler][null] false positive in embedded while/while/break code |
| 2565 |
|
| 2566 |
<a name="v_714"></a> |
| 2567 |
<hr><h1> |
| 2568 |
Eclipse Platform Build Notes<br> |
| 2569 |
Java development tools core</h1> |
| 2570 |
Eclipse SDK 3.3M3 - 26th September 2006 |
| 2571 |
<br>Project org.eclipse.jdt.core v_714 |
| 2572 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_714">cvs</a>). |
| 2573 |
<h2>What's new in this drop</h2> |
| 2574 |
|
| 2575 |
<h3>Problem Reports Fixed</h3> |
| 2576 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147667">147667</a> |
| 2577 |
[1.5][compiler] Illegal compile error: "the method XXX is ambiguous for the type YYY" |
| 2578 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=158000">158000</a> |
| 2579 |
[compiler][null] Second diagnostic absorbed within finally blocks |
| 2580 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=150082">150082</a> |
| 2581 |
[compiler][null] Null reference warning ignores try blocks |
| 2582 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149665">149665</a> |
| 2583 |
[compiler][null] Unexpected variable might be null warning in finally block |
| 2584 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147118">147118</a> |
| 2585 |
[compiler][null] Incorrect null analysis involving do_while loop |
| 2586 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=142303">142303</a> |
| 2587 |
Right-click, "Open Declaration" fails under 3.2RC4 |
| 2588 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=141518">141518</a> |
| 2589 |
IEvaluationContext.newVariable is not considered when doing codecomplete. |
| 2590 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=143001">143001</a> |
| 2591 |
Statement recovery doesn't recover broken try statement |
| 2592 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=123225">123225</a> |
| 2593 |
Code assist suggests overridden method |
| 2594 |
|
| 2595 |
<a name="v_713"></a> |
| 2596 |
<hr><h1> |
| 2597 |
Eclipse Platform Build Notes<br> |
| 2598 |
Java development tools core</h1> |
| 2599 |
Eclipse SDK 3.3M2 - 15th September 2006 - 3.3 MILESTONE 2 |
| 2600 |
<br>Project org.eclipse.jdt.core v_713 |
| 2601 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_713">cvs</a>). |
| 2602 |
<h2>What's new in this drop</h2> |
| 2603 |
<ul> |
| 2604 |
<li>Added <code>isPolymorphic()</code> getter to <code>MethodReferenceMatch</code> (see <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73401">bug 73401</a> |
| 2605 |
and <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156491">bug 156491</a>). |
| 2606 |
<br> |
| 2607 |
When a search requestor (<code>SearchRequestor</code>) accepts this kind of match, |
| 2608 |
it knows if a method reference match is a polymorphic method (i.e. implemented in a super or sub type) or not. |
| 2609 |
<p> |
| 2610 |
For example, in example below:</p> |
| 2611 |
<pre> |
| 2612 |
class A { public void foo() {} } |
| 2613 |
class B extends A {} |
| 2614 |
class C extends B { public void foo() {} } |
| 2615 |
class D extends C {} |
| 2616 |
public class X { |
| 2617 |
void foo() { |
| 2618 |
new B().foo(); |
| 2619 |
new C().foo(); |
| 2620 |
new D().foo(); |
| 2621 |
} |
| 2622 |
} |
| 2623 |
</pre> |
| 2624 |
<p> |
| 2625 |
Searching for all references to <code>C.foo()</code> method get 3 matches |
| 2626 |
(instance of <code>MethodReferenceMatch</code>). Two of them, <code>new B().foo()</code> and |
| 2627 |
<code>new D().foo()</code> are flagged as polymorphic due to the fact that these are methods |
| 2628 |
respectively of a superclass and of a subclass... |
| 2629 |
</p> |
| 2630 |
<p> |
| 2631 |
Search view has been modified to filter this kind of matches when user wants to focus only |
| 2632 |
on exact references of the searched method.</p> |
| 2633 |
</li> |
| 2634 |
</ul> |
| 2635 |
|
| 2636 |
<h3>Problem Reports Fixed</h3> |
| 2637 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157389">157389</a> |
| 2638 |
[1.4][compiler] assertionStatus is not set properly for nested types |
| 2639 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157333">157333</a> |
| 2640 |
calling delete on enum constant deletes entire Enum |
| 2641 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157403">157403</a> |
| 2642 |
NPE when trying to get the ast for a class with boggus annotations |
| 2643 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156491">156491</a> |
| 2644 |
[search] Reference search unusable in some situations |
| 2645 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73401">73401</a> |
| 2646 |
[search] Unable to search just for references to overridden method |
| 2647 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157247">157247</a> |
| 2648 |
[1.6] [compiler] VerifyError with StackMap frames when no local variable attributes are generated |
| 2649 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157086">157086</a> |
| 2650 |
should adopt ICU Collator and use new APIs on StructuredViewer |
| 2651 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149751">149751</a> |
| 2652 |
Enum-valued annotation element handles non-enum constant badly |
| 2653 |
|
| 2654 |
<a name="v_712"></a> |
| 2655 |
<hr><h1> |
| 2656 |
Eclipse Platform Build Notes<br> |
| 2657 |
Java development tools core</h1> |
| 2658 |
Eclipse SDK 3.3M2 - 12th September 2006 |
| 2659 |
<br>Project org.eclipse.jdt.core v_712 |
| 2660 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_712">cvs</a>). |
| 2661 |
<h2>What's new in this drop</h2> |
| 2662 |
<ul> |
| 2663 |
<li>Code Assist: Annotation types are proposed even there is no prefix. |
| 2664 |
<pre> |
| 2665 |
public @interface MyAnnot { |
| 2666 |
int foo(); |
| 2667 |
} |
| 2668 |
@| |
| 2669 |
public class AClass {} |
| 2670 |
</pre> |
| 2671 |
'MyAnnot' is proposed if you do code assist at '|' location. |
| 2672 |
</li> |
| 2673 |
<li> |
| 2674 |
Added new flag on nature of searched element to specify both interfaces and annotations (see <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156177">bug 156177</a>). |
| 2675 |
This flag is defined on IJavaSearchConstants interface: |
| 2676 |
<pre> |
| 2677 |
/** |
| 2678 |
* The searched element is an interface or annotation type. |
| 2679 |
* More selective than using {@link #TYPE}. |
| 2680 |
* @since 3.3 |
| 2681 |
*/ |
| 2682 |
int INTERFACE_AND_ANNOTATION= 11; |
| 2683 |
</pre> |
| 2684 |
</li> |
| 2685 |
</ul> |
| 2686 |
|
| 2687 |
<h3>Problem Reports Fixed</h3> |
| 2688 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148859">148859</a> |
| 2689 |
[model][delta] Package Explorer only shows default package after import |
| 2690 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156591">156591</a> |
| 2691 |
[1.5][compiler] constant-specific methods in enum cannot be abstract |
| 2692 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156540">156540</a> |
| 2693 |
[1.5][compiler] Compiler produces invalid bytecode for certain enum declarations |
| 2694 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156177">156177</a> |
| 2695 |
[search] interfaces and annotations could be found with only one requets of searchAllTypeName |
| 2696 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156340">156340</a> |
| 2697 |
[search] searchAllTypeNames return nothing for empty prefix |
| 2698 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=151189">151189</a> |
| 2699 |
[search] Declaration search does not find all matches |
| 2700 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=153874">153874</a> |
| 2701 |
[1.5][compiler] Compiler fails to consider bridge method with -source 1.4 |
| 2702 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=129983">129983</a> |
| 2703 |
[1.5][assist] Need partial word for annotation autocompletion |
| 2704 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156194">156194</a> |
| 2705 |
[codeassist] PROPOSE_MEMBER_TYPES can be removed |
| 2706 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=155115">155115</a> |
| 2707 |
UnresolvedReferenceBindings surfacing through DOM AST |
| 2708 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=153128">153128</a> |
| 2709 |
[compiler] Duplicate methods generated (from invalid source, but still :-) |
| 2710 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156119">156119</a> |
| 2711 |
No warning for unnecessary semicolon in interface |
| 2712 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=155255">155255</a> |
| 2713 |
[1.5][compiler] ternary conditional operator returns wrong type |
| 2714 |
|
| 2715 |
|
| 2716 |
<a name="v_711"></a> |
| 2717 |
<hr><h1> |
| 2718 |
Eclipse Platform Build Notes<br> |
| 2719 |
Java development tools core</h1> |
| 2720 |
Eclipse SDK 3.3M2 - 5th September 2006 |
| 2721 |
<br>Project org.eclipse.jdt.core v_711 |
| 2722 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_711">cvs</a>). |
| 2723 |
<h2>What's new in this drop</h2> |
| 2724 |
<ul> |
| 2725 |
<li>Added to the batch compiler the ability to redefine the destination path |
| 2726 |
on a source folder basis. Directories cited as sources, directly or as |
| 2727 |
arguments to the <code>-classpath</code> and other classpath related |
| 2728 |
options, can bear a <code>[-d dir]</code> specification that directs the |
| 2729 |
generated class files to <code>dir</code> for source files fetched from the |
| 2730 |
said directories. |
| 2731 |
For example, given the source files <code>src/X.java</code> and |
| 2732 |
<code>Y.java</code>, X depending from Y, the command <code>ecj src[-d bin1] |
| 2733 |
-d bin2</code> will produce the files <code>bin1/X.class</code> and |
| 2734 |
<code>bin2/Y.class</code>, while the command <code>ecj src[-d bin] -d |
| 2735 |
none</code> will only produce the file <code>bin/X.class</code>. |
| 2736 |
</li> |
| 2737 |
<li>Code Assist: Annotation arguments names are proposed even there is no prefix. |
| 2738 |
<pre> |
| 2739 |
public @interface MyAnnot { |
| 2740 |
int foo(); |
| 2741 |
} |
| 2742 |
@MyAnnot(| |
| 2743 |
public class AClass {} |
| 2744 |
</pre> |
| 2745 |
'foo' is proposed if you do code assist at '|' location. |
| 2746 |
</li> |
| 2747 |
</ul> |
| 2748 |
|
| 2749 |
<h3>Problem Reports Fixed</h3> |
| 2750 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148521">148521</a> |
| 2751 |
[5.0][content assist] Content assist show all members of a full annotation |
| 2752 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156108">156108</a> |
| 2753 |
[1.5][compiler] Autoboxing doesnt workt in switch-statement |
| 2754 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=140123">140123</a> |
| 2755 |
Missing callback in CodeSnippetToCuMapper#getCompletionRequestor() |
| 2756 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=153130">153130</a> |
| 2757 |
[assist] IOB during content assist in scrapbook |
| 2758 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=154170">154170</a> |
| 2759 |
Printing warnings breaks in-editor quick fixes |
| 2760 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=146554">146554</a> |
| 2761 |
[batch][compiler][options] Allow the batch compiler to output compiled files |
| 2762 |
into multiple output folders |
| 2763 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=155887">155887</a> |
| 2764 |
Breakpoint in 'finally' not hit - test suite failing |
| 2765 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=155795">155795</a> |
| 2766 |
Patch to fix jface.text.Assert deprecation |
| 2767 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=154880">154880</a> |
| 2768 |
DeltaProcessor does not set project references if first build is a project build |
| 2769 |
|
| 2770 |
<a name="v_710"></a> |
| 2771 |
<hr><h1> |
| 2772 |
Eclipse Platform Build Notes<br> |
| 2773 |
Java development tools core</h1> |
| 2774 |
Eclipse SDK 3.3M2 - 29th August 2006 |
| 2775 |
<br>Project org.eclipse.jdt.core v_710 |
| 2776 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_710">cvs</a>). |
| 2777 |
<h2>What's new in this drop</h2> |
| 2778 |
|
| 2779 |
<h3>Problem Reports Fixed</h3> |
| 2780 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=155423">155423</a> |
| 2781 |
[compiler] Unoptimal code generation when an initializer contains a statement that returns |
| 2782 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=151153">151153</a> |
| 2783 |
[1.6][compiler] Invalid Stackmap attribute generated for ternary operator |
| 2784 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=145397">145397</a> |
| 2785 |
[1.6][compiler] Invalid StackMap attribute |
| 2786 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148224">148224</a> |
| 2787 |
AST API request: have binding for int, need int[], int[][] .... |
| 2788 |
|
| 2789 |
<a name="v_709"></a> |
| 2790 |
<hr><h1> |
| 2791 |
Eclipse Platform Build Notes<br> |
| 2792 |
Java development tools core</h1> |
| 2793 |
Eclipse SDK 3.3M2 - 15th August 2006 |
| 2794 |
<br>Project org.eclipse.jdt.core v_709 |
| 2795 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_709">cvs</a>). |
| 2796 |
<h2>What's new in this drop</h2> |
| 2797 |
|
| 2798 |
<h3>Problem Reports Fixed</h3> |
| 2799 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=151756">151756</a> |
| 2800 |
[compiler] unverifiable bytecode created with cvs head compiler |
| 2801 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=153303">153303</a> |
| 2802 |
IBinding.getAnnotations() returns array with null element |
| 2803 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148661">148661</a> |
| 2804 |
[formatter] leverage CombinedBinaryExpression in BinaryExpressionFragmentBuilder#visit(BinaryExpression, BlockScope) |
| 2805 |
|
| 2806 |
<a name="v_708"></a> |
| 2807 |
<hr><h1> |
| 2808 |
Eclipse Platform Build Notes<br> |
| 2809 |
Java development tools core</h1> |
| 2810 |
Eclipse SDK 3.3M1 - 6th August 2006 - 3.3 MILESTONE 1 |
| 2811 |
<br>Project org.eclipse.jdt.core v_708 |
| 2812 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_708">cvs</a>). |
| 2813 |
<h2>What's new in this drop</h2> |
| 2814 |
<ul> |
| 2815 |
<li>New fix for <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95152">bug 95152</a> required the index version to be incremented. |
| 2816 |
Indexes will be automatically regenerated upon subsequent search queries (accounting for indexing notification in search progress dialogs). |
| 2817 |
</li> |
| 2818 |
</ul> |
| 2819 |
|
| 2820 |
<h3>Problem Reports Fixed</h3> |
| 2821 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95152">95152</a> |
| 2822 |
[search] F3 can't find synthetic constructor |
| 2823 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=152725">152725</a> |
| 2824 |
[1.6][formatter] Code formatter does not format 1.5 code when source level is 1.6 |
| 2825 |
|
| 2826 |
<a name="v_707"></a> |
| 2827 |
<hr><h1> |
| 2828 |
Eclipse Platform Build Notes<br> |
| 2829 |
Java development tools core</h1> |
| 2830 |
Eclipse SDK 3.3M1 - 3rd August 2006 |
| 2831 |
<br>Project org.eclipse.jdt.core v_707 |
| 2832 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_707">cvs</a>). |
| 2833 |
<h2>What's new in this drop</h2> |
| 2834 |
<ul> |
| 2835 |
<li> |
| 2836 |
SearchPattern API method <code>createPattern(IJavaElement, int, int)</code> behavior has been modified for generic searches.<br> |
| 2837 |
It now returns erasure matches instead of exact ones (see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=124489">124489</a> for detailed discussion on this topic). |
| 2838 |
</li> |
| 2839 |
</ul> |
| 2840 |
|
| 2841 |
<h3>Problem Reports Fixed</h3> |
| 2842 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=116459">116459</a> |
| 2843 |
[1.5][search] Generic type reference should return exact match on parameterized type with its own variables |
| 2844 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=124489">124489</a> |
| 2845 |
[1.5][search] "Find unused dependencies" misses references to generic types |
| 2846 |
|
| 2847 |
<a name="v_706"></a> |
| 2848 |
<hr><h1> |
| 2849 |
Eclipse Platform Build Notes<br> |
| 2850 |
Java development tools core</h1> |
| 2851 |
Eclipse SDK 3.3M1 - 1st August 2006 |
| 2852 |
<br>Project org.eclipse.jdt.core v_706 |
| 2853 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_706">cvs</a>). |
| 2854 |
<h2>What's new in this drop</h2> |
| 2855 |
|
| 2856 |
<h3>Problem Reports Fixed</h3> |
| 2857 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=133024">133024</a> |
| 2858 |
[ast rewrite] ASTRewrite does not honor forced line splits |
| 2859 |
|
| 2860 |
<a name="v_705"></a> |
| 2861 |
<hr><h1> |
| 2862 |
Eclipse Platform Build Notes<br> |
| 2863 |
Java development tools core</h1> |
| 2864 |
Eclipse SDK 3.3M1 - 25th July 2006 |
| 2865 |
<br>Project org.eclipse.jdt.core v_705 |
| 2866 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_705">cvs</a>). |
| 2867 |
<h2>What's new in this drop</h2> |
| 2868 |
|
| 2869 |
<h3>Problem Reports Fixed</h3> |
| 2870 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=151118">151118</a> |
| 2871 |
verifier errors occur when running osgi tests |
| 2872 |
|
| 2873 |
<a name="v_704"></a> |
| 2874 |
<hr><h1> |
| 2875 |
Eclipse Platform Build Notes<br> |
| 2876 |
Java development tools core</h1> |
| 2877 |
Eclipse SDK 3.3M1 - 18th July 2006 |
| 2878 |
<br>Project org.eclipse.jdt.core v_704 |
| 2879 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_704">cvs</a>). |
| 2880 |
<h2>What's new in this drop</h2> |
| 2881 |
<ul> |
| 2882 |
<li>Wildcard captures are now indicating some ID to better address ambiguities in error messages |
| 2883 |
<br>e.g. now telling: <code>capture#2-of ? extends Number</code> is not compatible with <code>capture#1-of ? extends Number</code> |
| 2884 |
<br>as opposed to: <code>capture-of ? extends Number</code> is not compatible with <code>capture-of ? extends Number</code> |
| 2885 |
(also see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149573">149573</a>).</li> |
| 2886 |
</ul> |
| 2887 |
|
| 2888 |
<h3>Problem Reports Fixed</h3> |
| 2889 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=129317">129317</a> |
| 2890 |
Outline view inconsistent with code |
| 2891 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=102875">102875</a> |
| 2892 |
code assist should propose types even if there's no initial character(s) |
| 2893 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=129584">129584</a> |
| 2894 |
Java model gives different results |
| 2895 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=150758">150758</a> |
| 2896 |
[1.5][compiler] NullPointerException in internal compiler |
| 2897 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=150074">150074</a> |
| 2898 |
[compiler] init part of for each loop with empty body is not executed |
| 2899 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149028">149028</a> |
| 2900 |
Limiting number of characters to read with the file size is invalid. |
| 2901 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149893">149893</a> |
| 2902 |
[1.5] Compilation error: The method is ambiguous for the type |
| 2903 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149376">149376</a> |
| 2904 |
Internal compiler error on "import static" |
| 2905 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149573">149573</a> |
| 2906 |
[1.5][compiler] Improve readable name of wildcard captures |
| 2907 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=128073">128073</a> |
| 2908 |
Content Assist should give static fields and methods declared in target type higher relevance |
| 2909 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149043">149043</a> |
| 2910 |
Unresolvable classpath container leads to lots of scheduled jobs |
| 2911 |
|
| 2912 |
<a name="v_703"></a> |
| 2913 |
<hr><h1> |
| 2914 |
Eclipse Platform Build Notes<br> |
| 2915 |
Java development tools core</h1> |
| 2916 |
Eclipse SDK 3.3M1 - 4th July 2006 |
| 2917 |
<br>Project org.eclipse.jdt.core v_703 |
| 2918 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_703">cvs</a>). |
| 2919 |
<h2>What's new in this drop</h2> |
| 2920 |
|
| 2921 |
<h3>Problem Reports Fixed</h3> |
| 2922 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149013">149013</a> |
| 2923 |
[javadoc] In latest 3.3 build, there is a javadoc error in org.eclipse.core.resources |
| 2924 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=119857">119857</a> |
| 2925 |
[javadoc] Some inner class references should be flagged as unresolved |
| 2926 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=103304">103304</a> |
| 2927 |
[Javadoc] Wrong reference proposal for inner classes. |
| 2928 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148797">148797</a> |
| 2929 |
Syntax error in java class results in AST=null-error on "organize imports" |
| 2930 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148742">148742</a> |
| 2931 |
[5.0][content assist] Annotation content assist not working in all cases for parameters |
| 2932 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=117302">117302</a> |
| 2933 |
Clean build of large project gives unresolved type errors |
| 2934 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147875">147875</a> |
| 2935 |
[1.5][compiler] NPE when initializing annotations of a binary field |
| 2936 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=146012">146012</a> |
| 2937 |
No F_CONTENT flag on delta when reverting to old annotations |
| 2938 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148970">148970</a> |
| 2939 |
Exceptions opening external Java file |
| 2940 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148949">148949</a> |
| 2941 |
JarEntryFile now returning 'null' |
| 2942 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=120865">120865</a> |
| 2943 |
ICompilationUnit.findPrimaryType(..) should not throw internal AFE |
| 2944 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148370">148370</a> |
| 2945 |
[formatter] new Class<?>[] {} kills formatter |
| 2946 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148010">148010</a> |
| 2947 |
Code select doesn't find binary parameterized method |
| 2948 |
|
| 2949 |
<a name="v_702"></a> |
| 2950 |
<hr><h1> |
| 2951 |
Eclipse Platform Build Notes<br> |
| 2952 |
Java development tools core</h1> |
| 2953 |
Eclipse SDK 3.3M1 - 27th June 2006 |
| 2954 |
<br>Project org.eclipse.jdt.core v_702 |
| 2955 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_702">cvs</a>). |
| 2956 |
<h2>What's new in this drop</h2> |
| 2957 |
<ul> |
| 2958 |
<li>Add new Search API method to support patterns for package/enclosing type name while searching all types names |
| 2959 |
(see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92264">92264</a>).<br> |
| 2960 |
<pre> |
| 2961 |
/** |
| 2962 |
* Searches for all top-level types and member types in the given scope. |
| 2963 |
* The search can be selecting specific types (given a package name using specific match mode |
| 2964 |
* and/or a type name using another specific match mode). |
| 2965 |
* |
| 2966 |
* @param packageName the full name of the package of the searched types, or a prefix for this |
| 2967 |
* package, or a wild-carded string for this package. |
| 2968 |
* @param typeName the dot-separated qualified name of the searched type (the qualification include |
| 2969 |
* the enclosing types if the searched type is a member type), or a prefix |
| 2970 |
* for this type, or a wild-carded string for this type. |
| 2971 |
* @param packageMatchRule one of |
| 2972 |
* . {@link SearchPattern#R_EXACT_MATCH} if the package name and type name are the full names |
| 2973 |
* of the searched types. |
| 2974 |
* . {@link SearchPattern#R_PREFIX_MATCH} if the package name and type name are prefixes of the names |
| 2975 |
* of the searched types. |
| 2976 |
* . {@link SearchPattern#R_PATTERN_MATCH} if the package name and type name contain wild-cards. |
| 2977 |
* . {@link SearchPattern#R_CAMELCASE_MATCH} if type name are camel case of the names of the searched types. |
| 2978 |
* combined with {@link SearchPattern#R_CASE_SENSITIVE}, |
| 2979 |
* e.g. {@link SearchPattern#R_EXACT_MATCH} | {@link SearchPattern#R_CASE_SENSITIVE} if an exact and case sensitive match is requested, |
| 2980 |
* or {@link SearchPattern#R_PREFIX_MATCH} if a prefix non case sensitive match is requested. |
| 2981 |
* @param typeMatchRule one of |
| 2982 |
* . {@link SearchPattern#R_EXACT_MATCH} if the package name and type name are the full names |
| 2983 |
* of the searched types. |
| 2984 |
* . {@link SearchPattern#R_PREFIX_MATCH} if the package name and type name are prefixes of the names |
| 2985 |
* of the searched types. |
| 2986 |
* . {@link SearchPattern#R_PATTERN_MATCH} if the package name and type name contain wild-cards. |
| 2987 |
* . {@link SearchPattern#R_CAMELCASE_MATCH} if type name are camel case of the names of the searched types. |
| 2988 |
* combined with {@link SearchPattern#R_CASE_SENSITIVE}, |
| 2989 |
* e.g. {@link SearchPattern#R_EXACT_MATCH} | {@link SearchPattern#R_CASE_SENSITIVE} if an exact and case sensitive match is requested, |
| 2990 |
* or {@link SearchPattern#R_PREFIX_MATCH} if a prefix non case sensitive match is requested. |
| 2991 |
* @param searchFor determines the nature of the searched elements |
| 2992 |
* . {@link IJavaSearchConstants#CLASS}: only look for classes |
| 2993 |
* . {@link IJavaSearchConstants#INTERFACE}: only look for interfaces |
| 2994 |
* . {@link IJavaSearchConstants#ENUM}: only look for enumeration |
| 2995 |
* . {@link IJavaSearchConstants#ANNOTATION_TYPE}: only look for annotation type |
| 2996 |
* . {@link IJavaSearchConstants#CLASS_AND_ENUM}: only look for classes and enumerations |
| 2997 |
* . {@link IJavaSearchConstants#CLASS_AND_INTERFACE}: only look for classes and interfaces |
| 2998 |
* . {@link IJavaSearchConstants#TYPE}: look for all types (i.e. classes, interfaces, enum and annotation types) |
| 2999 |
* @param scope the scope to search in |
| 3000 |
* @param nameRequestor the requestor that collects the results of the search |
| 3001 |
* @param waitingPolicy one of |
| 3002 |
* . {@link IJavaSearchConstants#FORCE_IMMEDIATE_SEARCH} if the search should start immediately |
| 3003 |
* . {@link IJavaSearchConstants#CANCEL_IF_NOT_READY_TO_SEARCH} if the search should be cancelled if the |
| 3004 |
* underlying indexer has not finished indexing the workspace |
| 3005 |
* . {@link IJavaSearchConstants#WAIT_UNTIL_READY_TO_SEARCH} if the search should wait for the |
| 3006 |
* underlying indexer to finish indexing the workspace |
| 3007 |
* @param progressMonitor the progress monitor to report progress to, or null if no progress |
| 3008 |
* monitor is provided |
| 3009 |
* @exception JavaModelException if the search failed. Reasons include: |
| 3010 |
* . the classpath is incorrectly set |
| 3011 |
* @since 3.3 |
| 3012 |
*/ |
| 3013 |
public void searchAllTypeNames( |
| 3014 |
final char[] packageName, |
| 3015 |
final int packageMatchRule, |
| 3016 |
final char[] typeName, |
| 3017 |
final int typeMatchRule, |
| 3018 |
int searchFor, |
| 3019 |
IJavaSearchScope scope, |
| 3020 |
final TypeNameRequestor nameRequestor, |
| 3021 |
int waitingPolicy, |
| 3022 |
IProgressMonitor progressMonitor) throws JavaModelException |
| 3023 |
</pre> |
| 3024 |
Note that already existing <code>searchAllTypeNames(char [], char[], int, int, IJavaSearchScope, TypeNameRequestor, int, IProgressMonitor)</code> API method documentation has been updated to reflected the fact |
| 3025 |
that package name is an exact name and does not accept wildcards. |
| 3026 |
</li> |
| 3027 |
<li>Incremented plug-in version ID to "3.3.0" due to newly added API method (see details above).</li> |
| 3028 |
<li>Huge String concatenations - thousands of terms and beyond - are now |
| 3029 |
handled smoothly by the compiler even when they are not solely comprised of |
| 3030 |
literals and other constants (cf. bug |
| 3031 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=102728">102728</a>). |
| 3032 |
</li> |
| 3033 |
</ul> |
| 3034 |
|
| 3035 |
<h3>Problem Reports Fixed</h3> |
| 3036 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148278">148278</a> |
| 3037 |
Default-package classes missing in Package Explorer |
| 3038 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148352">148352</a> |
| 3039 |
NLS warning shows up on incomplete code |
| 3040 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=102728">102728</a> |
| 3041 |
[compiler] Reduce the stack depth demands of extended string concatenation ASTs |
| 3042 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=142530">142530</a> |
| 3043 |
[hierarchical packages] '.' in folder names confuses package explorer |
| 3044 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148523">148523</a> |
| 3045 |
[batch] Batch compiler output contains extra linebreak before line position |
| 3046 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147485">147485</a> |
| 3047 |
Anonymous type missing from java model |
| 3048 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=111086">111086</a> |
| 3049 |
[1.5][compiler] Compiler accepts call to parameterized method with invalid arguments |
| 3050 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148215">148215</a> |
| 3051 |
[search] Exception while searching for declarations of referenced types in binary java elements packaged in a jar |
| 3052 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=146331">146331</a> |
| 3053 |
Java Editor won't save file |
| 3054 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=145367">145367</a> |
| 3055 |
Failing to open a binary member leaves cache inconsistent |
| 3056 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96237">96237</a> |
| 3057 |
[javadoc] Inner types must be qualified |
| 3058 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92264">92264</a> |
| 3059 |
[search] all types names should support patterns for package/enclosing type name |
| 3060 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=102720">102720</a> |
| 3061 |
org.eclipse.jdt.core.Signature spec incomplete |
| 3062 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148015">148015</a> |
| 3063 |
NPE in log from ClasspathChange |
| 3064 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=143212">143212</a> |
| 3065 |
IAE in log |
| 3066 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=145544">145544</a> |
| 3067 |
Comment indentation wrong when using sun conventions |
| 3068 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=146214">146214</a> |
| 3069 |
Refactor XmlWritter and Main.Logger |
| 3070 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147877">147877</a> |
| 3071 |
source end of array access isn't correct |
| 3072 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=145007">145007</a> |
| 3073 |
[1.5][javadoc] Generics + Inner Class -> Javadoc "missing @throws" warning |
| 3074 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147690">147690</a> |
| 3075 |
[1.5][compiler] Incompatible serialversionuid when using covariant in Java 1.5 |
| 3076 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147747">147747</a> |
| 3077 |
max stack for clinit of enum overestimated |
| 3078 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=142059">142059</a> |
| 3079 |
[efs] renaming package fails to update references |
| 3080 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=143013">143013</a> |
| 3081 |
SWTException: Failed to execute runnable (...AbortCompilation) |
| 3082 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147024">147024</a> |
| 3083 |
[compiler] Compiler bug when accessing static final attribute in a non-static way |
| 3084 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=143684">143684</a> |
| 3085 |
Creating of static imports is unavailable.. |
| 3086 |
|
| 3087 |
<a name="v_701"></a> |
| 3088 |
<hr><h1> |
| 3089 |
Eclipse Platform Build Notes<br> |
| 3090 |
Java development tools core</h1> |
| 3091 |
Eclipse SDK 3.3M1 - 20th June 2006 |
| 3092 |
<br>Project org.eclipse.jdt.core v_701 |
| 3093 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_701">cvs</a>). |
| 3094 |
<h2>What's new in this drop</h2> |
| 3095 |
<ul> |
| 3096 |
<li>Fix for <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=120667">bug 120667</a> required the index version to be incremented. |
| 3097 |
Indexes will be automatically regenerated upon subsequent search queries (accounting for indexing notification in search progress dialogs). |
| 3098 |
</li> |
| 3099 |
</ul> |
| 3100 |
|
| 3101 |
<h3>Problem Reports Fixed</h3> |
| 3102 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147736">147736</a> |
| 3103 |
ClassCastException in TypeHierarchy |
| 3104 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91709">91709</a> |
| 3105 |
[1.5][model] Quick Fix Error but no Problem Reported |
| 3106 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147381">147381</a> |
| 3107 |
[1.5][compiler] Generics discrepancy between Eclipse compiler and Sun compiler. |
| 3108 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=139555">139555</a> |
| 3109 |
[hierarchy] Opening a class from Type hierarchy will give the wrong one if source and compiled are in defined in project |
| 3110 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=144573">144573</a> |
| 3111 |
compilationParticipant extension point schema incomplete |
| 3112 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=145835">145835</a> |
| 3113 |
getJavaClassLibs needs to account for IBM J2SE 1.5 |
| 3114 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=145333">145333</a> |
| 3115 |
[hierarchy] Resolving too much |
| 3116 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=122444">122444</a> |
| 3117 |
[hierarchy] Type hierarchy of inner member type misses anonymous subtypes |
| 3118 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=114894">114894</a> |
| 3119 |
[compiler] Compiler generate dead bytecode |
| 3120 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147096">147096</a> |
| 3121 |
ecj.jar manifest should not use x-friends, but use x-internal=true instead |
| 3122 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=146015">146015</a> |
| 3123 |
Some JDT/Core tests results are still VM dependent |
| 3124 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=120667">120667</a> |
| 3125 |
[hierarchy] Type hierarchy for enum type does not include anonymous subtypes |
| 3126 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=146324">146324</a> |
| 3127 |
Batch builds produce "The type X is already defined" errors |
| 3128 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=146615">146615</a> |
| 3129 |
[hierarchy] TypeHierarchyTests is tests order dependent |
| 3130 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=142207">142207</a> |
| 3131 |
[batch][options] Source/target level names 5 and 5.0 missing from batch |
| 3132 |
compiler help message |
| 3133 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76734">76734</a> |
| 3134 |
[classpath] Attemp to lock workspace during container initialization |
| 3135 |
|
| 3136 |
<a name="v_700"></a> |
| 3137 |
<hr><h1> |
| 3138 |
Eclipse Platform Build Notes<br> |
| 3139 |
Java development tools core</h1> |
| 3140 |
Eclipse SDK 3.3M1 - 13th June 2006 |
| 3141 |
<br>Project org.eclipse.jdt.core v_700 |
| 3142 |
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_700">cvs</a>). |
| 3143 |
<h2>What's new in this drop</h2> |
| 3144 |
<ul> |
| 3145 |
<li>Progressive help message for the batch compiler.<br> |
| 3146 |
The new <tt>-help:warn</tt> option displays details about the various |
| 3147 |
parameters applicable to the <tt>-warn</tt> option; these details are no |
| 3148 |
more part of the general help message, which is thus more compact |
| 3149 |
(cf. bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=144248">144248</a>). |
| 3150 |
</li> |
| 3151 |
<li>Compiler is now better resilient to duplicate local variables, thus allowing further |
| 3152 |
operation to still be carried out accurately (codeselect, completion, search, DOM AST ops) |
| 3153 |
(cf. bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=144858">144858</a>).</li> |
| 3154 |
</ul> |
| 3155 |
|
| 3156 |
<h3>Problem Reports Fixed</h3> |
| 3157 |
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=146215">146215</a> |
| 3158 |
JDT Core tests should not be dependent on HashMap implementation |
| 3159 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=144858">144858</a> |
| 3160 |
[compiler] Should be more resilient with duplicate locals |
| 3161 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=145746">145746</a> |
| 3162 |
[1.5][compiler] Enum synthetic methods should be improved |
| 3163 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=145732">145732</a> |
| 3164 |
[1.5][compiler] Inconsistent behavior in ECJ code for enum types |
| 3165 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=145516">145516</a> |
| 3166 |
Bad performance when compiling a java file with non java content |
| 3167 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=142897">142897</a> |
| 3168 |
[1.5][compiler] Compiler cannot resolve type of inner class of a bounded generic type |
| 3169 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=144976">144976</a> |
| 3170 |
[hierarchy] NPE in ReferenceBinding |
| 3171 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=145500">145500</a> |
| 3172 |
[hierarchy] Superclass could be more resilient |
| 3173 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=144866">144866</a> |
| 3174 |
[assist][javadoc] Wrong completion inside @value tag |
| 3175 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=144414">144414</a> |
| 3176 |
JDT Compiler fails while standard javac compiler can proceed |
| 3177 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=142772">142772</a> |
| 3178 |
[1.5][compiler] Compilation succeeds with static imports that fail with javac |
| 3179 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=143259">143259</a> |
| 3180 |
[1.5][compiler] NullPointerException in ReferenceBinding.binarySearch , Eclipse 3.2RC4 |
| 3181 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=144426">144426</a> |
| 3182 |
[compiler] Compiler incorrectly reports "assignment to variable has no effect" when it is a duplicate |
| 3183 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=144248">144248</a> |
| 3184 |
[batch] Progressive help text |
| 3185 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=141512">141512</a> |
| 3186 |
[batch] re-format the help message so as to fit into 80 columns |
| 3187 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=141522">141522</a> |
| 3188 |
[compiler][batch] ClassFile#buildAllDirectoriesInto should protect itself |
| 3189 |
against concurrent directory creation |
| 3190 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=141330">141330</a> |
| 3191 |
[1.5][compiler] Suspicious error message for type mismatch |
| 3192 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=141252">141252</a> |
| 3193 |
[1.6]][compiler] ClassFormatError: Illegal class name "" in class file |
| 3194 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=141810">141810</a> |
| 3195 |
[1.5][compiler] Enum switch tables incorrectly generated by the compiler |
| 3196 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=141327">141327</a> |
| 3197 |
StackFrame and VerificationTypeInfo must call super.clone() in their clone() method |
| 3198 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=140476">140476</a> |
| 3199 |
JDOM: IDOMType.setSuperInterfaces(new String [0]) fails to remove existing implements clause |
| 3200 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=132430">132430</a> |
| 3201 |
[1.5][javadoc] Unwanted missing tag warning for overridden method with parameter containing type variable |
| 3202 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=130752">130752</a> |
| 3203 |
[comments] first BlockComment parsed as LineComment |
| 3204 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=140156">140156</a> |
| 3205 |
[1.5][search] Invalid method handle with parameterized parameters when no source is attached |
| 3206 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=123679">123679</a> |
| 3207 |
[search] missing icon or bad hit in search results |
| 3208 |
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=141550">141550</a> |
| 3209 |
Enable now passing tests |
| 3210 |
|
| 3211 |
<hr> |
| 3212 |
<p>For earlier build notes, also see <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.jdt.core/notes/R32_buildnotes_jdt-core.html">build notes up to Release 3.2</a>.</p> |
| 3213 |
<br> |
| 3214 |
<p> |
| 3215 |
<a href="http://validator.w3.org/check?uri=referer"><img |
| 3216 |
src="http://www.w3.org/Icons/valid-html401" |
| 3217 |
alt="Valid HTML 4.01 Transitional" height="31" width="88"></a> |
| 3218 |
</p> |
| 3219 |
</body> |
| 3220 |
</html> |
| 3221 |
|