blob: 7e1e4d6cee0888d93d11eae26418d9c0373bdf9d [file] [log] [blame]
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001<!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.6</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.6 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>&nbsp;</td></tr>
18 <tr>
19 <td class="title3">
20 <font size="-1">
21 Here are the build notes for the Eclipse JDT/Core plug-in project
22 <a href="http://www.eclipse.org/jdt/core/index.php"><b>org.eclipse.jdt.core</b></a>,
23 describing <a href="https://bugs.eclipse.org/bugs" target=new>bug</a> resolution and substantial changes in the <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core"><b>HEAD</b></a> branch.
24 For more information on 3.6 planning, please refer to <a href="http://www.eclipse.org/jdt/core/r3.6/index.php#release-plan">JDT/Core release plan</a>,
25 the next <a href="http://www.eclipse.org/jdt/core/r3.6/index.php#milestone-plan">milestone plan</a>,
26 the overall <a href="http://www.eclipse.org/eclipse/development/eclipse_project_plan_3_6.html">official plan</a>,
27 or the <a href="http://www.eclipse.org/eclipse/platform-releng/buildSchedule.html">build schedule</a>.
28 This present document covers all changes since Release 3.5 (also see a summary of <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.jdt.core/notes/API_changes.html">API changes</a>).
29 <br>Maintenance of previous releases of JDT/Core is performed in parallel branches:
30 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_5_maintenance">R3.5.x</a>,
31 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_4_maintenance">R3.4.x</a>,
32 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_3_maintenance">R3.3.x</a>,
33 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_2_maintenance">R3.2.x</a>,
34 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_1_maintenance">R3.1.x</a>,
35 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_0_maintenance">R3.0.x</a>,
36 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R2_1_maintenance">R2.1.x</a>,
37 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R2_0_1">R2.0.x</a>,
38 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=ECLIPSE_1_0">R1.0.x</a>.
39 </font>
40 </td>
41 </tr>
42</table>
Stephan Herrmannf3e60b32010-04-21 21:24:15 +000043<a name="v_A45"></a>
44<hr><h1>
45Eclipse Platform Build Notes<br>
46Java development tools core</h1>
47Eclipse SDK 3.6M7 - April 20, 2010 - 3.6.0 M7
48<br>Project org.eclipse.jdt.core v_A45
49(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A45">cvs</a>).
50<h2>What's new in this drop</h2>
51
52<h3>Problem Reports Fixed</h3>
53<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=305037">305037</a>
54missing story for attributes of referenced JARs in classpath containers
55<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=305116">305116</a>
56[index] Improve performance of indexes results tables
57<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=236306">236306</a>
58[content assist] for method invocation in variable initializer should not guess variable
59<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=302865">302865</a>
60Issue with &quot;import&quot; a class and &quot;import static&quot; a method with the same name
61<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=309022">309022</a>
62[ImportRewrite] Add Import wrongly removes import for nested type
63
64<a name="v_A44"></a>
65<hr><h1>
66Eclipse Platform Build Notes<br>
67Java development tools core</h1>
68Eclipse SDK 3.6M7 - April 13, 2010
69<br>Project org.eclipse.jdt.core v_A44
70(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A44">cvs</a>).
71<h2>What's new in this drop</h2>
72
73<h3>Problem Reports Fixed</h3>
74<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=308754">308754</a>
75CompilationUnit.rewrite messes up .class-literal in annotation instead of changing class to interface
76<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=306519">306519</a>
77JavaCore#getReferencedClasspathEntries(IClasspathEntry, IJavaProject) should allow null project
78<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=308428">308428</a>
79Possible problem to get corrections with surrogate characters
80<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=307295">307295</a>
81Task tags and task priorities
82<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=308476">308476</a>
83Test ClasspathTests#testBug308150 fails on all platforms
84<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=305043">305043</a>
85Internal error during classpath init
86<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=307486">307486</a>
87DBCS3.6: Fail to propose Ext-B labels with content assist in Java Editor
88<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=308256">308256</a>
89DiagnosticListener always supplies Diagnostic.getSource()==null
90<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=308356">308356</a>
91codeSelect(..) doesn't work for local variable with surrogate in name
92<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=308245">308245</a>
93Valid code fails to compile in 3.6
94<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=307885">307885</a>
95Error message for instanceof &lt;parameterized type&gt; wrong arguments
96<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=249704">249704</a>
97[code assist] autocomplete with anonymous classes does stop working
98<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=308150">308150</a>
99JAR with invalid Class-Path entry in MANIFEST.MF crashes the project
100
101<a name="v_A43"></a>
102<hr><h1>
103Eclipse Platform Build Notes<br>
104Java development tools core</h1>
105Eclipse SDK 3.6M7 - April 6, 2010
106<br>Project org.eclipse.jdt.core v_A43
107(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A43">cvs</a>).
108<h2>What's new in this drop</h2>
109
110<h3>Problem Reports Fixed</h3>
111<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=306223">306223</a>
112[search] Searching for annotation references report all type references
113<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=292087">292087</a>
114anonymous class in array member initializer confuses content assist
115<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=307337">307337</a>
116[content assist] Default constructor should not be proposed for anonymous types
117<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=306568">306568</a>
118[ImportRewrite] Add Import does not work for nested type when package is on-demand imported
119
120<a name="v_A42"></a>
121<hr><h1>
122Eclipse Platform Build Notes<br>
123Java development tools core</h1>
124Eclipse SDK 3.6M7 - March 30, 2010
125<br>Project org.eclipse.jdt.core v_A42
126(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A42">cvs</a>).
127<h2>What's new in this drop</h2>
128
129<h3>Problem Reports Fixed</h3>
130<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=202634">202634</a>
131[codeassist] missing super proposal in specific source
132<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=304394">304394</a>
133IJavaElement#getAttachedJavadoc(IProgressMonitor) should support referenced entries
134<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=305122">305122</a>
135FUP of 302949
136<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=306917">306917</a>
137Exception occurred during compilation unit conversion:
138<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=306196">306196</a>
139[search] NPE while searching for annotation references in rt.jar of JRE 6.0
140<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=288658">288658</a>
141[compiler][1.5] Annotations visibility issues
142
143<a name="v_A41"></a>
144<hr><h1>
145Eclipse Platform Build Notes<br>
146Java development tools core</h1>
147Eclipse SDK 3.6M7 - March 23, 2010
148<br>Project org.eclipse.jdt.core v_A41
149(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A41">cvs</a>).
150<h2>What's new in this drop</h2>
151
152<h3>Problem Reports Fixed</h3>
153<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=305518">305518</a>
154[formatter] Line inside &lt;pre&gt; tag is wrongly indented by one space when starting just after the star
155<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=295825">295825</a>
156[formatter] Commentaries are running away after formatting are used
157<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=306477">306477</a>
158Indexer(?) fails to recognise enum as a type
159<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=305830">305830</a>
160[formatter] block comment should not be formatted when a non-nls tag is on the same line
161<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=300031">300031</a>
162The deprecation warning for a type should not include the package name
163<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=306078">306078</a>
164Navigate to Inaccessible Field
165<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=209479">209479</a>
166infinite loop in BindingKey when signatures are invalid
167<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=293558">293558</a>
168[quick assist] &quot;Invert if statement&quot; fails when comment follows
169<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=182459">182459</a>
170[compiler] Inconsistent error range for unresolved field
171<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=192233">192233</a>
172[AST] CompilationUnit.rewrite() removes whitespace between return type and method name
173<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=306073">306073</a>
174ASTRewrite Javadoc wrongly talks about getTargetSourceRangeComputer
175<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=305001">305001</a>
176Exception occurred in listener of Java element change notification
177<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=305590">305590</a>
178Redundant null check false-positive
179<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=305755">305755</a>
180Remove deprecated API that has been added for 3.6
181
182<a name="v_A40"></a>
183<hr><h1>
184Eclipse Platform Build Notes<br>
185Java development tools core</h1>
186Eclipse SDK 3.6M7 - March 16, 2010
187<br>Project org.eclipse.jdt.core v_A40
188(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A40">cvs</a>).
189<h2>What's new in this drop</h2>
190
191<h3>Problem Reports Fixed</h3>
192<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=305371">305371</a>
193[formatter] Unexpected indentation of line comment
194<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=305281">305281</a>
195[formatter] Turning off formatting changes comment's formatting
196
Stephan Herrmanne5d6be82010-04-02 03:29:32 +0000197<a name="v_A39"></a>
198<hr><h1>
199Eclipse Platform Build Notes<br>
200Java development tools core</h1>
201Eclipse SDK 3.6M6 - March 9, 2010 - 3.6.0 M6
202<br>Project org.eclipse.jdt.core v_A39
203(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A39">cvs</a>).
204<h2>What's new in this drop</h2>
205
206<h3>Problem Reports Fixed</h3>
207<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=289057">289057</a>
208Java Content Assist taking too long
209<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=303830">303830</a>
210&quot;X cannot be resolved or is not a field&quot; erroneously reported
211<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=235658">235658</a>
212Valid identifier unrecognized.
213<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=304841">304841</a>
214[search] NPE in IndexSelector.initializeIndexLocations
215<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=295866">295866</a>
216FormalParameter in JDT DOM/AST documentation
217<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=304817">304817</a>
218Review documentation of ASTParser class
219
220<a name="v_A38"></a>
221<hr><h1>
222Eclipse Platform Build Notes<br>
223Java development tools core</h1>
224Eclipse SDK 3.6M6 - March 5, 2010
225<br>Project org.eclipse.jdt.core v_A38
226(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A38">cvs</a>).
227<h2>What's new in this drop</h2>
228<ul>
229<li>
230Added two new preferences to allow to disable the formatter in a section of the code.
231These two preference define respectively the tag which disables the formatting
232and the tag which re-enable it.
233<p>
234These new preferences are controlled with the options:</p>
235<code>DefaultCodeFormatterConstants.FORMATTER_DISABLING_TAG</code>
236<code>DefaultCodeFormatterConstants.FORMATTER_ENABLING_TAG</code>
237<pre>
238/**
239 * FORMATTER / Option to define the tag to put in a comment to disable the formatting.
240 * See the {@link #FORMATTER_ENABLING_TAG} option to re-enable it.
241 * - option id: "org.eclipse.jdt.core.formatter.disabling_tag"
242 * - possible values: String, with constraints mentioned below
243 * - default: &quot;&quot;
244 *
245 * Note that:
246 *
247 * 1. The tag name will be trimmed. Hence if it does contain white spaces
248 * at the beginning or at the end, they will not be taken into account while
249 * searching for the tag in the comments
250 * 2. If a tag is starting with a letter or digit, then it cannot be leaded by
251 * another letter or digit to be recognized
252 * (<b><i>"ToDisableFormatter"</i></b> will not be recognized as a disabling tag
253 * <b><i>"DisableFormatter"</i></b>, but <b><i>"Re:DisableFormatter"</i></b>
254 * will be detected for either tag <b><i>"DisableFormatter"</i></b> or
255 * <b><i>":DisableFormatter"</i></b>).
256 * Respectively, a tag ending with a letter or digit cannot be followed by a letter
257 * or digit to be recognized (<b><i>"DisableFormatter1"</i></b> will not be
258 * recognized as a disabling tag <b><i>"DisableFormatter"</i></b>, but
259 * <b><i>"DisableFormatter:1"</i></b> will be detected either for tag
260 * <b><i>"DisableFormatter"</i></b> or <b><i>"DisableFormatter:"</i></b>)
261 * 3. As soon as the formatter encounters the defined disabling tag, it stops to
262 * format the code from the beginning of the comment including this tag. If it
263 * was already disabled, the tag has no special effect.
264 * For example, the second defined enabling tag &quot;<b>disable-formatter</b>&quot;
265 * in the following snippet is not necessary as the formatter was already disabled
266 * since the first one:
267 * class X {
268 * // disable-formatter
269 * void foo1() {}
270 * // disable-formatter
271 * void foo2() {}
272 * void bar1() {}
273 * void bar2() {}
274 * }
275 *
276 * 4. If no enabling tag is found by the formatter after the disabling tag, then
277 * the end of the snippet won't be formatted.
278 * For example, when a disabling tag is put at the beginning of the code, then
279 * the entire content of a compilation unit is not formatted:
280 * // disable-formatter
281 * class X {
282 * void foo1() {}
283 * void foo2() {}
284 * void bar1() {}
285 * void bar2() {}
286 * }
287 *
288 * 5. If a mix of disabling and enabling tags is done in the same comment, then
289 * the formatter will only take into account the last encountered tag in the
290 * comment.
291 * For example, in the following snippet, the formatter will be disabled after
292 * the comment:
293 * class X {
294 * &#47;&#42;
295 * &nbsp;&#42; This is a comment with a mix of disabling and enabling tags:
296 * &nbsp;&#42; - <b>disable-formatter</b>
297 * &nbsp;&#42; - <b>enable-formatter</b>
298 * &nbsp;&#42; - <b>disable-formatter</b>
299 * &nbsp;&#42; The formatter will stop to format from the beginning of this comment...
300 * &nbsp;&#42;&#47;
301 * void foo() {}
302 * void bar() {}
303 * }
304 *
305 * 6. The tag cannot include newline character (i.e. &#39;&#92;n&#39;) but it can have white spaces.
306 * E.g. "<b>format: off</b>" is a valid disabling tag
307 * In the future, newlines may be used to support multiple disabling tags.
308 *
309 * @since 3.6
310 */
311
312/**
313 * FORMATTER / Option to define the tag to put in a comment to re-enable the
314 * formatting after it has been disabled (see {@link #FORMATTER_DISABLING_TAG})
315 * - option id: "org.eclipse.jdt.core.formatter.enabling_tag"
316 * - possible values: String, with constraints mentioned below
317 * - default: &quot;&quot;
318 *
319 * Note that:
320 *
321 * 1. The tag name will be trimmed. Hence if it does contain white spaces
322 * at the beginning or at the end, they will not be taken into account while
323 * searching for the tag in the comments
324 * 2. If a tag is starting with a letter or digit, then it cannot be leaded by
325 * another letter or digit to be recognized
326 * (<b>"ReEnableFormatter"</b> will not be recognized as an enabling tag
327 * <b><i>"EnableFormatter"</i></b>, but <b><i>"Re:EnableFormatter"</i></b>
328 * will be detected for either tag <b><i>"EnableFormatter"</i></b> or
329 * <b><i>":EnableFormatter"</i></b>).
330 * Respectively, a tag ending with a letter or digit cannot be followed by a letter
331 * or digit to be recognized (<b><i>"EnableFormatter1"</i></b> will not be
332 * recognized as an enabling tag <b><i>"EnableFormatter"</i></b>, but
333 * <b><i>"EnableFormatter:1"</i></b> will be detected either for tag
334 * <b><i>"EnableFormatter"</i></b> or <b><i>"EnableFormatter:"</i></b>)
335 * 3. As soon as the formatter encounters the defined enabling tag, it re-starts
336 * to format the code just after the comment including this tag. If it was already
337 * active, i.e. already re-enabled or never disabled, the tag has no special effect.
338 * For example, the defined enabling tag &quot;<b>enable-formatter</b>&quot;
339 * in the following snippet is not necessary as the formatter has never been
340 * disabled:
341 * class X {
342 * void foo1() {}
343 * void foo2() {}
344 * // enable-formatter
345 * void bar1() {}
346 * void bar2() {}
347 * }
348 *
349 * Or, in the following other snippet, the second enabling tag is not necessary as
350 * the formatting will have been re-enabled by the first one:
351 * class X {
352 * // disable-formatter
353 * void foo1() {}
354 * void foo2() {}
355 * // enable-formatter
356 * void bar1() {}
357 * // enable-formatter
358 * void bar2() {}
359 * }
360 *
361 * 4. If a mix of disabling and enabling tags is done in the same comment, then
362 * the formatter will only take into account the last encountered tag in the
363 * comment.
364 * For example, in the following snippet, the formatter will be re-enabled after
365 * the comment:
366 * // disable-formatter
367 * class X {
368 * &#47;&#42;
369 * &nbsp;&#42; This is a comment with a mix of disabling and enabling tags:
370 * &nbsp;&#42; - <b>enable-formatter</b>
371 * &nbsp;&#42; - <b>disable-formatter</b>
372 * &nbsp;&#42; - <b>enable-formatter</b>
373 * &nbsp;&#42; The formatter will restart to format after this comment...
374 * &nbsp;&#42;&#47;
375 * void foo() {}
376 * void bar() {}
377 * }
378 *
379 * 5. The tag cannot include newline character (i.e. &#39;&#92;n&#39;) but it can have white spaces.
380 * E.g. "<b>format: on</b>" is a valid enabling tag
381 * In the future, newlines may be used to support multiple enabling tags.
382 *
383 * @since 3.6
384 */
385</pre>
386<p>For example, the following snippet:</p>
387<pre>
388public class Test {
389/* disable-formatter */
390void foo( ) {
391 // unformatted area
392}
393/* enable-formatter */
394void bar( ) {
395 // formatted area
396}
397}
398</pre>
399formatted with disabling tags = &quot;disable-formatter&quot; and enabling tags
400= &quot;enable-formatter&quot; produces the following output:
401<pre>
402public class Test {
403
404/* disable-formatter *
405void foo( ) {
406 // unformatted area
407}
408/* enable-formatter *
409 void bar() {
410 // formatted area
411 }
412}
413</pre>
414See bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=27079">27079</a> for more details.
415</li>
416</ul>
417
418<h3>Problem Reports Fixed</h3>
419<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=129804">129804</a>
420[dom] Local variable bindings from ASTParser#createASTs(.., String[], .., ..) have no declaring method
421<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=304705">304705</a>
422[formatter] Unexpected indentation of wrapped line comments when 'Never indent line comment on first column' preference is checked
423<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=304656">304656</a>
424StringIndexOutOfBoundsException when using JDT dom methods to process sourcefile
425<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=304506">304506</a>
426Task descriptions always have a space after the tag
427<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=304081">304081</a>
428IJavaProject#isOnClasspath(IJavaElement) returns false for type from referenced JAR
429<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=304122">304122</a>
430TypeBindings.getAnnotations() breaks interface
431<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=304416">304416</a>
432VerifyError after compiling without preserve all locals
433<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=304529">304529</a>
434[formatter] NPE when either the disabling or the enabling tag is not defined
435<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=27079">27079</a>
436Tags for disabling/enabling code formatter (feature)
437<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=304316">304316</a>
438NPE when javadoc URL is invalid
439
440<a name="v_A37"></a>
441<hr><h1>
442Eclipse Platform Build Notes<br>
443Java development tools core</h1>
444Eclipse SDK 3.6M6 - March 2, 2010
445<br>Project org.eclipse.jdt.core v_A37
446(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A37">cvs</a>).
447<h2>What's new in this drop</h2>
448<ul>
449<li>Added new configurable option to fix bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=295551">295551</a>:<br>
450<pre>
451/**
452 * Compiler option ID: Further Determining the Effect of @SuppressWarnings if also
453 * COMPILER_PB_SUPPRESS_WARNINGS is enabled.
454 * When enabled, the @SuppressWarnings annotation can additionally be used to suppress
455 * optional compiler diagnostics that have been configured as ERROR.
456 * When disabled, all @SuppressWarnings annotations only affects warnings.
457 *
458 * Option id: "org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors"
459 * Possible values: { "enabled", "disabled" }
460 * Default: "disabled"
461 *
462 * @since 3.6
463 * @category CompilerOptionID
464 */
465public static final String COMPILER_PB_SUPPRESS_OPTIONAL_ERRORS = PLUGIN_ID + ".compiler.problem.suppressOptionalErrors";
466</pre>
467</li>
468<li>
469Added a new formatter preferences to align method declaration.
470<p>
471This new preference is controlled with the option:</p>
472<code>DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_METHOD_DECLARATION</code>
473<pre>
474/**
475 * FORMATTER / Option for alignment of method declaration
476 * - option id: "org.eclipse.jdt.core.formatter.alignment_for_method_declaration"
477 * - possible values: values returned by <code>createAlignmentValue(boolean, int, int)</code> call
478 * - default: createAlignmentValue(false, WRAP_NO_SPLIT, INDENT_DEFAULT)
479 *
480 * @see #createAlignmentValue(boolean, int, int)
481 * @since 3.6
482 */
483</pre>
484<p>For example, the following snippet:</p>
485<pre>
486public class Test {
487public final synchronized java.lang.String a_method_which_has_a_very_long_name() {
488return null;
489}
490}
491</pre>
492formatted with this preference activated as 'Wrap only when necessary', will
493produce the following output:
494<pre>
495public class Test {
496 public final synchronized java.lang.String
497 a_method_which_has_a_very_long_name() {
498 return null;
499 }
500}
501</pre>
502See bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=284789">284789</a> for more details.
503</li>
504<li>New API to fix bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=246594">246594</a>. See the bug for details.
505<pre>
506 /**
507 * Returns the signatures for this type parameter's bounds. The type parameter may have
508 * been declared as part of a type or a method. The signatures represent only the individual
509 * bounds and do not include the type variable name or the <code>extends</code> keyword.
510 * The signatures may be either unresolved (for source types) or resolved (for binary types).
511 * See {@link Signature} for details.
512 *
513 * @return the signatures for the bounds of this formal type parameter
514 * @throws JavaModelException
515 * if this element does not exist or if an exception occurs while accessing its corresponding resource.
516 * @see Signature
517 * @since 3.6
518 */
519 String[] getBoundsSignatures() throws JavaModelException;
520</pre>
521</li>
522<li>
523Added a new formatter preference to enable or disable the formatting of line
524comments that start on the first column.<br>
525Note that the indentation of line comments will also be disabled when activating
526this option, as otherwise the formatter could not produce stable outputs...
527<p>
528The default is to format these comments to have a backward compatible behavior.
529</p><p>
530This new preferences is controlled with the options:</p>
531<code>DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_LINE_COMMENT_STARTING_ON_FIRST_COLUMN</code>
532<pre>
533/**
534 * FORMATTER / Option to format line comments that start on the first column
535 * - option id: "org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column"
536 * - possible values: { TRUE, FALSE }
537 * - default: TRUE
538 *
539 * Note that this option is ignored if either the
540 * {@link #FORMATTER_COMMENT_FORMAT_LINE_COMMENT} option has been set to
541 * {@link #FALSE} or the formatter is created with the mode
542 * {@link ToolFactory#M_FORMAT_NEW}.
543 *
544 * @see #TRUE
545 * @see #FALSE
546 * @see ToolFactory#createCodeFormatter(Map, int)
547 * @since 3.6
548 */
549</pre>
550<p>For example, the following snippet:</p>
551<pre>
552public class X01 {
553// int a = 1;
554// int b = 2;
555}
556</pre>
557will be untouched by the formatter if both options are activated.
558See bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=251133">251133</a> for more details.
559</li>
560<li>New API to fix bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=252431">252431</a>. See the bug for details.
561<pre>
562org.eclipse.jdt.core.IClasspathEntry
563 /**
564 * Returns the classpath entry that is making a reference to this classpath entry. For entry kinds
565 * {@link #CPE_LIBRARY}, the return value is the entry that is representing the JAR that includes
566 * <code>this</code> in the MANIFEST.MF file's Class-Path section. For entry kinds other than
567 * {@link #CPE_LIBRARY}, this returns <code>null</code>. For those entries that are on the raw classpath already,
568 * this returns <code>null</code>.
569 *
570 * It is possible that multiple library entries refer to the same entry
571 * via the MANIFEST.MF file. In those cases, this method returns the first classpath entry
572 * that appears in the raw classpath. However, this does not mean that the other referencing
573 * entries do not relate to their referenced entries.
574 * See {@link JavaCore#getReferencedClasspathEntries(IClasspathEntry, IJavaProject)} for
575 * more details.
576 *
577 * @return the classpath entry that is referencing this entry or <code>null</code> if
578 * not applicable.
579 * @since 3.6
580 */
581 IClasspathEntry getReferencingEntry();
582
583
584org.eclipse.jdt.core.IJavaProject
585 /**
586 * Works similar to {@link #setRawClasspath(IClasspathEntry[], IPath, IProgressMonitor)} and
587 * additionally allows persisting the given array of referenced entries for this project.
588 * The referenced entries and their attributes are stored in the .classpath file of this
589 * project. For details on referenced entries, see
590 * {@link JavaCore#getReferencedClasspathEntries(IClasspathEntry, IJavaProject)}
591 * and {@link IClasspathEntry#getReferencingEntry()}.
592 *
593 * Since the referenced entries are stored in the .classpath file, clients can store additional
594 * information that belong to these entries and retrieve them across sessions, though the referenced
595 * entries themselves may not be present in the raw classpath. By passing a <code>null</code>
596 * referencedEntries, clients can choose not to modify the already persisted referenced entries,
597 * which is fully equivalent to {@link #setRawClasspath(IClasspathEntry[], IPath, IProgressMonitor)}.
598 * If an empty array is passed as referencedEntries, the already persisted referenced entries,
599 * if any, will be cleared.
600 *
601 * If there are duplicates of a referenced entry or if any of the <code>referencedEntries</code>
602 * is already present in the raw classpath(<code>entries</code>) those referenced entries will
603 * be excluded and not be persisted.
604 *
605 * @param entries a list of classpath entries
606 * @param referencedEntries the list of referenced classpath entries to be persisted
607 * @param outputLocation the default output location
608 * @param monitor the given progress monitor
609 * @exception JavaModelException if the classpath could not be set. Reasons include:
610 * This Java element does not exist (ELEMENT_DOES_NOT_EXIST)
611 * The classpath is being modified during resource change event notification (CORE_EXCEPTION)
612 * The classpath failed the validation check as defined by {@link JavaConventions#validateClasspath(IJavaProject, IClasspathEntry[], IPath)}
613 * @see IClasspathEntry
614 * @see #getReferencedClasspathEntries()
615 * @since 3.6
616 */
617 void setRawClasspath(IClasspathEntry[] entries, IClasspathEntry[] referencedEntries, IPath outputLocation,
618 IProgressMonitor monitor) throws JavaModelException;
619
620 /**
621 * Returns the list of referenced classpath entries stored in the .classpath file of <code>this</code>
622 * java project. Clients can store the referenced classpath entries using
623 * {@link #setRawClasspath(IClasspathEntry[], IClasspathEntry[], IPath, IProgressMonitor)}
624 * If the client has not stored any referenced entries for this project, an empty array is returned.
625 *
626 * @throws JavaModelException
627 * @return an array of referenced classpath entries stored for this java project or an empty array if none
628 * stored earlier.
629 * @since 3.6
630 */
631 IClasspathEntry[] getReferencedClasspathEntries() throws JavaModelException;
632
633
634org.eclipse.jdt.core.IPackageFragmentRoot
635 /**
636 * Returns the first resolved classpath entry that corresponds to this package fragment root.
637 * A resolved classpath entry is said to correspond to a root if the path of the resolved
638 * entry is equal to the root's path.
639 *
640 * @return the first resolved classpath entry that corresponds to this package fragment root
641 * @throws JavaModelException if this element does not exist or if an
642 * exception occurs while accessing its corresponding resource.
643 * @since 3.6
644 */
645 IClasspathEntry getResolvedClasspathEntry() throws JavaModelException;
646
647
648org.eclipse.jdt.core.JavaCore
649 /**
650 * Returns an array of classpath entries that are referenced directly or indirectly
651 * by a given classpath entry. For the entry kind {@link IClasspathEntry#CPE_LIBRARY},
652 * the method returns the libraries that are included in the Class-Path section of
653 * the MANIFEST.MF file. If a referenced JAR file has further references to other library
654 * entries, they are processed recursively and added to the list. For entry kinds other
655 * than {@link IClasspathEntry#CPE_LIBRARY}, this method returns an empty array.
656 *
657 * If a referenced entry has already been stored
658 * in the given project's .classpath, the stored attributes are populated in the corresponding
659 * referenced entry. For more details on storing referenced entries see
660 * see {@link IJavaProject#setRawClasspath(IClasspathEntry[], IClasspathEntry[], IPath,
661 * IProgressMonitor)}.
662 *
663 * @param libraryEntry the library entry whose referenced entries are sought
664 * @param project project where the persisted referenced entries to be retrieved from
665 * @return an array of classpath entries that are referenced directly or indirectly by the given entry.
666 * If not applicable, returns an empty array.
667 * @since 3.6
668 */
669 public static IClasspathEntry[] getReferencedClasspathEntries(IClasspathEntry libraryEntry, IJavaProject project);
670</pre>
671</li>
672</ul>
673
674<h3>Problem Reports Fixed</h3>
675<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=252431">252431</a>
676New API is needed to better identify referenced jars in the Class-Path: entry
677<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=251133">251133</a>
678[formatter] Automatic formatting single line comments is incoherent among tools
679<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=248897">248897</a>
680[1.5][compiler] Wrong warning 'The local variable 'var' is never read'.
681<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=304031">304031</a>
682Unused @SuppressWarnings(..) not flagged when suppressed problem is set to Error
683<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=295551">295551</a>
684Add option to automatically promote all warnings to errors
685<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=303810">303810</a>
686Compact boolean fields on FlowContext
687<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=251227">251227</a>
688[compiler] Fup of bug 115814, comparing doubles should not be flagged
689<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=268798">268798</a>
690[1.5][compiler] Eclipse 3.5M5/6 produces new compiler errors with generics
691<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=303448">303448</a>
692Wrong code generation optimization when assert condition is false
693<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=303776">303776</a>
694Member types imports are removed too aggressively
695<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=302949">302949</a>
696JavaModelManager hangs accessing the nonChainingJars set
697<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=246594">246594</a>
698[model] API request: ITypeParameter#getBoundsSignatures() or #getSignature()
699<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=253896">253896</a>
700[compiler][null] wrong &quot;Null comparison always yields false&quot; problem for auto-unboxing
701<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=284789">284789</a>
702[formatter] Does not line-break method declaration exception with parameters
703<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=303480">303480</a>
704[1.5][compiler] CCE: org.eclipse.jdt.internal.compiler.parser.RecoveredBlock cannot be cast to org.eclipse.jdt.internal.compiler.parser.RecoveredType
705
706<a name="v_A36"></a>
707<hr><h1>
708Eclipse Platform Build Notes<br>
709Java development tools core</h1>
710Eclipse SDK 3.6M6 - February 23, 2010
711<br>Project org.eclipse.jdt.core v_A36
712(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A36">cvs</a>).
713<h2>What's new in this drop</h2>
714<ul>
715<li>
716Added a new formatter preferences to align annotation arguments (ie. element-value pairs).
717<p>
718This new preference is controlled with the option:</p>
719<code>DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_ANNOTATION</code>
720<pre>
721/**
722 * FORMATTER / Option for alignment of arguments in annotation
723 * - option id: "org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation"
724 * - possible values: values returned by <code>createAlignmentValue(boolean, int, int)</code> call
725 * - default: createAlignmentValue(false, WRAP_NO_SPLIT, INDENT_DEFAULT)
726 *
727 * @see #createAlignmentValue(boolean, int, int)
728 * @since 3.6
729 */
730</pre>
731<p>For example, the following snippet:</p>
732<pre>
733@MyAnnot(value1 = "this is an example", value2 = "of an annotation", value3 = "with several arguments", value4 = "which may need to be wrapped")
734public class Test {
735}
736</pre>
737formatted with this preference activated, will produce the following output
738while using the <code>Eclipse [built-in]</code> profile:
739<pre>
740@MyAnnot(value1 = "this is an example", value2 = "of an annotation",
741 value3 = "with several arguments",
742 value4 = "which may need to be wrapped")
743public class Test {
744}
745</pre>
746See bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=282030">282030</a> for more details.
747</li>
748<li>In order to get bindings outside of the Eclipse environment, the following method has been added on the ASTParser class.
749<br>See bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=206391">206391</a> for details.<br>
750<pre>
751 /**
752 * Set the environment that can be used when no IJavaProject are available.
753 *
754 * The user has to be sure to include all required types on the classpaths for binary types
755 * or on the sourcepaths for source types to resolve the given source code.
756 * All classpath and sourcepath entries are absolute paths.
757 * If sourcepaths contain units using a specific encoding (not the platform encoding), then the
758 * given encodings must be set. If the given encodings is set, its length must
759 * match the length of the sourcepaths parameter or an IllegalArgumentException will be thrown.
760 * If encodings is not null, the given sourcepathEntries must not be null.
761 *
762 * @param classpathEntries the given classpath entries to be used to resolve bindings
763 * @param sourcepathEntries the given sourcepath entries to be used to resolve bindings
764 * @param encodings the encodings of the corresponding sourcepath entries or null if the platform encoding
765 * can be used.
766 * @param includeRunningVMBootclasspath true if the bootclasspath of the running VM must be prepended to the
767 * given classpath and false if the bootclasspath of the running VM should be ignored.
768 * @throws IllegalArgumentException if the size of the given encodings is not equals to the size of the given
769 * sourcepathEntries
770 * @since 3.6
771 */
772 public void setEnvironment(String[] classpathEntries, String[] sourcepathEntries, String[] encodings, boolean includeRunningVMBootclasspath);
773</pre>
774</li>
775<li>
776Added two new formatter preferences to condense block and javadoc comments.
777<p>
778These new preferences are controlled respectively with the options:</p>
779<code>DefaultCodeFormatterConstants.FORMATTER_COMMENT_NEW_LINES_AT_BLOCK_BOUNDARIES</code><br>
780<code>DefaultCodeFormatterConstants.FORMATTER_COMMENT_NEW_LINES_AT_JAVADOC_BOUNDARIES</code>
781<pre>
782/**
783 * FORMATTER / Option to control whether block comments will have new lines at boundaries
784 * - option id: "org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries"
785 * - possible values: { TRUE, FALSE }
786 * - default: TRUE
787 *
788 * @see #TRUE
789 * @see #FALSE
790 * @since 3.6
791 */
792
793/**
794 * FORMATTER / Option to control whether javadoc comments will have new lines at boundaries
795 * - option id: "org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries"
796 * - possible values: { TRUE, FALSE }
797 * - default: TRUE
798 *
799 * @see #TRUE
800 * @see #FALSE
801 * @since 3.6
802 */
803 </pre>
804<p>For example, when both of these options are used, the following snippet:</p>
805<pre>
806public class X {
807 /*
808 * This block comment after formatting will no longer use a new line
809 * at the beginning and at the end of the comment...
810 */
811 void foo() {
812 }
813 /**
814 * This javadoc comment after formatting will no longer use a new line
815 * at the beginning and at the end of the comment...
816 */
817 void bar() {
818 }
819}
820</pre>
821formatted with this preference activated, will produce the following output:
822<pre>
823public class X {
824 /* This block comment after formatting will no longer use a new line at the
825 * beginning and at the end of the comment... */
826 void foo() {
827 }
828
829 /** This javadoc comment after formatting will no longer use a new line at
830 * the beginning and at the end of the comment... */
831 void bar() {
832 }
833}
834</pre>
835See bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=270209">270209</a> for more details.
836</li>
837<li>
838The <code>CodeFormatter.F_INCLUDE_COMMENT</code> flag now works for all kind
839of snippet while using the formatter.<br>
840See bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=236406">236406</a> for more details.
841</li>
842<li>
843Added a new formatter preferences to insert a new line after a label.
844<p>
845This new preference is controlled with the option:</p>
846<code>DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_AFTER_LABEL</code>
847<pre>
848/**
849 * FORMATTER / Option to insert a new line after a label
850 * - option id: "org.eclipse.jdt.core.formatter.insert_new_line_after_label"
851 * - possible values: { INSERT, DO_NOT_INSERT }
852 * - default: DO_NOT_INSERT
853 *
854 * @see JavaCore#INSERT
855 * @see JavaCore#DO_NOT_INSERT
856 * @since 3.6
857 */
858</pre>
859<p>For example, the following snippet:</p>
860<pre>
861public class X {
862 void foo() {
863 LABEL:for (int i = 0; i &lt; 10; i++) {
864 }
865 }
866}
867</pre>
868formatted with this preference activated, will produce the following output:
869<pre>
870public class X {
871 void foo() {
872 LABEL:
873 for (int i = 0; i &lt; 10; i++) {
874 }
875 }
876}
877</pre>
878See bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=150741">150741</a> for more details.
879</li>
880</ul>
881
882<h3>Problem Reports Fixed</h3>
883<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=298362">298362</a>
884[1.5][compiler] Compiler returns java.lang.Object instead of generic type T when javac returns T
885<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=281655">281655</a>
886[formatter] &quot;Never join lines&quot; does not work for annotations.
887<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=282030">282030</a>
888[formatter] Java annotation formatting
889<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=270209">270209</a>
890[format] Condensed block comment formatting
891<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=236406">236406</a>
892[formatter] The comments flags should work for all kind of snippet
893<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=294360">294360</a>
894Duplicate entries in Classpath Resolution when importing dependencies from parent project
895<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=206391">206391</a>
896[DOM] Binding Resolutions for projects outside of Eclipse workspace
897<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=150409">150409</a>
898[compiler] AST does not expose method bindings for non-visible inherited field
899<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=302358">302358</a>
900Compiler finds wrong method for method invocation with generics
901<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=302919">302919</a>
902misreported cast Error when mixing generic and raw class in nested class
903<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=150741">150741</a>
904[formatter] Add option: &quot;add new line after label&quot;
905<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=287939">287939</a>
906[code assist] The instanceof and the auto cast feature should also work for an assignment
907<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=303108">303108</a>
908[import rewrite] ImportRewrite#removeImport(String) does not work with setUseContextToFilterImplicitImports(true)
909<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=295619">295619</a>
910Test failure caused by a timing issue in M20091118-0800
911
912<a name="v_A35"></a>
913<hr><h1>
914Eclipse Platform Build Notes<br>
915Java development tools core</h1>
916Eclipse SDK 3.6M6 - February 16, 2010
917<br>Project org.eclipse.jdt.core v_A35
918(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A35">cvs</a>).
919<h2>What's new in this drop</h2>
920<ul>
921<li>In order to fix bugs <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=235253">235253</a> and
922<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=194358">194358</a>, a new API was added to preserve the existing pre-3.6 behavior for existing clients:<br>
923<pre>
924 /**
925 * Sets whether a context should be used to properly filter implicit imports.
926 *
927 * By default, the option is disabled to preserve pre-3.6 behavior.
928 *
929 *
930 * When this option is set, the context passed to the addImport*(...) methods is used to determine
931 * whether an import can be filtered because the type is implicitly visible. Note that too many imports
932 * may be kept if this option is set and addImport*(...) methods are called without a context.
933 *
934 *
935 * @param useContextToFilterImplicitImports the given setting
936 *
937 * @see #setFilterImplicitImports(boolean)
938 * @since 3.6
939 */
940 public void setUseContextToFilterImplicitImports(boolean useContextToFilterImplicitImports);
941</pre>
942</li>
943</ul>
944
945<h3>Problem Reports Fixed</h3>
946<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=302455">302455</a>
947java.lang.ClassCastException in secondary types removal
948<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=102279">102279</a>
949[search] method reference performance depends on method name
950<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=236814">236814</a>
951[jsr199] EclipseCompiler#getTask does not respect its contract when its first argument is null
952<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=302552">302552</a>
953[formatter] Formatting qualified invocations can be broken when the Line Wrapping policy forces element to be on a new line
954<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=302587">302587</a>
955Encoding/decoding of problem arguments in Marker fails if argument contains #
956<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=301438">301438</a>
957Eclipse hangs when attempting to refactor using the &quot;change method signature&quot;
958<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=260381">260381</a>
959[formatter] Javadoc formatter breaks {@code ...} tags.
960<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=302446">302446</a>
961[compiler] Regression in if statement flow analysis related to null checks
962<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=194358">194358</a>
963[import rewrite] Organize Imports produces wrong order of imports
964<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=235253">235253</a>
965[organize imports] Organize imports removes needed import statement.
966<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=302379">302379</a>
967[search] JavaSearchTests.testZIPArchive2() test failed in I20100209-0800
968
969<a name="v_A34"></a>
970<hr><h1>
971Eclipse Platform Build Notes<br>
972Java development tools core</h1>
973Eclipse SDK 3.6M6 - February 9, 2010
974<br>Project org.eclipse.jdt.core v_A34
975(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A34">cvs</a>).
976<h2>What's new in this drop</h2>
977
978<h3>Problem Reports Fixed</h3>
979<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=302123">302123</a>
980[formatter] AssertionFailedException occurs while formatting a source containing the specific javadoc comment /** ***/
981<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=300379">300379</a>
982[formatter] Fup of bug 287833
983<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=250056">250056</a>
984[compiler][null] Another assert and &quot;Redundant null check&quot;
985<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=301683">301683</a>
986Annotations are broken when native methods are present in a class
987<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=300734">300734</a>
988Extract temp misses duplicate occurrence.
989<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=289560">289560</a>
990Eclipse hangs after modifying user libraries
991<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=301562">301562</a>
992[JSR269] Error in EclipseFileManager.collectAllMatchingFiles
993<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=298637">298637</a>
994Could not retrieve declared methods (NPE in ParameterizedTypeBinding.resolve)
995<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=294057">294057</a>
996[1.5][compiler] Imports not resolved correctly with generics and inner interfaces
997
998<a name="v_A33"></a>
999<hr><h1>
1000Eclipse Platform Build Notes<br>
1001Java development tools core</h1>
1002Eclipse SDK 3.6M6 - February 2, 2010
1003<br>Project org.eclipse.jdt.core v_A33
1004(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A33">cvs</a>).
1005<h2>What's new in this drop</h2>
1006
1007<h3>Problem Reports Fixed</h3>
1008<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=300136">300136</a>
1009classpathentry OPTIONAL attribute not honored for var entries
1010<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=300723">300723</a>
1011Fup of bug 235783
1012
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001013<a name="v_A32a"></a>
1014<hr><h1>
1015Eclipse Platform Build Notes<br>
1016Java development tools core</h1>
1017Eclipse SDK 3.6M5 - January 21, 2010 - 3.6.0 M5
1018<br>Project org.eclipse.jdt.core v_A32a
1019(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A32a">cvs</a>).
1020<h2>What's new in this drop</h2>
1021
1022<h3>Problem Reports Fixed</h3>
1023<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=300133">300133</a>
1024[1.5][compiler] Local classes inside enum constants generate default constructor without implicit constructor call
1025<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=300440">300440</a>
1026icu dependency needs to be udpated
1027<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=299900">299900</a>
1028[null]Missing potential null warnings for variable on the right of an OR conditional expression
1029<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=293917">293917</a>
1030Invalid 'potential null access' warning reports
1031<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=252379">252379</a>
1032Organize imports deletes needed static import.
1033
1034<a name="v_A31"></a>
1035<hr><h1>
1036Eclipse Platform Build Notes<br>
1037Java development tools core</h1>
1038Eclipse SDK 3.6M5 - January 18, 2010
1039<br>Project org.eclipse.jdt.core v_A31
1040(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A31">cvs</a>).
1041<h2>What's new in this drop</h2>
1042<ul>
1043<li>New API to fix bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=295894">295894</a>. See the bug for details.
1044<pre>
1045/**
1046 * Returns a Java search scope limited to the hierarchy of the given type and to a given project.
1047 * The Java elements resulting from a search with this scope will be types in this hierarchy.
1048 *
1049 * Unlike the createHierarchyScope methods, this method creates strict
1050 * scopes that only contain types that actually span the hierarchy of the focus
1051 * type, but do not include additional enclosing or member types.
1052 *
1053 *
1054 * By default, hierarchy scopes include all direct and indirect supertypes and subtypes of the
1055 * focus type. This method, however, allows to restrict the hierarchy to true subtypes,
1056 * not including supertypes. Also inclusion of the focus type itself is controled by a parameter.
1057 *
1058 *
1059 * @param project the project to which to constrain the search, or null if
1060 * search should consider all types in the workspace
1061 * @param type the focus of the hierarchy scope
1062 * @param onlySubtypes if true only subtypes of type are considered
1063 * @param includeFocusType if true the focus type type is included in the resulting scope,
1064 * otherwise it is excluded
1065 * @param owner the owner of working copies that take precedence over original compilation units,
1066 * or null if the primary working copy owner should be used
1067 * @return a new hierarchy scope
1068 * @exception JavaModelException if the hierarchy could not be computed on the given type
1069 * @since 3.6
1070 */
1071public static IJavaSearchScope createStrictHierarchyScope(IJavaProject project, IType type, boolean onlySubtypes, boolean includeFocusType, WorkingCopyOwner owner) throws JavaModelException;
1072</pre>
1073</li>
1074<li>New API added to report a compiler warning when object allocations are unused:
1075<pre>
1076org.eclipse.jdt.core.compiler.IProblem.UnusedObjectAllocation
1077
1078/**
1079 * Compiler option ID: Reporting Allocation of an Unused Object.
1080 * When enabled, the compiler will issue an error or a warning if an object is allocated but never used,
1081 * neither by holding a reference nor by invoking one of the object's methods.
1082 *
1083 * Option id:"org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation"
1084 * Possible values:{ "error", "warning", "ignore" }
1085 * Default:"ignore"
1086 *
1087 * @since 3.6
1088 * @category CompilerOptionID
1089 */
1090public static final String COMPILER_PB_UNUSED_OBJECT_ALLOCATION = PLUGIN_ID + ".compiler.problem.unusedObjectAllocation";
1091</pre>
1092</li>
1093</ul>
1094
1095<h3>Problem Reports Fixed</h3>
1096<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=245007">245007</a>
1097[compiler] Should not completely ignore anonymous type with missing super type
1098<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=295894">295894</a>
1099[search] Search shows focus type implementation for nested types even though the scope is restricted to subtypes.
1100<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=236385">236385</a>
1101[compiler] Warn for potential programming problem if an object is created but not used
1102
1103<a name="v_A30"></a>
1104<hr><h1>
1105Eclipse Platform Build Notes<br>
1106Java development tools core</h1>
1107Eclipse SDK 3.6M5 - January 12, 2010
1108<br>Project org.eclipse.jdt.core v_A30
1109(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A30">cvs</a>).
1110<h2>What's new in this drop</h2>
1111<ul>
1112<li>New API added to expose the reconcile flags used in the reconcile context:
1113<pre>
1114/**
1115 * Returns the reconcile flag of this context. This flag is a bitwise value of the constant defined
1116 * in ICompilationUnit.
1117 *
1118 * @return the reconcile flag of this context
1119 * @since 3.6
1120 *
1121 * @see ICompilationUnit#ENABLE_BINDINGS_RECOVERY
1122 * @see ICompilationUnit#ENABLE_STATEMENTS_RECOVERY
1123 * @see ICompilationUnit#IGNORE_METHOD_BODIES
1124 */
1125public int getReconcileFlags();
1126</pre>
1127</li>
1128</ul>
1129
1130<h3>Problem Reports Fixed</h3>
1131<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=243917">243917</a>
1132[compiler] should not warn about unused field when native method present
1133<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=296343">296343</a>
1134OOM error caused by java indexing referencing classloader from threadLocal
1135<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=130000">130000</a>
1136[API] ReconcileContext API: Does getAST3 return AST with bindings?
1137<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=298238">298238</a>
1138Unresolved import in superclass causes 'Cannot reduce the visibility of the inherited method' in subclass
1139
1140<a name="v_A29a"></a>
1141<hr><h1>
1142Eclipse Platform Build Notes<br>
1143Java development tools core</h1>
1144Eclipse SDK 3.6M5 - January 5, 2010
1145<br>Project org.eclipse.jdt.core v_A29a
1146(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A29a">cvs</a>).
1147<h2>What's new in this drop</h2>
1148
1149<h3>Problem Reports Fixed</h3>
1150<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=293861">293861</a>
1151Problem with refactoring when existing jar with invalid package names
1152<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=264112">264112</a>
1153[Formatter] Wrap when necessary too aggressive on short qualifiers
1154<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=298250">298250</a>
1155[1.6][compiler] NegativeArraySizeException in StackMapFrame.duplicate
1156<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=296998">296998</a>
1157Unused imports should not prevent execution
1158<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=298243">298243</a>
1159[formatter] Removing empty lines between import groups
1160<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=297546">297546</a>
1161[formatter] Formatter removes blank after @see if reference is wrapped
1162<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=235781">235781</a>
1163[compiler] difference to javac in definite unassignment analysis involving an exception within a constructor
1164<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=235783">235783</a>
1165[eval] CodeSnippetParser and some 'CodeSnippet*' ast node does not seem up to date
1166
1167<a name="v_A28"></a>
1168<hr><h1>
1169Eclipse Platform Build Notes<br>
1170Java development tools core</h1>
1171Eclipse SDK 3.6M5 - December 14, 2009
1172<br>Project org.eclipse.jdt.core v_A28
1173(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A28">cvs</a>).
1174<h2>What's new in this drop</h2>
1175
1176<h3>Problem Reports Fixed</h3>
1177<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=196714">196714</a>
1178[comment] InvalidInputException prevents the AbstractCommentMapper to retrieve tag element
1179<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=297757">297757</a>
1180Cannot get bindings for IType corresponding to parameterized anonymous type
1181<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=255640">255640</a>
1182[spec] Methods Signature.toCharArray(..) have unclear precondition
1183<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=262898">262898</a>
1184BufferChangedEvent must not have @noinstantiate
1185<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=181682">181682</a>
1186JavaConventions.validateJavaTypeName should list valid constants
1187<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=108784">108784</a>
1188SourceMapper doesn't find name range of inner class constructors
1189
1190<a name="v_A27"></a>
1191<hr><h1>
1192Eclipse Platform Build Notes<br>
1193Java development tools core</h1>
1194Eclipse SDK 3.6M4 - December 8, 2009 - 3.6.0 M4
1195<br>Project org.eclipse.jdt.core v_A27
1196(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A27">cvs</a>).
1197<h2>What's new in this drop</h2>
1198
1199<h3>Problem Reports Fixed</h3>
1200<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=297225">297225</a>
1201[formatter] Indentation may be still wrong in certain circumstances after formatting
1202<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=293697">293697</a>
1203JavaSearchBugTests.testBug286379c is failing randomly
1204
1205<a name="v_A26"></a>
1206<hr><h1>
1207Eclipse Platform Build Notes<br>
1208Java development tools core</h1>
1209Eclipse SDK 3.6M4 - December 7, 2009
1210<br>Project org.eclipse.jdt.core v_A26
1211(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A26">cvs</a>).
1212<h2>What's new in this drop</h2>
1213
1214<h3>Problem Reports Fixed</h3>
1215<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=297045">297045</a>
1216Weird tests failures in N20091204-2000 and N20091205-2000 builds
1217<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=293300">293300</a>
1218[formatter] The formatter is still unstable in certain circumstances
1219
1220<a name="v_A25"></a>
1221<hr><h1>
1222Eclipse Platform Build Notes<br>
1223Java development tools core</h1>
1224Eclipse SDK 3.6M4 - December 4, 2009
1225<br>Project org.eclipse.jdt.core v_A25
1226(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A25">cvs</a>).
1227<h2>What's new in this drop</h2>
1228<ul>
1229<li>Match result can now report the access rules through a new API added on <code>TypeNameMatch</code>:
1230<pre>
1231/**
1232 * Returns the accessibility of the type name match
1233 *
1234 * @see IAccessRule
1235 *
1236 * @return the accessibility of the type name which may be
1237 * {@link IAccessRule#K_ACCESSIBLE}, {@link IAccessRule#K_DISCOURAGED}
1238 * or {@link IAccessRule#K_NON_ACCESSIBLE}.
1239 * The default returned value is {@link IAccessRule#K_ACCESSIBLE}.
1240 *
1241 * @since 3.6
1242 */
1243public abstract int getAccessibility();
1244</pre>
1245See bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=296277">296277</a> for more details.
1246</li>
1247</ul>
1248
1249<h3>Problem Reports Fixed</h3>
1250<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=296277">296277</a>
1251[search] SearchEngine#searchAllTypeNames(.., TypeNameMatchRequestor,..) should report access rules
1252<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=296708">296708</a>
1253[DOM/AST] clarify setters when createASTs(..) is used
1254<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=296629">296629</a>
1255[quick fix] Cast quick fix not offered for method-local classes
1256<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=295948">295948</a>
1257ElementImpl.hashCode throws an NPE
1258<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=296660">296660</a>
1259[compiler] Incorrect unused method warning from compiler
1260
1261<a name="v_A24"></a>
1262<hr><h1>
1263Eclipse Platform Build Notes<br>
1264Java development tools core</h1>
1265Eclipse SDK 3.6M4 - December 1, 2009
1266<br>Project org.eclipse.jdt.core v_A24
1267(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A24">cvs</a>).
1268<h2>What's new in this drop</h2>
1269<ul>
1270<li>New API added to ignore method bodies inside AST tree. The new APIs are tagged as 3.5.2 as this code
1271will be backported to 3.5.2:
1272<pre>
1273org.eclipse.jdt.core.dom.ASTParser:
1274 /**
1275 * Requests an abstract syntax tree without method bodies.
1276 *
1277 * When ignore method bodies is enabled, all method bodies are discarded.
1278 * This has no impact on the binding resolution.
1279 *
1280 * If a method contains local types, its method body will be retained.
1281 * This settings is not used if the kind used in setKind(int) is either
1282 * K_EXPRESSION or K_STATEMENTS.
1283 * @since 3.5.2
1284 */
1285 public void setIgnoreMethodBodies(boolean enabled);
1286
1287org.eclipse.jdt.core.ICompilationUnit:
1288 /**
1289 * Constant indicating that a reconcile operation could ignore to parse the method bodies.
1290 * @see ASTParser#setIgnoreMethodBodies(boolean)
1291 * @since 3.5.2
1292 */
1293 public static final int IGNORE_METHOD_BODIES = 0x08;
1294
1295</pre>
1296</li>
1297</ul>
1298
1299<h3>Problem Reports Fixed</h3>
1300<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=288174">288174</a>
1301[search] NullPointerException when searching for type references
1302<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=277643">277643</a>
1303Generics compile error
1304<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=288211">288211</a>
1305APT uses a lot of memory
1306
1307<a name="v_A23"></a>
1308<hr><h1>
1309Eclipse Platform Build Notes<br>
1310Java development tools core</h1>
1311Eclipse SDK 3.6M4 - November 24, 2009
1312<br>Project org.eclipse.jdt.core v_A23
1313(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A23">cvs</a>).
1314<h2>What's new in this drop</h2>
1315
1316<h3>Problem Reports Fixed</h3>
1317<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=295698">295698</a>
1318[1.5][compiler] ClassCastException in unchecked warning report
1319<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=295260">295260</a>
1320Wrong warnings on Java.Compiler.Errors/Warnings &quot;Redundant null check&quot;
1321<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=190737">190737</a>
1322[compiler][null] missing 'cannot be null' warning within for loop
1323
1324<a name="v_A22"></a>
1325<hr><h1>
1326Eclipse Platform Build Notes<br>
1327Java development tools core</h1>
1328Eclipse SDK 3.6M4 - November 16, 2009
1329<br>Project org.eclipse.jdt.core v_A22
1330(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A22">cvs</a>).
1331<h2>What's new in this drop</h2>
1332
1333<h3>Problem Reports Fixed</h3>
1334<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=153429">153429</a>
1335JUnit4 in Eclipse Testing Framework
1336<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=295238">295238</a>
1337[formatter] The comment formatter add an unexpected new line in block comment
1338<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=295175">295175</a>
1339[formatter] Missing space before a string at the beginning of a line in a javadoc comment
1340<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=294529">294529</a>
1341The Scanner sometimes ignores the given offset if larger than the EOF.
1342<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=294662">294662</a>
1343ClassCastException while invoking quick assist
1344<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=294404">294404</a>
1345-target jsr14 flags error on foreach over Collection that does not implement Iterable
1346<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=293955">293955</a>
1347valid javadoc url set on user library, but still says no javadoc
1348<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=293443">293443</a>
1349AbortCompilation when invoking content assist
1350<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=293711">293711</a>
1351Clarify ICompilationUnit#getOwner() javadoc
1352<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=293615">293615</a>
1353error message since v3.6.0M2: name clash by overriding generic methods
1354<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=294618">294618</a>
1355[formatter] The formatter fails to format a compilation unit with deep nesting of html tags
1356<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=248312">248312</a>
1357[model] IMemberValuePair#getValue() should also work for negative numerals
1358<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=294731">294731</a>
1359Specify value type of JAVADOC_LOCATION_ATTRIBUTE_NAME
1360
1361<a name="v_A21"></a>
1362<hr><h1>
1363Eclipse Platform Build Notes<br>
1364Java development tools core</h1>
1365Eclipse SDK 3.6M4 - November 10, 2009
1366<br>Project org.eclipse.jdt.core v_A21
1367(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A21">cvs</a>).
1368<h2>What's new in this drop</h2>
1369
1370<h3>Problem Reports Fixed</h3>
1371<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=294631">294631</a>
1372[formatter] The formatter takes two passes to format a common sequence of html tags
1373<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=294500">294500</a>
1374[formatter] MalformedTreeException when formatting an invalid sequence of &lt;code&gt; tags in a javadoc comment
1375<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=294488">294488</a>
1376Javadoc of ISourceReference#getSourceRange() should link to SourceRange#isAvailable(..)
1377<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=199265">199265</a>
1378[formatter] 3.3 Code Formatter mis-places commented-out import statements
1379<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=241549">241549</a>
1380[spec] IType#getFields/Initializers/Methods() should define order from class file
1381<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=275805">275805</a>
1382creating a non-primary working copy causes typeHierarchyChanged event
1383<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=292510">292510</a>
1384FUP of 292364: Error messages don't identify partial types precisely.
1385
1386<a name="v_A20"></a>
1387<hr><h1>
1388Eclipse Platform Build Notes<br>
1389Java development tools core</h1>
1390Eclipse SDK 3.6M4 - November 3, 2009
1391<br>Project org.eclipse.jdt.core v_A20
1392(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A20">cvs</a>).
1393<h2>What's new in this drop</h2>
1394
1395<h3>Problem Reports Fixed</h3>
1396<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=293384">293384</a>
1397Eclipse erroneously reports method &quot;is ambiguous for type&quot;
1398<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=285002">285002</a>
1399[compiler] visibility error for package private method
1400
1401<a name="v_A19"></a>
1402<hr><h1>
1403Eclipse Platform Build Notes<br>
1404Java development tools core</h1>
1405Eclipse SDK 3.6M3 - October 29, 2009 - 3.6M3
1406<br>Project org.eclipse.jdt.core v_A19
1407(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A19">cvs</a>).
1408<h2>What's new in this drop</h2>
1409This version was created to tentatively fix bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=293697">293697</a>
1410but it occurs again in subsequent build. So, it has been reopened and moved to next version...
1411
1412<h3>Problem Reports Fixed</h3>
1413
1414<a name="v_A18"></a>
1415<hr><h1>
1416Eclipse Platform Build Notes<br>
1417Java development tools core</h1>
1418Eclipse SDK 3.6M3 - October 28, 2009
1419<br>Project org.eclipse.jdt.core v_A18
1420(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A18">cvs</a>).
1421<h2>What's new in this drop</h2>
1422
1423<h3>Problem Reports Fixed</h3>
1424<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=293496">293496</a>
1425Adding the serialVersionUID field doesn't work when tab size is 0
1426
1427<a name="v_A17"></a>
1428<hr><h1>
1429Eclipse Platform Build Notes<br>
1430Java development tools core</h1>
1431Eclipse SDK 3.6M3 - October 26, 2009
1432<br>Project org.eclipse.jdt.core v_A17
1433(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A17">cvs</a>).
1434<h2>What's new in this drop</h2>
1435<ul>
1436<li>Reverted change for bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=263564">263564</a>.</li>
1437</ul>
1438<h3>Problem Reports Fixed</h3>
1439
1440<a name="v_A16"></a>
1441<hr><h1>
1442Eclipse Platform Build Notes<br>
1443Java development tools core</h1>
1444Eclipse SDK 3.6M3 - October 25, 2009
1445<br>Project org.eclipse.jdt.core v_A16
1446(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A16">cvs</a>).
1447<h2>What's new in this drop</h2>
1448<ul>
1449<li>New API added in <code>org.eclipse.jdt.core.JavaCore</code> in order to fix bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=263564">263564</a>:
1450<pre>
1451 /**
1452 * Returns an immutable map of all known configurable options with their original default values
1453 * as defined by JDT/Core.
1454 *
1455 * The values of these options might be different from the values returned by getDefaultOptions()
1456 * as getDefaultOptions() returned the default options defined by an installation/product/configuration
1457 * (i.e. modified by the usage of a plugin_customization.ini file for example).
1458 *
1459 * These options allow to configure the behaviour of the underlying components.
1460 * If the map is being modified, an UnsupportedOperationException> exception is thrown.
1461 * Helper constants have been defined on JavaCore for each of the option IDs
1462 * (categorized in Code assist option ID, Compiler option ID and Core option ID)
1463 * and some of their acceptable values (categorized in Option value). Some
1464 * options accept open value sets beyond the documented constant values.
1465 * Note: each release may add new options.
1466 *
1467 * @return an immutable map of all known configurable options with their original default values
1468 * as defined by JDT/Core
1469 * @since 3.6
1470 */
1471 public static Map getOriginalDefaultOptions();
1472</pre>
1473</li>
1474</ul>
1475
1476<h3>Problem Reports Fixed</h3>
1477<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=293240">293240</a>
1478[formatter] 'insert_space_before_opening_brace_in_array_initializer' preference may be reset in certain circumstances
1479<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=263564">263564</a>
1480API to know when default compiler preference settings have been altered
1481<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=289385">289385</a>
1482Investigate comment in performance tests
1483<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=286379">286379</a>
1484[search] Problem while searching class
1485
1486<a name="v_A15"></a>
1487<hr><h1>
1488Eclipse Platform Build Notes<br>
1489Java development tools core</h1>
1490Eclipse SDK 3.6M3 - October 20, 2009
1491<br>Project org.eclipse.jdt.core v_A15
1492(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A15">cvs</a>).
1493<h2>What's new in this drop</h2>
1494
1495<h3>Problem Reports Fixed</h3>
1496<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=292350">292350</a>
1497[1.5][compiler] Compiler error: ambiguous method since 3.5.1 using generics and interface inheritance
1498<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=292364">292364</a>
1499[internal] Type name in CastExpression not treated as Type name.
1500<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=292428">292428</a>
1501Internal compiler error: NullPointerException at org.eclipse.jdt.internal.compiler.ast.CastExpression.checkUnsafeCast(CastExpression.java:333)
1502<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=291985">291985</a>
1503[compiler][jsr14] Translating Enum with jsr14 target: ECJ causes a runtime error while Sun compiler works fine
1504<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=292240">292240</a>
1505Compiler error on implementation of raw sub interface
1506
1507<a name="v_A14"></a>
1508<hr><h1>
1509Eclipse Platform Build Notes<br>
1510Java development tools core</h1>
1511Eclipse SDK 3.6M3 - October 13, 2009
1512<br>Project org.eclipse.jdt.core v_A14
1513(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A14">cvs</a>).
1514<h2>What's new in this drop</h2>
1515
1516<h3>Problem Reports Fixed</h3>
1517<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=291391">291391</a>
1518update the Bundle-Version of the JDT Core Batch Compiler (ecj) from 3.3.0 to 3.6.*
1519<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=284280">284280</a>
1520[1.5][compiler] Error on use generic interface in abstract super class
1521<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=286228">286228</a>
1522[1.5][compiler] Generics inconsistencies possible regression
1523<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=286601">286601</a>
1524[formatter] Code formatter formats anonymous inner classes wrongly when 'Never join lines' is on
1525<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=215139">215139</a>
1526[search] More options for HierarchyScope
1527<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=291472">291472</a>
1528[1.5][compiler] Access to a generic method is compiled incorrectly
1529<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=283539">283539</a>
1530NamingConventions.suggestVariableNames doesn't work if name contains '_'
1531<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=280784">280784</a>
1532[batch] Allow access restrictions to be reported as errors
1533
1534<a name="v_A13"></a>
1535<hr><h1>
1536Eclipse Platform Build Notes<br>
1537Java development tools core</h1>
1538Eclipse SDK 3.6M3 - October 6, 2009
1539<br>Project org.eclipse.jdt.core v_A13
1540(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A13">cvs</a>).
1541<h2>What's new in this drop</h2>
1542<ul>
1543<li>Reverted fix for <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=106478">106478</a>.</li>
1544</ul>
1545
1546<h3>Problem Reports Fixed</h3>
1547<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=291322">291322</a>
1548Test errors when running JDT Core tests on Windows 7
1549<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=282770">282770</a>
1550[compiler] Dead code detection should have specific @SuppressWarnings
1551<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=290028">290028</a>
1552Use IResource#setDerived(boolean, IProgressMonitor) instead of IResource#setDerived(boolean)
1553<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=287607">287607</a>
1554[1.5][compiler] cast of inner of generic enclosing type are not reported as unsafe
1555<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=288749">288749</a>
1556Redundant superinterface not flagged inside one declaration
1557<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=290905">290905</a>
1558[formatter] Certain formatter pref constellation cause endless loop ==&gt; OOME
1559<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=285124">285124</a>
1560serialVersionUID still causes error/warning
1561<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=290877">290877</a>
1562[DOM] If using a tag named '@enum' the ASTParser ignores this
1563<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=281575">281575</a>
1564Eclipse hangs in SourceMapper while doing java proposals
1565<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=290470">290470</a>
1566[JSR199][compiler] JDT compiler not jsr199 compatible.
1567<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=290730">290730</a>
1568Rewriting SwitchStatement throws NPE
1569
1570<a name="v_A12"></a>
1571<hr><h1>
1572Eclipse Platform Build Notes<br>
1573Java development tools core</h1>
1574Eclipse SDK 3.6M3 - September 29, 2009
1575<br>Project org.eclipse.jdt.core v_A12
1576(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A12">cvs</a>).
1577<h2>What's new in this drop</h2>
1578
1579<h3>Problem Reports Fixed</h3>
1580<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=287676">287676</a>
1581[1.5][compiler] Useless cast warning not emited
1582<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=290563">290563</a>
1583add specification for fine grain search flags
1584<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=290376">290376</a>
1585Errant &quot;Comparing identical expressions&quot; warning with assignment
1586<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=287592">287592</a>
1587[1.5][compiler] Wrong ambiguous compilation error
1588<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=290049">290049</a>
1589Reconciling a compilation unit does not return an AST with bindings when it should (probably)
1590<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=290034">290034</a>
1591Effects of @SuppressWarnings(&quot;unchecked&quot;) are broader in Eclipse than in javac
1592<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=267561">267561</a>
1593[evaluation] LocalEvaluationEngine does not accept primitive types
1594<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=163194">163194</a>
1595[1.6] compiler should warn about missing @Override annotation for interface method
1596
1597<a name="v_A11"></a>
1598<hr><h1>
1599Eclipse Platform Build Notes<br>
1600Java development tools core</h1>
1601Eclipse SDK 3.6M3 - September 22, 2009
1602<br>Project org.eclipse.jdt.core v_A11
1603(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A11">cvs</a>).
1604<h2>What's new in this drop</h2>
1605
1606<h3>Problem Reports Fixed</h3>
1607<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=289892">289892</a>
1608[compiler] NPE during binaryTypeBinding field initialization
1609<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=287833">287833</a>
1610[formatter] Formatter removes the first character after the * in the &lt;pre&gt; tag
1611<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=238943">238943</a>
1612SortElementsOperation doesn't use project specific settings
1613<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=288621">288621</a>
1614[1.5][compiler] Creating type hierarchy failed when pressing F4
1615<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=289538">289538</a>
1616[1.5][compiler] compiler fails to generate correct code for private constructor in inner class
1617<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=289639">289639</a>
1618Problems opening perspective JavaPerspective, NPE on JavaModelManager.containersReset()
1619<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=289516">289516</a>
1620Annotations (visible and invisible) should be preserved with target jsr14
1621<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=289576">289576</a>
1622[1.5][compiler] Compiler changes 'private' modifier on methods with annotated parameter
1623
1624<a name="v_A10"></a>
1625<hr><h1>
1626Eclipse Platform Build Notes<br>
1627Java development tools core</h1>
1628Eclipse SDK 3.6M2 - September 14, 2009 - 3.6M2
1629<br>Project org.eclipse.jdt.core v_A10
1630(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A10">cvs</a>).
1631<h2>What's new in this drop</h2>
1632
1633<h3>Problem Reports Fixed</h3>
1634<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=288148">288148</a>
1635[perfs] Comments applied for performance tests may be obsolete
1636<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=289247">289247</a>
1637[1.5][compiler]Detecting duplicate methods should not consider return type
1638<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=288920">288920</a>
1639[compiler] NPE renaming run() method
1640<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=288698">288698</a>
1641Cannot create type hierarchy for abstract types when they have inline descendants and *.class* in project name
1642
1643<a name="v_A09"></a>
1644<hr><h1>
1645Eclipse Platform Build Notes<br>
1646Java development tools core</h1>
1647Eclipse SDK 3.6M2 - September 1, 2009
1648<br>Project org.eclipse.jdt.core v_A09
1649(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A09">cvs</a>).
1650<h2>What's new in this drop</h2>
1651
1652<h3>Problem Reports Fixed</h3>
1653<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=287009">287009</a>
1654Inner Annotation Checks are Missing
1655<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=287701">287701</a>
1656[dom] Length of Assignment should not include whitespace
1657<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=285230">285230</a>
1658[performance] Duplicate buffers created for internal classes
1659<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=286391">286391</a>
1660[compiler] jsr14 target behavior changed between ECJ 3.4.2 and ECJ 3.5
1661
1662<a name="v_A08"></a>
1663<hr><h1>
1664Eclipse Platform Build Notes<br>
1665Java development tools core</h1>
1666Eclipse SDK 3.6M2 - August 25, 2009
1667<br>Project org.eclipse.jdt.core v_A08
1668(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A08">cvs</a>).
1669<h2>What's new in this drop</h2>
1670
1671<h3>Problem Reports Fixed</h3>
1672<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=287462">287462</a>
1673[formatter] new failures in last 2 nightly builds
1674<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=285565">285565</a>
1675[inline] Inlining constant or local variables causes exceptions with tab width 0
1676<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=285799">285799</a>
1677HashtableOfObject rehashes and grows buffer on removeKey()
1678<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=286912">286912</a>
1679[formatter] Never join lines preferences makes the formatter unstable in certain circumstances
1680<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=286668">286668</a>
1681[formatter] 'Never Join Lines' joins lines that are split on method invocation
1682<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=248661">248661</a>
1683Axis2: Missing required libraries in Axis 2 WS Client Projects
1684<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=286918">286918</a>
1685[javadoc] Compiler should warn when @see and @link tag references in package-info.java don't have fully qualified names
1686<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=285466">285466</a>
1687[3.5 regression] fails to build IcedTea, works with 3.4.x
1688<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=286956">286956</a>
1689NPE when asking to externalize constant
1690<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=281609">281609</a>
1691[javadoc] &quot;Javadoc: Invalid reference&quot; warning for @link to Java package
1692
1693<a name="v_A07"></a>
1694<hr><h1>
1695Eclipse Platform Build Notes<br>
1696Java development tools core</h1>
1697Eclipse SDK 3.6M2 - August 18, 2009
1698<br>Project org.eclipse.jdt.core v_A07
1699(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A07">cvs</a>).
1700<h2>What's new in this drop</h2>
1701
1702<h3>Problem Reports Fixed</h3>
1703<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=286840">286840</a>
1704ClasspathJar getPath() should return a unique path
1705<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=254738">254738</a>
1706NPE in HierarchyResolver.setFocusType
1707<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=276294">276294</a>
1708Error does not go away after it is resolved
1709<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=284785">284785</a>
1710[1.5][compiler] Eclipse compiler shows error on javac-valid construct: varargs plus overload
1711<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=286405">286405</a>
1712Default value character of annotations in ClassFileEditor are badly printed
1713<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=286407">286407</a>
1714[Model] IMemberValuePair don't return the right value for java.lang.annotation.RetentionPolicy annotations
1715<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=285701">285701</a>
1716[1.5][compiler] Internal Compiler Error - ArrayIndexOutOfBoundsException
1717
1718<a name="v_A06"></a>
1719<hr><h1>
1720Eclipse Platform Build Notes<br>
1721Java development tools core</h1>
1722Eclipse SDK 3.6M1 - August 3, 2009 - 3.6M1
1723<br>Project org.eclipse.jdt.core v_A06
1724(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A06">cvs</a>).
1725<h2>What's new in this drop</h2>
1726
1727<h3>Problem Reports Fixed</h3>
1728<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=284948">284948</a>
1729[1.6][compiler] Java annotations are broken in editor when used on interface methods
1730
1731<a name="v_A05"></a>
1732<hr><h1>
1733Eclipse Platform Build Notes<br>
1734Java development tools core</h1>
1735Eclipse SDK 3.6M1 - July 30, 2009
1736<br>Project org.eclipse.jdt.core v_A05
1737(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A05">cvs</a>).
1738<h2>What's new in this drop</h2>
1739
1740<h3>Problem Reports Fixed</h3>
1741<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=276526">276526</a>
1742[content assist] Error - Type Duplicate interface Iterable for the type TestClass
1743<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=191176">191176</a>
1744JavaProject#getOption optimizations
1745
1746<a name="v_A04"></a>
1747<hr><h1>
1748Eclipse Platform Build Notes<br>
1749Java development tools core</h1>
1750Eclipse SDK 3.6M1 - July 28, 2009
1751<br>Project org.eclipse.jdt.core v_A04
1752(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A04">cvs</a>).
1753<h2>What's new in this drop</h2>
1754
1755<h3>Problem Reports Fixed</h3>
1756<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=261909">261909</a>
1757ClassFileReader.getModifiers() answers funny bits
1758<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=283225">283225</a>
1759[1.6][compiler] classfile versus source conformance check too strict
1760<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=284679">284679</a>
1761[formatter] empty single semi statement prevent enum elements format
1762<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=284482">284482</a>
1763[compiler] Collision cases not detected
1764<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=284431">284431</a>
1765Different inherited thrown exception clauses are not properly handled
1766<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=133911">133911</a>
1767type.move() returns unclear exception &quot;invalid destination&quot;
1768<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=270436">270436</a>
1769[assist] Interface type proposed where only class is legal
1770<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=210385">210385</a>
1771[compiler] ProblemReporter#getProblemCategory misbehaves when passed ProblemSeverities.Ignore as severity parameter
1772<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=282891">282891</a>
1773[compiler] "Comparing identical expressions" warning sometimes invalid
1774<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=282869">282869</a>
1775[compiler] Unnecessary cast warning for cast from char to int
1776<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=270437">270437</a>
1777[assist] Completion proposal leads to cycle detected error
1778<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=217443">217443</a>
1779Documentation for JavaCore#CORE_ENCODING does not match the observed behavior
1780
1781<a name="v_A03"></a>
1782<hr><h1>
1783Eclipse Platform Build Notes<br>
1784Java development tools core</h1>
1785Eclipse SDK 3.6M1 - July 21, 2009
1786<br>Project org.eclipse.jdt.core v_A03
1787(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A03">cvs</a>).
1788<h2>What's new in this drop</h2>
1789
1790<h3>Problem Reports Fixed</h3>
1791<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=283467">283467</a>
1792[formatter] wrong indentation with 'Never join lines' selected
1793<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=281776">281776</a>
1794Should not warn for comparison of identical expression with float type
1795<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=282768">282768</a>
1796[compiler] Dead code detection should ignore trivial case for ternary if operator
1797<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=283133">283133</a>
1798[formatter] IAE when pasting a snippet
1799<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=283299">283299</a>
1800Complete SourceRange API
1801
1802<a name="v_A02"></a>
1803<hr><h1>
1804Eclipse Platform Build Notes<br>
1805Java Development Tooling Core</h1>
1806Eclipse SDK 3.6M1 - July 13, 2009
1807<br>Project org.eclipse.jdt.core v_A02
1808(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A02">cvs</a>).
1809<h2>What's new in this drop</h2>
1810<ul>
1811<li>Added new API type org.eclipse.jdt.core.SourceRange</li>
1812</ul>
1813
1814<h3>Problem Reports Fixed</h3>
1815<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=271296">271296</a>
1816[assist] void typed proposal may not be appropriate in many contexts
1817<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=281871">281871</a>
1818[content assist] The extension took too long to return from the 'computeCompletionProposals()' operation
1819<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=281598">281598</a>
1820[assist] Problems during content assist - if project has empty zip file in classpath
1821<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=235294">235294</a>
1822[formatter] javadoc for DefaultCodeFormatterConstants#FORMATTER_ALIGNMENT_FOR_ASSIGNMENT cites a non-API constant
1823<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=280497">280497</a>
1824Incorrect null result for IJavaProject.getClasspathEntryFor(IPath)
1825<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=204777">204777</a>
1826Clarify documentation for ITypeHierarchy created on interface types
1827<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=88265">88265</a>
1828Make SourceRange API
1829
1830<a name="v_A01"></a>
1831<hr><h1>
1832Eclipse Platform Build Notes<br>
1833Java development tools core</h1>
1834Eclipse SDK 3.6M1 - July 7, 2009
1835<br>Project org.eclipse.jdt.core v_A01
1836(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A01">cvs</a>).
1837<h2>What's new in this drop</h2>
1838
1839<h3>Problem Reports Fixed</h3>
1840<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=260968">260968</a>
1841Deadlock in UserLibraryManager
1842
1843<a name="v_A00"></a>
1844<hr><h1>
1845Eclipse Platform Build Notes<br>
1846Java development tools core</h1>
1847Eclipse SDK 3.6M1 - June 30, 2009
1848<br>Project org.eclipse.jdt.core v_A00
1849(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_A00">cvs</a>).
1850<h2>What's new in this drop</h2>
1851<ul>
1852<li>New API added to handle the new <code>invokedynamic</code> bytecode:
1853<pre>
1854org.eclipse.jdt.core.util.ByteCodeVisitorAdapter:
1855 public void _invokedynamic(
1856 int pc,
1857 int index,
1858 IConstantPoolEntry nameEntry,
1859 IConstantPoolEntry descriptorEntry) {
1860 // default behavior is to do nothing
1861 }
1862</pre>
1863<pre>org.eclipse.jdt.core.util.IBytecodeVisitor#_invokedynamic(int, int, IConstantPoolEntry, IConstantPoolEntry)</pre>
1864<pre>org.eclipse.jdt.core.util.IOpcodeMnemonics#INVOKEDYNAMIC</pre>
1865</li>
1866</ul>
1867
1868<h3>Problem Reports Fixed</h3>
1869<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=277450">277450</a>
1870[1.5][compiler] Problems with += and Autoboxing/Unboxing
1871<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=206498">206498</a>
1872[1.7][compiler] Remove fix for bug 206483 once 1.7 VMS can handle .class files with version 51.0
1873<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=191176">191176</a>
1874JavaProject#getOption optimizations
1875<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=201762">201762</a>
1876Content Assist has no proposals with certain CU structure
1877<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=281681">281681</a>
1878Stale code in CompilerOptions
1879<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=231796">231796</a>
1880[formatter] @throws tag description is not indented using @param preference when there's a syntax error
1881<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=255142">255142</a>
1882[select] Codeselect should not omit cast
1883<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=235295">235295</a>
1884[formatter] javadoc of CodeFormatter#F_INCLUDE_COMMENTS needs improvement
1885<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=280134">280134</a>
1886[1.5][compiler] Requesting Java AST from selection has encountered a problem
1887<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=281317">281317</a>
1888[search] An internal error occurred during: "Java Search".
1889<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=276373">276373</a>
1890Incorrect resource comparison with IJavaProject.isOnClasspath(IResource)
1891<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=275518">275518</a>
1892[assist] Content assist does not provide proposals if invoked right after a method's opening brace
1893<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=280888">280888</a>
1894change a java file in one plug-in will compile all related plugin projects
1895<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=274466">274466</a>
1896[assist] Assert expressions should be proposed with high relevance
1897<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=277382">277382</a>
1898NPE and other failures in Parser
1899<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=275330">275330</a>
1900NPE from org.eclipse.jdt.internal.core.ClasspathChange.requestIndexing
1901<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=273385">273385</a>
1902[model] NPE while closing project
1903<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=280079">280079</a>
1904NPE while parsing K_CLASS_BODY_DECLARATIONS
1905<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=280063">280063</a>
1906org.eclipse.jdt.internal.compiler.parser.Parser.parseClassBodyDeclarations(char[], int, int, CompilationUnitDeclaration) should return consistent results
1907<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=267046">267046</a>
1908SourceMapper infinite loop on primitive type in generic
1909<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=240934">240934</a>
1910Add support for the invokedynamic bytecode into the disassembler
1911<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=267551">267551</a>
1912[formatter] Wrong spacing in default array parameter for annotation type
1913<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=277965">277965</a>
1914[compiler] NPE in canBeSeenBy due to illegal protected toplevel class
1915<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=273990">273990</a>
1916[compiler] FUP of 269388: Eclipse accepts code rejected by javac
1917<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=279183">279183</a>
1918[1.6][compiler] Inconsistent stackmap frames generated by JDT cause VerifyError
1919<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=209778">209778</a>
1920[search] TypeReferenceMatch#getOtherElements() fails for match in annotation
1921<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=221065">221065</a>
1922[search] Search still finds overridden method
1923<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=279836">279836</a>
1924[1.5][compiler] Eclipse compiler shows error on javac-valid construct: raw types on overridden methods
1925<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=280616">280616</a>
1926[formatter] Valid 1.5 code is not formatted inside &lt;pre&gt; tag
1927<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=280255">280255</a>
1928[formatter] Format edited lines adds two new lines on each save
1929<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=280061">280061</a>
1930[formatter] AIOOBE while formatting javadoc comment
1931<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=276938">276938</a>
1932Remove unreachable removes reachable logic in case statement.
1933<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=274898">274898</a>
1934[recovery] IllegalArgumentException in ASTNode#setSourceRange()
1935<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=277204">277204</a>
1936IAE in SharedASTProvider for generic local class.
1937<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=276741">276741</a>
1938comparing identical value detection does not work for this
1939<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=276740">276740</a>
1940comparing identical value detection does not work for primitive types
1941<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=278745">278745</a>
1942Methods overloaded with unavailable types worked in 3.4 but give "indirectly referenced.." error in 3.5
1943<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=278305">278305</a>
1944[1.5][compiler] JDT accepts supertype parameterized with wildcard
1945<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=196308">196308</a>
1946[formatter] Don't escape entity when formatting in &lt;pre&gt; tags within javadoc comments
1947<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=279359">279359</a>
1948[formatter] Formatter with 'never join lines' produces extra level of indent
1949<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=273619">273619</a>
1950[formatter] Formatting repeats *} in javadoc
1951
1952<hr>
1953<p>For earlier build notes, also see <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.jdt.core/notes/R35_buildnotes_jdt-core.html">build notes up to Release 3.5</a>.</p>
1954<br>
1955 <p>
1956 <a href="http://validator.w3.org/check?uri=referer"><img
1957 src="http://www.w3.org/Icons/valid-html401"
1958 alt="Valid HTML 4.01 Transitional" height="31" width="88"></a>
1959 </p>
1960</body>
1961</html>
1962