blob: c1798d24015ce84d31829f19042b6b27e42b06a8 [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">
Stephan Herrmanndd780c62011-08-13 11:41:32 +00006 <title>JDT/Core Release Notes 3.8</title>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00007 <link rel="stylesheet" href="jdt_core_style.css" charset="iso-8859-1" type="text/css">
8</head>
9<body text="#000000" bgcolor="#FFFFFF">
10<table border=0 cellspacing=5 cellpadding=2 width="100%" >
11 <tr>
12 <td align="left" width="72%" class="title1">
Stephan Herrmanndd780c62011-08-13 11:41:32 +000013 <font size="+3"><b>jdt core - build notes 3.8 stream</b></font>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000014 </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>,
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +020023 describing <a href="https://bugs.eclipse.org/bugs" target=new>bug</a> resolution and substantial changes in the <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/"><b>HEAD</b></a> branch.
Stephan Herrmanndd780c62011-08-13 11:41:32 +000024 For more information on 3.8 planning, please refer to <a href="http://www.eclipse.org/jdt/core/r3.8/plan.php">JDT/Core release plan</a>,
25 the next <a href="http://www.eclipse.org/jdt/core/r3.8/plan.php#current-milestone">milestone plan</a>,
Stephan Herrmannbb25a052011-01-27 11:59:20 +000026 the overall <a href="http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclipse.org/eclipse/development/plans/eclipse_project_plan_3_7.xml">official plan</a>,
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000027 or the <a href="http://www.eclipse.org/eclipse/platform-releng/buildSchedule.html">build schedule</a>.
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +020028 This present document covers all changes since Release 3.7 (also see a summary of <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/plain/org.eclipse.jdt.core/notes/API_changes.html">API changes</a>).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000029 <br>Maintenance of previous releases of JDT/Core is performed in parallel branches:
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +020030 <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R3_7_maintenance">R3.7.x</a>,
31 <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R3_6_maintenance">R3.6.x</a>,
32 <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R3_5_maintenance">R3.5.x</a>,
33 <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R3_4_maintenance">R3.4.x</a>,
34 <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R3_3_maintenance">R3.3.x</a>,
35 <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R3_2_maintenance">R3.2.x</a>,
36 <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R3_1_maintenance">R3.1.x</a>,
37 <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R3_0_maintenance">R3.0.x</a>,
38 <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R2_1_maintenance">R2.1.x</a>,
39 <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R2_0_1">R2.0.x</a>,
40 <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=ECLIPSE_1_0">R1.0.x</a>.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000041 </font>
42 </td>
43 </tr>
44</table>
Stephan Herrmann0bf562c2012-06-02 21:24:17 +020045<a name="v_C58"></a>
46<hr><h1>
47Eclipse Platform Build Notes<br>
48Java development tools core</h1>
49Eclipse SDK 3.8.0 - May 31, 2012
50<br>Project org.eclipse.jdt.core v_C58
51(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C58">cvs</a>).
52<h2>What's new in this drop</h2>
53
54<h3>Problem Reports Fixed</h3>
55<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=380927">380927</a>
56VerifyError issue with inconsistent stack map frames with do..while and nested switch statements.
57
58<a name="v_C57"></a>
59<hr><h1>
60Eclipse Platform Build Notes<br>
61Java development tools core</h1>
62Eclipse SDK 3.8.0 - May 29, 2012
63<br>
64<h2>What's new in this drop</h2>
65
66<h3>Problem Reports Fixed</h3>
67<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=380750">380750</a>
68[compiler] local incorrectly flagged as uninitialized due to fix for bug 359495
69<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=380313">380313</a>
70Inconsistent stack error when using Java 1.7
71
Stephan Herrmann2feba952012-05-26 15:02:07 +020072<a name="v_C56"></a>
73<hr><h1>
74Eclipse Platform Build Notes<br>
75Java development tools core</h1>
Stephan Herrmann0bf562c2012-06-02 21:24:17 +020076Eclipse SDK 3.8.0 - May 23, 2012
Stephan Herrmann2feba952012-05-26 15:02:07 +020077<br>
78<h2>What's new in this drop</h2>
79
80<h3>Problem Reports Fixed</h3>
81<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=380112">380112</a>
82[1.7][compiler] Incorrect unreachable catch block detection in try-with-resources
83<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=379726">379726</a>
84Include Eclipse-BundleShape in test plugin MANIFEST.MF
85
86<a name="v_C55"></a>
87<hr><h1>
88Eclipse Platform Build Notes<br>
89Java development tools core</h1>
90Eclipse SDK 3.8.0 - May 21, 2012
91<br>
92<h2>What's new in this drop</h2>
93
94<h3>Problem Reports Fixed</h3>
95<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=379793">379793</a>
96formatter hangs
97
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +020098<a name="v_C54"></a>
99<hr><h1>
100Eclipse Platform Build Notes<br>
101Java development tools core</h1>
102Eclipse SDK 3.8.0 - May 16, 2012 - 3.8.0 RC1
103<br>
104<h2>What's new in this drop</h2>
105
106<h3>Problem Reports Fixed</h3>
107<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=379630">379630</a>
108Regression: NPE during reconcile/build
109
110<a name="v_C53"></a>
111<hr><h1>
112Eclipse Platform Build Notes<br>
113Java development tools core</h1>
114Eclipse SDK 3.8.0 - May 14, 2012
115<br>
116<h2>What's new in this drop</h2>
117
118<h3>Problem Reports Fixed</h3>
119<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=375971">375971</a>
120[search] Not finding method references with generics
121<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=376550">376550</a>
122&quot;Method can be static&quot; warning on method that accesses instance field in inner class
123
124<a name="v_C52"></a>
125<hr><h1>
126Eclipse Platform Build Notes<br>
127Java development tools core</h1>
128Eclipse SDK 3.8.0 - May 11, 2012
129<br>
130<h2>What's new in this drop</h2>
131
132<h3>Problem Reports Fixed</h3>
133<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=373409">373409</a>
134[code assist] Bad relevance for constructor proposals (new Thread())
135
136<a name="v_C51"></a>
137<hr><h1>
138Eclipse Platform Build Notes<br>
139Java development tools core</h1>
140Eclipse SDK 3.8.0 - May 8, 2012 - 3.8.0 RC1
141<br>
142<h2>What's new in this drop</h2>
143
144<h3>Problem Reports Fixed</h3>
145<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=378390">378390</a>
146[search] regression caused by the fix for bug 357547
147
Stephan Herrmann54669f82012-05-08 19:36:39 +0200148<a name="v_C50"></a>
149<hr><h1>
150Eclipse Platform Build Notes<br>
151Java development tools core</h1>
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +0200152Eclipse SDK 3.8.0 - April 30, 2012
Stephan Herrmann54669f82012-05-08 19:36:39 +0200153<br>
154<h2>What's new in this drop</h2>
155
156<h3>Problem Reports Fixed</h3>
157<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=376930">376930</a>
158FUP of bug 24804: Organize imports does not work when folding imports into on-demand import
159
Stephan Herrmann4f3f3d12012-04-28 23:46:59 +0200160<a name="v_C49"></a>
161<hr><h1>
162Eclipse Platform Build Notes<br>
163Java development tools core</h1>
Stephan Herrmann54669f82012-05-08 19:36:39 +0200164Eclipse SDK 3.8.0 - April 30, 2012
165<br>
Stephan Herrmann4f3f3d12012-04-28 23:46:59 +0200166<h2>What's new in this drop</h2>
167
168<h3>Problem Reports Fixed</h3>
Stephan Herrmann54669f82012-05-08 19:36:39 +0200169<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=374176">374176</a>
170Sticky default nullness diagnostics.
171<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=371832">371832</a>
Stephan Herrmann4f3f3d12012-04-28 23:46:59 +0200172The preference &quot;Suppress optional errors with '@SuppressWarnings'&quot; ends up silencing warnings it shouldn't
173
174<a name="v_C48"></a>
175<hr><h1>
176Eclipse Platform Build Notes<br>
177Java development tools core</h1>
178Eclipse SDK 3.8.0 - April 27, 2012
Stephan Herrmann54669f82012-05-08 19:36:39 +0200179<br>
Stephan Herrmann4f3f3d12012-04-28 23:46:59 +0200180<h2>What's new in this drop</h2>
181
182<h3>Problem Reports Fixed</h3>
183<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=377806">377806</a>
184ExternalFoldersManager standalone regression
185<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322977">322977</a>
186Documentation about use of &quot;SearchPattern.R_REGEXP_MATCH&quot; is wrong
187
188<a name="v_C47"></a>
189<hr><h1>
190Eclipse Platform Build Notes<br>
191Java development tools core</h1>
192Eclipse SDK 3.8.0 - April 26, 2012
193<br>
194<h2>What's new in this drop</h2>
195
196<h3>Problem Reports Fixed</h3>
197<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=376724">376724</a>
198ExternalFoldersManager still has synchronization gaps
199<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=374129">374129</a>
200more tests for bug 372011
201<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365710">365710</a>
202FUP of bug 363293: Fix the incorrect added resource close
203
204<a name="v_C46"></a>
205<hr><h1>
206Eclipse Platform Build Notes<br>
207Java development tools core</h1>
208Eclipse SDK 3.8.0 - April 24, 2012 - April 10, 2012
209<br>
210<h2>What's new in this drop</h2>
211<ul>
212<li>New/changed options in JavaCore to control warnings relating to incomplete switch statements:
213<pre>
214 /**
215 * Compiler option ID: Reporting Incomplete Enum Switch.
216 * When enabled, the compiler will issue an error or a warning
217 * regarding each enum constant for which a corresponding case label is lacking.
218 * Reporting is further controlled by the option {@link #COMPILER_PB_MISSING_ENUM_CASE_DESPITE_DEFAULT}.
219 *
220 * Option id:"org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch"
221 * Possible values:{ "error", "warning", "ignore" }
222 * Default:"warning"
223 *
224 * @since 3.1
225 * @category CompilerOptionID
226 */
227 public static final String COMPILER_PB_INCOMPLETE_ENUM_SWITCH = PLUGIN_ID + ".compiler.problem.incompleteEnumSwitch"; //$NON-NLS-1$
228 /**
229 * Compiler option ID: Reporting Missing Enum Case In Switch Despite An Existing Default Case.
230 * This option further controls the option {@link #COMPILER_PB_INCOMPLETE_ENUM_SWITCH}:
231 *
232 * - If enabled the compiler will report problems about missing enum constants even if a default case exists
233 * in the same switch statement.
234 * - If disabled existence of a default case is considered as sufficient to make a switch statement complete.
235 *
236 * This option has no effect if {@link #COMPILER_PB_INCOMPLETE_ENUM_SWITCH} is set to "ignore".
237 *
238 * Option id:"org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault"
239 * Possible values:{ "enabled", "disabled" }
240 * Default:"disabled"
241 *
242 * @since 3.8
243 * @category CompilerOptionID
244 */
245 public static final String COMPILER_PB_MISSING_ENUM_CASE_DESPITE_DEFAULT = PLUGIN_ID + ".compiler.problem.missingEnumCaseDespiteDefault"; //$NON-NLS-1$
246 /**
247 * Compiler option ID: Reporting Missing Default Case In Switch.
248 * When enabled, the compiler will issue an error or a warning
249 * against each switch statement that lacks a default case.
250 *
251 * Option id:"org.eclipse.jdt.core.compiler.problem.missingDefaultCase"
252 * Possible values:{ "error", "warning", "ignore" }
253 * Default:"ignore"
254 *
255 * @since 3.8
256 * @category CompilerOptionID
257 */
258 public static final String COMPILER_PB_SWITCH_MISSING_DEFAULT_CASE = PLUGIN_ID + ".compiler.problem.missingDefaultCase"; //$NON-NLS-1$
259</pre>
260</li>
261<li> New IProblems relating to incomplete switch statements.
262<pre>
263 /** @since 3.8 */
264 int MissingEnumDefaultCase = Internal + 766;
265 /** @since 3.8 */
266 int MissingDefaultCase = Internal + 767;
267 /** @since 3.8 */
268 int MissingEnumConstantCaseDespiteDefault = FieldRelated + 768;
269 /** @since 3.8 */
270 int UninitializedLocalVariableHintMissingDefault = Internal + 769;
271 /** @since 3.8 */
272 int UninitializedBlankFinalFieldHintMissingDefault = FieldRelated + 770;
273 /** @since 3.8 */
274 int ShouldReturnValueHintMissingDefault = MethodRelated + 771;
275</pre>
276</li>
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +0200277</ul>
Stephan Herrmann4f3f3d12012-04-28 23:46:59 +0200278
279<h3>Problem Reports Fixed</h3>
280<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=377401">377401</a>
281FuP of bug 372418: &quot;The type ... cannot be resolved&quot; error when there is a $ in the class name.
282<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=376429">376429</a>
283AIOOBE when trying to create AST for invalid annotation declaration
284<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=376673">376673</a>
285DBCS4.2 Can not rename the class names when DBCS (Surrogate e.g. U+20B9F) is in it
286<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=374605">374605</a>
287Unreasonable warning for enum-based switch statements
288<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=372694">372694</a>
289Adjust parser generator tools
290
291<a name="v_C45"></a>
292<hr><h1>
293Eclipse Platform Build Notes<br>
294Java development tools core</h1>
295Eclipse SDK 3.8.0 - April 17, 2012
296<br>
297<h2>What's new in this drop</h2>
298
299<h3>Problem Reports Fixed</h3>
300<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=326610">326610</a>
301[content assist] code assist for package-info.java
302<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=376465">376465</a>
303Mixed line delimiters in org.eclipse.jdt.internal.compiler.parser.Parser.consumeRule(int)
304<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=376837">376837</a>
305[warning] Resource leak warning in FileManagerTest
306<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=375394">375394</a>
307Incorrect type checking for parameterized types
308
Stephan Herrmann942dbe92012-04-12 20:50:07 +0200309<a name="v_C44"></a>
310<hr><h1>
311Eclipse Platform Build Notes<br>
312Java development tools core</h1>
Stephan Herrmann4f3f3d12012-04-28 23:46:59 +0200313Eclipse SDK 3.8.0
314<br>
Stephan Herrmann942dbe92012-04-12 20:50:07 +0200315<h2>What's new in this drop</h2>
316
317<h3>Problem Reports Fixed</h3>
318<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351697">351697</a>
319ClassCastException while copying a .class file to wrong source package
Stephan Herrmann942dbe92012-04-12 20:50:07 +0200320<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=375326">375326</a>
321try-with-resources assignment in statement produces stack map exception
322
323<a name="v_C43"></a>
324<hr><h1>
325Eclipse Platform Build Notes<br>
326Java development tools core</h1>
327Eclipse SDK 3.8.0 - April 3, 2012
Stephan Herrmann4f3f3d12012-04-28 23:46:59 +0200328<br>
Stephan Herrmann942dbe92012-04-12 20:50:07 +0200329<h2>What's new in this drop</h2>
330
331<h3>Problem Reports Fixed</h3>
332<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=375568">375568</a>
333@PolymorphicSignature methods in MethodHandle have wrong annotation on parameter
334<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=372687">372687</a>
335org.eclipse.jdt.core.LRUCache.get(Object key) returns an empty list from a class that has methods
336
337<a name="v_C42"></a>
338<hr><h1>
339Eclipse Platform Build Notes<br>
340Java development tools core</h1>
341Eclipse SDK 3.8.0 - March 27, 2012
342<br>
343<h2>What's new in this drop</h2>
344
345<h3>Problem Reports Fixed</h3>
346<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=374538">374538</a>
347[local] localFile service tries to set modified time on virtual files
348<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=375248">375248</a>
349AIOOBE inside twr with finally block
350
351<a name="v_C41"></a>
352<hr><h1>
353Eclipse Platform Build Notes<br>
354Java development tools core</h1>
355Eclipse SDK 3.8.0 - March 20, 2012
356<br>
357<h2>What's new in this drop</h2>
358
359<h3>Problem Reports Fixed</h3>
360<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=372319">372319</a>
361Unexpected 'The local variable i may not have been initialized' compile error
362
Stephan Herrmannb9e10522012-03-15 21:24:23 +0100363<a name="v_C40"></a>
364<hr><h1>
365Eclipse Platform Build Notes<br>
366Java development tools core</h1>
367Eclipse SDK 3.8.0 - March 13, 2012 - 3.8.0 M6
Stephan Herrmann4f3f3d12012-04-28 23:46:59 +0200368<br>
Stephan Herrmannb9e10522012-03-15 21:24:23 +0100369<h2>What's new in this drop</h2>
370
371<h3>Problem Reports Fixed</h3>
372<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=374063">374063</a>
373[builder][regression] bug 372012 causes regular problems to be reported against the package
374
375<a name="v_C39"></a>
376<hr><h1>
377Eclipse Platform Build Notes<br>
378Java development tools core</h1>
379Eclipse SDK 3.8.0 - March 13, 2012
380<br>
381<h2>What's new in this drop</h2>
382
383<h3>Problem Reports Fixed</h3>
384<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=373953">373953</a>
385FUP of bug 127575: java.eclipse.core.runtime.Assert is being recognized as org.eclipse.core.runtime.Assert
386
387<a name="v_C38"></a>
388<hr><h1>
389Eclipse Platform Build Notes<br>
390Java development tools core</h1>
391Eclipse SDK 3.8.0 - March 12, 2012
392<br>
393<h2>What's new in this drop</h2>
394<ul>
395<li> New IProblems for distinguishing null warnings based on flow analysis vs. null annotations.
396<pre>
397 /** @since 3.8 */
398 int RedundantNullCheckOnSpecdNonNullLocalVariable = Internal + 931;
399
400 /** @since 3.8 */
401 int SpecdNonNullLocalVariableComparisonYieldsFalse = Internal + 932;
402
403 /** @since 3.8 */
404 int RequiredNonNullButProvidedSpecdNullable = Internal + 933;
405</pre>
406</li>
407<li> New IProblems for reporting missing NonNullByDefault annotation on package/type.
408<pre>
409 /** @since 3.8 */
410 int MissingNonNullByDefaultAnnotationOnPackage = Internal + 913;
411
412 /** @since 3.8 */
413 int MissingNonNullByDefaultAnnotationOnType = Internal + 930;
414</pre>
415</li>
416<li>Added new option in JavaCore to control warning for missing default nullness annotation:
417<pre>
418 /**
419 * Compiler option ID: Reporting missing default nullness annotation.
420 *
421 * When enabled, the compiler will issue an error or a warning in the following cases:
422 *
423 * 1. When a package does not contain a default nullness annotation, as a result of missing package-info.java
424 * or missing default nullness annotation in package-info.java.
425 * 2. When a type inside a default package does not contain a default nullness annotation.
426 *
427 * This option only has an effect if the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled.
428 *
429 * Option id:"org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation"
430 * Possible values:{ "error", "warning", "ignore" }
431 * Default:"ignore"
432 *
433 * @since 3.8
434 * @category CompilerOptionID
435 */
436 public static final String COMPILER_PB_MISSING_NONNULL_BY_DEFAULT_ANNOTATION = PLUGIN_ID + ".compiler.annotation.missingNonNullByDefaultAnnotation"
437</pre>
438</li>
439</ul>
440
441<h3>Problem Reports Fixed</h3>
442<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365859">365859</a>
443[compiler][null] distinguish warnings based on flow analysis vs. null annotations
444<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=373571">373571</a>
445[null][regression] Incorrect application of null annotations to primitive types
446<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=367836">367836</a>
447Inconsistent source range for error from build and reconciler (declared package does not match expected)
448<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=368646">368646</a>
449[rename] rejects LocalVariable with initializer
450<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=372012">372012</a>
451[compiler][null] Warn when defaults not specified
452
453<a name="v_C37"></a>
454<hr><h1>
455Eclipse Platform Build Notes<br>
456Java development tools core</h1>
457Eclipse SDK 3.8.0 - March 6, 2012
458<br>
459<h2>What's new in this drop</h2>
460
461<ul>
462<li> New IProblems for reporting if an enum switch lacks a default cause (recommended by the JLS).
463<pre>
464 /** @since 3.8 */
465 int MissingEnumDefaultCase = Internal + 766;
466</pre>
467</li>
468<li>Adjusted the specification of the corresponding constant in JavaCore:
469<pre>
470 /**
471 * Compiler option ID: Reporting Incomplete Enum Switch.
472 *
473 * When enabled, the compiler will issue an error or a warning whenever
474 * an enum switch statement lacks a default case.
475 * If no default case is given, additionally one error or warning is issued
476 * regarding each enum constant for which a corresponding case label is lacking.
477 *
478 * Option id: "org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch"
479 * Possible values: { "error", "warning", "ignore" }
480 * Default: "warning"
481 * @since 3.1
482 * @category CompilerOptionID
483 */
484 public static final String COMPILER_PB_INCOMPLETE_ENUM_SWITCH = PLUGIN_ID + ".compiler.problem.incompleteEnumSwitch"; //$NON-NLS-1$
485</pre>
486</ul>
487
488<h3>Problem Reports Fixed</h3>
489<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=371732">371732</a>
490Deprecate AST.JLS3
491<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=372909">372909</a>
492message verbiage for instanceof erasure
493<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347386">347386</a>
494Cannot delete package from java project (two source and output folders)
495<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=372011">372011</a>
496[compiler][null] Restore behaviour of null defaults for binary types
497<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=127575">127575</a>
498Null reference checks don't handle Assert
499<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=265744">265744</a>
500Enum switch should warn about missing default
501
502<a name="v_C36"></a>
503<hr><h1>
504Eclipse Platform Build Notes<br>
505Java development tools core</h1>
506Eclipse SDK 3.8.0 - February 28, 2012
507<br>
508<h2>What's new in this drop</h2>
509
510<h3>Problem Reports Fixed</h3>
511<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=372377">372377</a>
512ASTParser#createASTs(..) should not ignore optional compile problems
513<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=372351">372351</a>
514Illegal implementation of 'org.eclipse.jdt.internal.compiler.env.ICompilationUnit' in Tomcat Jasper
515<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=220928">220928</a>
516[buildpath] Should be able to ignore warnings from certain source folders
517
Stephan Herrmann6cecadb2012-02-26 01:08:39 +0100518<a name="v_C35"></a>
519<hr><h1>
520Eclipse Platform Build Notes<br>
521Java development tools core</h1>
Stephan Herrmannb9e10522012-03-15 21:24:23 +0100522Eclipse SDK 3.8.0 - February 21, 2012
523<br>
Stephan Herrmann6cecadb2012-02-26 01:08:39 +0100524<h2>What's new in this drop</h2>
525
526<h3>Problem Reports Fixed</h3>
527<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365499">365499</a>
528Add a system property to control for JavaModelManager's jar type cache size
529<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=368152">368152</a>
530ConcurrentModificationException on startup in ExternalFoldersManager.createPendingFolders
531<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=244544">244544</a>
532codeSelect fails on constant declaration in anonymous and local classes
533<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=291040">291040</a>
534codeSelect(..) does not work for a deeply nested method invocation in nested and anonymous class
535<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=370930">370930</a>
536NonNull annotation not considered for enhanced for loops
537<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=366063">366063</a>
538Compiler should not add synthetic @NonNull annotations
539<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365531">365531</a>
540[compiler][null] investigate alternative strategy for internally encoding nullness defaults
541<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=370639">370639</a>
542[compiler][resource] restore the default for resource leak warnings
543
544<a name="v_C34"></a>
545<hr><h1>
546Eclipse Platform Build Notes<br>
547Java development tools core</h1>
548Eclipse SDK 3.8.0 - February 14, 2012
549<br>
550<h2>What's new in this drop</h2>
551
552<h3>Problem Reports Fixed</h3>
553<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=123836">123836</a>
554[1.5][search] for references to overriding method with bound type variable is not polymorphic
555<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=368546">368546</a>
556[compiler][resource] Avoid remaining false positives found when compiling the Eclipse SDK
557<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=364254">364254</a>
558Reduce console output during JDT/Core junits execution.
559<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=362633">362633</a>
560NPE while trying to rename a class
561
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100562<a name="v_C33"></a>
563<hr><h1>
564Eclipse Platform Build Notes<br>
565Java development tools core</h1>
Stephan Herrmann6cecadb2012-02-26 01:08:39 +0100566Eclipse SDK 3.8.0 - January 25, 2012 - 3.8.0 M5
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100567<br>
568<h2>What's new in this drop</h2>
569
570<h3>Problem Reports Fixed</h3>
571<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=369595">369595</a>
572Javadoc fixes for IClasspathAttribute.SOURCE_ATTACHMENT_ENCODING
573
574<a name="v_C32"></a>
575<hr><h1>
576Eclipse Platform Build Notes<br>
577Java development tools core</h1>
578Eclipse SDK 3.8.0 - January 24, 2012
579<br>
580<h2>What's new in this drop</h2>
581
582<h3>Problem Reports Fixed</h3>
583<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=366829">366829</a>
584Batch compiler option and SuppressWarnings token for Overriding a Synchronized Method with a Non-synchronized Method
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100585
586<a name="v_C31"></a>
587<hr><h1>
588Eclipse Platform Build Notes<br>
589Java development tools core</h1>
590Eclipse SDK 3.8.0 - January 22, 2012
591<br>
592<h2>What's new in this drop</h2>
593
594<h3>Problem Reports Fixed</h3>
595<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=369251">369251</a>
596Starved worker threads
597<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365208">365208</a>
598[compiler][batch] command line options for annotation based null analysis
599
600<a name="v_C30"></a>
601<hr><h1>
602Eclipse Platform Build Notes<br>
603Java development tools core</h1>
604Eclipse SDK 3.8.0 - January 20, 2012
605<br>
606<h2>What's new in this drop</h2>
607<ul>
608<li>New constant for the name of the encoding to be used for source attachments in IClasspathAttribute (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361356">361356</a> for details)
609<pre>
610 /**
611 * Constant for the name of the encoding to be used for source attachments.
612 *
613 * &lt;p&gt;The value of this attribute has to be a string representation of a valid encoding. The encoding
614 * for a source attachment is determined in the following order: &lt;/p&gt;
615 *
616 * &lt;ul&gt;
617 * &lt;li&gt; Encoding explicitly set on the source file (java or zip), i.e. <code>org.eclipse.core.resources.IFile#getCharset(false)</code> &lt;/li&gt;
618 * &lt;li&gt; Encoding set on the corresponding classpath entry &lt;/li&gt;
619 * &lt;li&gt; If the source attachment is a member of the project, then the project's default charSet&lt;/li&gt;
620 * &lt;li&gt; Workspace default charSet &lt;/li&gt;
621 * &lt;/ul&gt;
622 *
623 * @since 3.8
624 */
625 String SOURCE_ATTACHMENT_ENCODING = "source_encoding";
626</pre>
627</li>
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100628<li> New IProblems for messages relating to contradictory or redundant null annotations
629<pre>
630 /** @since 3.8 */
631 int RedundantNullDefaultAnnotation = Internal + 925;
632 /** @since 3.8 */
633 int RedundantNullDefaultAnnotationPackage = Internal + 926;
634 /** @since 3.8 */
635 int RedundantNullDefaultAnnotationType = Internal + 927;
636 /** @since 3.8 */
637 int RedundantNullDefaultAnnotationMethod = Internal + 928;
638 /** @since 3.8 */
639 int ContradictoryNullAnnotations = Internal + 929;
640</pre>
641</li>
642</ul>
643<h3>Problem Reports Fixed</h3>
644<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361356">361356</a>
645Allow to specify encoding for source attachments
646<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365582">365582</a>
647FUP of bug 361938: Other error code pattern
648<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365662">365662</a>
649[compiler][null] warn on contradictory and redundant null annotations
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100650
651<a name="v_C29"></a>
652<hr><h1>
653Eclipse Platform Build Notes<br>
654Java development tools core</h1>
655Eclipse SDK 3.8.0 - January 17, 2012
656<br>
657<h2>What's new in this drop</h2>
658
659<h3>Problem Reports Fixed</h3>
660<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=368842">368842</a>
661test failure because test case refers to java.util.Objects
662<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=368709">368709</a>
663Endless loop in FakedTrackingVariable.markPassedToOutside
664<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361407">361407</a>
665Resource leak warning when resource is assigned to a field outside of constructor
666<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=362331">362331</a>
667Resource leak not detected when closeable not assigned to variable
668<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=362332">362332</a>
669Only report potential leak when closeable not created in the local scope
670<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=360908">360908</a>
671Avoid resource leak warning when the underlying/chained resource is closed explicitly
672<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361073">361073</a>
673Avoid resource leak warning when the top level resource is closed explicitly
674<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=358903">358903</a>
675Filter practically unimportant resource leak warnings
676<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365387">365387</a>
677[compiler][null] bug 186342: Issues to follow up post review and verification.
678<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365519">365519</a>
679editorial cleanup after bug 186342 and bug 365387
680<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=368435">368435</a>
681[compiler] NPE while compile a method with unused local
682<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361963">361963</a>
683Stack overflow when trying to code complete a generic list
684<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365437">365437</a>
685Private methods tagged with @Inject should not be flagged with unused warning
686<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=366131">366131</a>
687[1.5][compiler] New generics compile error in Indigo SR1 for code that compiles in earlier Eclipse and javac
688
689<a name="v_C28"></a>
690<hr><h1>
691Eclipse Platform Build Notes<br>
692Java development tools core</h1>
693Eclipse SDK 3.8.0 - January 10, 2012
694<h2>What's new in this drop</h2>
695
696<h3>Problem Reports Fixed</h3>
697<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=367023">367023</a>
698Error in JDT Core during AST creation
699<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354229">354229</a>
700[compiler][1.7] Name clash error not being reported by ecj.
701<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=367879">367879</a>
702Incorrect &quot;Potential null pointer access&quot; warning on statement after try-with-resources within try-finally
703<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=366999">366999</a>
704VerifyError: Inconsistent stackmap frames
705<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346175">346175</a>
706@SuppressWarnings should clear all errors including fatal optional errors
707<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=366544">366544</a>
708[index] Test testUseIndexInternalJarAfterRestart failed on Mac and Linux
709<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=302850">302850</a>
71013 failures in JavaModel tests for the N20100214-2000 Mac OS X - Cocoa test machine
711
712<a name="v_C27"></a>
713<hr><h1>
714Eclipse Platform Build Notes<br>
715Java development tools core</h1>
716Eclipse SDK 3.8.0 - January 3, 2012 - 3.8.0 M5
717<br>
718<h2>What's new in this drop</h2>
719
720<h3>Problem Reports Fixed</h3>
721<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=367566">367566</a>
722In try-with-resources statement close() method of resource is not called
723<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=364890">364890</a>
724BinaryTypeBinding should use char constants from Util
725<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365992">365992</a>
726[builder] [null] Change of nullness for a parameter doesn't trigger a build for the files that call the method
727<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=367203">367203</a>
728[compiler][null] detect assigning null to nonnull argument
729<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=367154">367154</a>
730[compiler][null] Problem in propagating null defaults.
731
732<a name="v_C26"></a>
733<hr><h1>
734Eclipse Platform Build Notes<br>
735Java development tools core</h1>
736Eclipse SDK 3.8.0 - December 20, 2011
737<h2>What's new in this drop</h2>
738
739<h3>Problem Reports Fixed</h3>
740<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=362711">362711</a>
741possibly incorrect JDT POST_CHANGE event fired when a file is replaced
742<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365835">365835</a>
743[compiler][null] inconsistent error reporting.
744<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365836">365836</a>
745[compiler][null] Incomplete propagation of null defaults.
746<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365983">365983</a>
747[compiler][null] AIOOB with null annotation analysis and varargs
748<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=366003">366003</a>
749CCE in ASTNode.resolveAnnotations(ASTNode.java:639)
750<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=366829">366829</a>
751Batch compiler option and SuppressWarnings token for Overriding a Synchronized Method with a Non-synchronized Method
752<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=364450">364450</a>
753Dubious class path error triggers a full rebuild
754
755<a name="v_C25"></a>
756<hr><h1>
757Eclipse Platform Build Notes<br>
758Java development tools core</h1>
759Eclipse SDK 3.8.0 - December 13, 2011
760<h2>What's new in this drop</h2>
761<ul>
762<li>New constant for the name of index location class path attribute in IClasspathAttribute(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=356620">356620</a> for details)
763<pre>
764 /**
765 * Constant for the name of the index location attribute.
766 *
767 * The value for this attribute has to be the string representation of a URL.
768 * It should point to an existing index file in a folder or a jar. The URL can also be of platform protocol.
769 *
770 * @since 3.8
771 */
772 String INDEX_LOCATION_ATTRIBUTE_NAME = "index_location";
773</pre>
774</li>
775<li>New API org.eclipse.jdt.core.index.JavaIndexer.generateIndexForJar to generate the index file for a given jar
776<pre>
777 /**
778 * Generates the index file for the specified jar.
779 *
780 * @param pathToJar The full path to the jar that needs to be indexed
781 * @param pathToIndexFile The full path to the index file that needs to be generated
782 * @throws IOException if the jar is not found or could not write into the index file
783 * @since 3.8
784 */
785 public static void generateIndexForJar(String pathToJar, String pathToIndexFile) throws IOException;
786</pre>
787</li>
788<li> New application org.eclipse.jdt.core.JavaIndexer to generate index file for the given jar
789</li>
790<li> New ant task eclipse.buildJarIndex to generate the index file for the given jar </li>
791</ul>
792<h3>Problem Reports Fixed</h3>
793<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=356620">356620</a>
794Make it possible to provide indexes for defined libraries
795
Stephan Herrmannaa1e2842011-12-10 00:30:58 +0100796<a name="v_C24"></a>
Stephan Herrmann41a335b2011-12-08 22:55:07 +0100797<hr><h1>
798Eclipse Platform Build Notes<br>
799Java development tools core</h1>
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100800Eclipse SDK 3.8.0 - December 5, 2011 - 3.8.1 M4
Stephan Herrmannaa1e2842011-12-10 00:30:58 +0100801
802<h2>What's new in this drop</h2>
803
804<h3>Problem Reports Fixed</h3>
805<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365566">365566</a>
806set resource leak diagnostic to &quot;ignore&quot; until bug 358903 is fixed
807
808<a name="v_C23"></a>
809<hr><h1>
810Eclipse Platform Build Notes<br>
811Java development tools core</h1>
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100812Eclipse SDK 3.8.0
Stephan Herrmannaa1e2842011-12-10 00:30:58 +0100813<h2>What's new in this drop</h2>
814<ul>
815<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_ANNOTATION_NULL_ANALYSIS (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186342">186342</a> for details):
816<pre>
817 /**
818 * Compiler option ID: Annotation-based Null Analysis.
819 *
820 * This option controls whether the compiler will use null annotations for
821 * improved analysis of (potential) null references.
822 *
823 * When enabled, the compiler will interpret the annotation types defined using
824 * {@link #COMPILER_NONNULL_ANNOTATION_NAME} and {@link #COMPILER_NULLABLE_ANNOTATION_NAME}
825 * as specifying whether or not a given type includes the value <code>null</code>.
826 *
827 * The effect of these analyses is further controlled by the options
828 * {@link #COMPILER_PB_NULL_SPECIFICATION_VIOLATION},
829 * {@link #COMPILER_PB_POTENTIAL_NULL_SPECIFICATION_VIOLATION} and
830 * {@link #COMPILER_PB_NULL_SPECIFICATION_INSUFFICIENT_INFO}.
831 *
832 * Option id: <code>"org.eclipse.jdt.core.compiler.annotation.nullanalysis"</code>
833 * Possible values: <code>{ "disabled", "enabled" }</code>
834 * Default: <code>"disabled"</code>
835 * @since 3.8
836 * @category CompilerOptionID
837 */
838 public static final String COMPILER_ANNOTATION_NULL_ANALYSIS = PLUGIN_ID + ".compiler.annotation.nullanalysis";
839</pre></li>
840<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_NULLABLE_ANNOTATION_NAME (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186342">186342</a> for details):
841<pre>
842 /**
843 * Compiler option ID: Name of Annotation Type for Nullable Types.
844 *
845 * This option defines a fully qualified Java type name that the compiler may use
846 * to perform special null analysis.
847 *
848 * If the annotation specified by this option is applied to a type in a method
849 * signature or variable declaration, this will be interpreted as a specification
850 * that <code>null</code> is a legal value in that position. Currently supported
851 * positions are: method parameters, method return type and local variables.
852 *
853 * If a value whose type
854 * is annotated with this annotation is dereferenced without checking for null,
855 * the compiler will trigger a diagnostic as further controlled by
856 * {@link #COMPILER_PB_POTENTIAL_NULL_REFERENCE}.
857 *
858 * The compiler may furthermore check adherence to the null specification as
859 * further controlled by {@link #COMPILER_PB_NULL_SPECIFICATION_VIOLATION},
860 * {@link #COMPILER_PB_POTENTIAL_NULL_SPECIFICATION_VIOLATION} and
861 * {@link #COMPILER_PB_NULL_SPECIFICATION_INSUFFICIENT_INFO}.
862 *
863 * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled.
864 *
865 * Option id: <code>"org.eclipse.jdt.core.compiler.annotation.nullable"</code>
866 * Possible values: any legal, fully qualified Java type name; must resolve to an annotation type.
867 * Default: <code>"org.eclipse.jdt.annotation.Nullable"</code>
868 * @since 3.8
869 * @category CompilerOptionID
870 */
871 public static final String COMPILER_NULLABLE_ANNOTATION_NAME = PLUGIN_ID + ".compiler.annotation.nullable";
872</pre></li>
873<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_NONNULL_ANNOTATION_NAME (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186342">186342</a> for details):
874<pre>
875 /**
876 * Compiler option ID: Name of Annotation Type for Non-Null Types.
877 *
878 * This option defines a fully qualified Java type name that the compiler may use
879 * to perform special null analysis.
880 *
881 * If the annotation specified by this option is applied to a type in a method
882 * signature or variable declaration, this will be interpreted as a specification
883 * that <code>null</code> is <b>not</b> a legal value in that position. Currently
884 * supported positions are: method parameters, method return type and local variables.
885 *
886 * For values declared with this annotation, the compiler will never trigger a null
887 * reference diagnostic (as controlled by {@link #COMPILER_PB_POTENTIAL_NULL_REFERENCE}
888 * and {@link #COMPILER_PB_NULL_REFERENCE}), because the assumption is made that null
889 * will never occur at runtime in these positions.
890 *
891 * The compiler may furthermore check adherence to the null specification as further
892 * controlled by {@link #COMPILER_PB_NULL_SPECIFICATION_VIOLATION},
893 * {@link #COMPILER_PB_POTENTIAL_NULL_SPECIFICATION_VIOLATION} and
894 * {@link #COMPILER_PB_NULL_SPECIFICATION_INSUFFICIENT_INFO}.
895 *
896 * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled.
897 *
898 * Option id: <code>"org.eclipse.jdt.core.compiler.annotation.nonnull"</code>
899 * Possible values: any legal, fully qualified Java type name; must resolve to an annotation type.
900 * Default: <code>"org.eclipse.jdt.annotation.NonNull"</code>
901 * @since 3.8
902 * @category CompilerOptionID
903 */
904 public static final String COMPILER_NONNULL_ANNOTATION_NAME = PLUGIN_ID + ".compiler.annotation.nonnull";
905</pre></li>
906<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_NONNULL_BY_DEFAULT_ANNOTATION_NAME (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186342">186342</a> for details):
907<pre>
908 /**
909 * Compiler option ID: Name of Annotation Type to specify a nullness default for unannotated types.
910 *
911 * This option defines a fully qualified Java type name that the compiler may use
912 * to perform special null analysis.
913 *
914 * If the annotation is applied without an argument, all unannotated types in method signatures
915 * within the annotated element will be treated as if they were specified with the non-null annotation
916 * (see {@link #COMPILER_NONNULL_ANNOTATION_NAME}).
917 *
918 * If the annotation is applied with the constant <code>false</code> as its argument
919 * all corresponding defaults at outer scopes will be canceled for the annotated element.
920 * This includes defaults specified using this annotation type or a default defined using
921 * the compiler option {@link #COMPILER_NONNULL_IS_DEFAULT}.
922 *
923 * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled.
924 *
925 * Option id: <code>"org.eclipse.jdt.core.compiler.annotation.nonnullbydefault"</code>
926 * Possible values: any legal, fully qualified Java type name; must resolve to an annotation type.
927 * That annotation type should have exactly one boolean parameter.
928 * Default: <code>"org.eclipse.jdt.annotation.NonNullByDefault"</code>
929 * @since 3.8
930 * @category CompilerOptionID
931 */
932 public static final String COMPILER_NONNULL_BY_DEFAULT_ANNOTATION_NAME = PLUGIN_ID + ".compiler.annotation.nonnullbydefault";
933</pre></li>
934<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_NONNULL_IS_DEFAULT (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186342">186342</a> for details):
935<pre>
936 /**
937 * Compiler option ID: Globally specify non-null as the assumed default for unannotated types.
938 *
939 * When enabled this option globally achieves the same effect
940 * as specifying {@link #COMPILER_NONNULL_ANNOTATION_NAME} does for individual elements.
941 *
942 * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled.
943 *
944 * Option id: <code>"org.eclipse.jdt.core.compiler.annotation.nonnullisdefault"</code>
945 * Possible values: <code>{ "disabled", "enabled" }</code>.
946 * Default: <code>"disabled"</code>
947 * @since 3.8
948 * @category CompilerOptionID
949 */
950 public static final String COMPILER_NONNULL_IS_DEFAULT = PLUGIN_ID + ".compiler.annotation.nonnullisdefault";
951</pre></li>
952<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_NULL_SPECIFICATION_VIOLATION (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186342">186342</a> for details):
953<pre>
954 /**
955 * Compiler option ID: Reporting Violations of Null Specifications.
956 *
957 * Depending on this option, the compiler will issue either an error or a warning
958 * whenever one of the following situations is detected:
959 *
960 * 1. A method declared with a nonnull annotation returns an expression that is
961 * statically known to evaluate to a null value.
962 * 2. An expression that is statically known to evaluate to a null value is passed
963 * as an argument in a method call where the corresponding parameter of the called
964 * method is declared with a nonnull annotation.
965 * 3. An expression that is statically known to evaluate to a null value is assigned
966 * to a local variable that is declared with a nonnull annotation.
967 * 4. A method that overrides an inherited method declared with a nonnull annotation
968 * tries to relax that contract by specifying a nullable annotation
969 * (prohibition of contravariant return).
970 * 5. A method that overrides an inherited method which has a nullable declaration
971 * for at least one of its parameters, tries to tighten that null contract by
972 * specifying a nonnull annotation for its corresponding parameter
973 * (prohibition of covariant parameters).
974 *
975 * The compiler options {@link #COMPILER_NONNULL_ANNOTATION_NAME} and
976 * {@link #COMPILER_NULLABLE_ANNOTATION_NAME} control which annotations the compiler
977 * shall interpret as nonnull or nullable annotations, respectively.
978 *
979 * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled.
980 *
981 * Option id: <code>"org.eclipse.jdt.core.compiler.problem.nullSpecViolation"</code>
982 * Possible values: <code>{ "error", "warning" }</code>
983 * Default: <code>"error"</code>
984 *
985 * @since 3.8
986 * @category CompilerOptionID
987 */
988 public static final String COMPILER_PB_NULL_SPECIFICATION_VIOLATION = PLUGIN_ID + ".compiler.problem.nullSpecViolation";
989</pre></li>
990<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_POTENTIAL_NULL_SPECIFICATION_VIOLATION (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186342">186342</a> for details):
991<pre>
992 /**
993 * Compiler option ID: Reporting Violations of Null Specifications with Potential Null Value.
994 *
995 * When enabled, the compiler will issue an error or a warning whenever one of the
996 * following situations is detected:
997 *
998 * 1. A method declared with a nonnull annotation returns an expression that is
999 * statically known to evaluate to a null value on some flow.
1000 * 2. An expression that is statically known to evaluate to a null value on some flow
1001 * is passed as an argument in a method call where the corresponding parameter of
1002 * the called method is declared with a nonnull annotation.
1003 * 3. An expression that is statically known to evaluate to a null value on some flow
1004 * is assigned to a local variable that is declared with a nonnull annotation.
1005 *
1006 * The compiler options {@link #COMPILER_NONNULL_ANNOTATION_NAME} and
1007 * {@link #COMPILER_NULLABLE_ANNOTATION_NAME} control which annotations the compiler
1008 * shall interpret as nonnull or nullable annotations, respectively.
1009 *
1010 *
1011 * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled.
1012 *
1013 * Option id: <code>"org.eclipse.jdt.core.compiler.problem.potentialNullSpecViolation"</code>
1014 * Possible values: <code>{ "error", "warning", "ignore" }</code>
1015 * Default: <code>"error"</code>
1016 *
1017 * @since 3.8
1018 * @category CompilerOptionID
1019 */
1020 public static final String COMPILER_PB_POTENTIAL_NULL_SPECIFICATION_VIOLATION = PLUGIN_ID + ".compiler.problem.potentialNullSpecViolation";
1021</pre></li>
1022<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_NULL_SPECIFICATION_INSUFFICIENT_INFO (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186342">186342</a> for details):
1023<pre>
1024 /**
1025 * Compiler option ID: Reporting Insufficient Information for Analysing Adherence to Null Specifications.
1026 *
1027 * When enabled, the compiler will issue an error or a warning whenever one of the
1028 * following situations is detected:
1029 *
1030 * 1. A method declared with a nonnull annotation returns an expression for which
1031 * insufficient nullness information is available for statically proving that no
1032 * flow will pass a null value at runtime.
1033 * 2. An expression for which insufficient nullness information is available for
1034 * statically proving that it will never evaluate to a null value at runtime
1035 * is passed as an argument in a method call where the corresponding parameter of
1036 * the called method is declared with a nonnull annotation.
1037 * 3. An expression for which insufficient nullness information is available for
1038 * statically proving that it will never evaluate to a null value at runtime
1039 * is assigned to a local variable that is declared with a nonnull annotation.
1040 *
1041 * Insufficient nullness information is usually a consequence of using other unannotated
1042 * variables or methods.
1043 *
1044 * The compiler options {@link #COMPILER_NONNULL_ANNOTATION_NAME} and
1045 * {@link #COMPILER_NULLABLE_ANNOTATION_NAME} control which annotations the compiler
1046 * shall interpret as nonnull or nullable annotations, respectively.
1047 *
1048 * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled.
1049 *
1050 * Option id: <code>"org.eclipse.jdt.core.compiler.problem.nullSpecInsufficientInfo"</code>
1051 * Possible values: <code>{ "error", "warning", "ignore" }</code>
1052 * Default: <code>"warning"</code>
1053 *
1054 * @since 3.8
1055 * @category CompilerOptionID
1056 */
1057 public static final String COMPILER_PB_NULL_SPECIFICATION_INSUFFICIENT_INFO = PLUGIN_ID + ".compiler.problem.nullSpecInsufficientInfo";
1058</pre></li>
1059<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_REDUNDANT_NULL_ANNOTATION (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186342">186342</a> for details):
1060<pre>
1061 /**
1062 * Compiler option ID: Reporting Redundant Null Annotations.
1063 *
1064 * When enabled, the compiler will issue an error or a warning when a non-null annotation
1065 * (see {@link #COMPILER_NONNULL_ANNOTATION_NAME})
1066 * is applied although the same effect is already achieved by a default applicable at the
1067 * current location. Such a default may be effective by enabling the option
1068 * {@link #COMPILER_NONNULL_IS_DEFAULT} or by using the annotation specified by the option
1069 * {@link #COMPILER_NONNULL_BY_DEFAULT_ANNOTATION_NAME}.
1070 *
1071 * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled.
1072 *
1073 * Option id: <code>"org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation"</code>
1074 * Possible values: <code>{ "error", "warning", "ignore" }</code>
1075 * Default: <code>"warning"</code>
1076 *
1077 * @since 3.8
1078 * @category CompilerOptionID
1079 */
1080 public static final String COMPILER_PB_REDUNDANT_NULL_ANNOTATION = PLUGIN_ID + ".compiler.problem.redundantNullAnnotation";
1081</pre>
1082</li>
1083<li>New API added to org.eclipse.jdt.core.compiler.IProblem to signal null-related issues:
1084 <ul>
1085 <li> int RequiredNonNullButProvidedNull</li>
1086 <li> int RequiredNonNullButProvidedPotentialNull</li>
1087 <li> int RequiredNonNullButProvidedUnknown</li>
1088 <li> int MissingNullAnnotationType</li>
1089 <li> int IllegalReturnNullityRedefinition</li>
1090 <li> int IllegalRedefinitionToNonNullParameter</li>
1091 <li> int IllegalDefinitionToNonNullParameter</li>
1092 <li> int ParameterLackingNonNullAnnotation</li>
1093 <li> int ParameterLackingNullableAnnotation</li>
1094 <li> int PotentialNullMessageSendReference</li>
1095 <li> int RedundantNullCheckOnNonNullMessageSend</li>
1096 <li> int CannotImplementIncompatibleNullness</li>
1097 <li> int RedundantNullAnnotation</li>
1098 <li> int IllegalAnnotationForBaseType</li>
1099 </ul>
1100</ul>
1101
1102<h3>Problem Reports Fixed</h3>
1103<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=363858">363858</a>
1104[dom] early throwing of AbortCompilation causes NPE in CompilationUnitResolver
1105<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331647">331647</a>
1106[compiler][null] support flexible default mechanism for null-annotations
1107<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334457">334457</a>
1108[compiler][null] check compatibility of inherited null contracts
1109<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186342">186342</a>
1110[compiler][null] Using annotations for null checking
1111
1112<hr><h1>
1113Eclipse Platform Build Notes<br>
1114Java development tools core</h1>
1115Eclipse SDK 3.8.0 - November 29, 2011
Stephan Herrmann41a335b2011-12-08 22:55:07 +01001116<h2>What's new in this drop</h2>
1117
1118<h3>Problem Reports Fixed</h3>
1119<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340945">340945</a>
1120Extension Request of JavaContentAssistInvocationContext
1121<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=364672">364672</a>
1122[compiler] ecj fails to compile valid calls to varargs method
1123
1124<a name="v_C21"></a>
1125<hr><h1>
1126Eclipse Platform Build Notes<br>
1127Java development tools core</h1>
1128Eclipse SDK 3.8.0 - November 22, 2011
1129<h2>What's new in this drop</h2>
1130
1131<h3>Problem Reports Fixed</h3>
1132<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350738">350738</a>
1133&quot;The method is never used locally&quot; is not shown for parameterized recursive methods
1134<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361053">361053</a>
1135java.lang.VerifyError on try-with-resources
1136<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346038">346038</a>
1137[1.5][compiler] ecj vs. javac differ for methods using vararg parameters of different primitive types
1138<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346039">346039</a>
1139[1.5][compiler] ecj vs. javac differ for varargs overloading
1140<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=362279">362279</a>
1141ecj vs. javac differ for automatic boxing of implicitly converted types
Stephan Herrmann41a335b2011-12-08 22:55:07 +01001142<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=362591">362591</a>
1143VerifyError: Inconsistent stackmap frames
1144
1145<a name="v_C20"></a>
1146<hr><h1>
1147Eclipse Platform Build Notes<br>
1148Java development tools core</h1>
1149Eclipse SDK 3.8.0 - November 15, 2011
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001150<br>
Stephan Herrmann41a335b2011-12-08 22:55:07 +01001151<h2>What's new in this drop</h2>
1152
1153<h3>Problem Reports Fixed</h3>
1154<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361327">361327</a>
1155Static import resolution does not record all static elements being imported
1156<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346042">346042</a>
1157[1.5][compiler] ecj compiles code rejected by javac for varargs parameters of inaccessible type
1158<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361938">361938</a>
1159Formerly working JLS3 parser not working -- Scanner reports com.sun.jdi.InvocationException occurred invoking method.
1160<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359284">359284</a>
1161Unnecessary checkast from null
1162<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361441">361441</a>
1163Error in JDT Core during AST creation
1164<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=363293">363293</a>
1165resource leaks in org.eclipse.jdt.compiler.tool.tests
1166
Stephan Herrmannae64da72011-11-10 09:47:39 +00001167<a name="v_C19"></a>
1168<hr><h1>
1169Eclipse Platform Build Notes<br>
1170Java development tools core</h1>
Stephan Herrmann41a335b2011-12-08 22:55:07 +01001171Eclipse SDK 3.8.0 - November 8, 2011
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001172<br>
Stephan Herrmannae64da72011-11-10 09:47:39 +00001173<h2>What's new in this drop</h2>
1174
1175<h3>Problem Reports Fixed</h3>
1176<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361922">361922</a>
1177Fup of 357425: ensure all reported regressions are witnessed by tests
1178<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354766">354766</a>
1179Javadoc content does not appear in content assist info window for non-static inner class constructors
1180
Stephan Herrmann6dcbb382011-10-25 16:30:31 +00001181<a name="v_C18"></a>
1182<hr><h1>
1183Eclipse Platform Build Notes<br>
1184Java development tools core</h1>
1185Eclipse SDK 3.8.0 - October 25, 2011 - 3.8.0 M3
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001186<br>
Stephan Herrmann6dcbb382011-10-25 16:30:31 +00001187<h2>What's new in this drop</h2>
1188
1189<h3>Problem Reports Fixed</h3>
1190
1191<a name="v_C17"></a>
1192<hr><h1>
1193Eclipse Platform Build Notes<br>
1194Java development tools core</h1>
1195Eclipse SDK 3.8.0 - October 20, 2011
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001196<br>
Stephan Herrmann6dcbb382011-10-25 16:30:31 +00001197<h2>What's new in this drop</h2>
1198<ul>
1199<li>Added a new API OUTPUT_LOCATION_OVERLAPPING_ANOTHER_SOURCE(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=287164">287164</a> for details):
1200<pre>
1201/**
1202 * Status constant indicating that the default or specific output folder is overlapping
1203 * with another source location.
1204 * @since 3.8
1205 */
1206public static final int OUTPUT_LOCATION_OVERLAPPING_ANOTHER_SOURCE = 1013;
1207</pre>
1208</li>
1209
1210<li>Added a new option CORE_OUTPUT_LOCATION_OVERLAPPING_ANOTHER_SOURCE to report an output location overlapping another source location(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=287164">287164</a> for details):
1211<pre>
1212/**
1213 * Core option ID: Reporting an output location overlapping another source location.
1214 * Indicate the severity of the problem reported when a source entry's output location overlaps another
1215 * source entry.
1216 *
1217 * Option id:"org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource"
1218 * Possible values:{ "error", "warning", "ignore" }
1219 * Default:"error"
1220 *
1221 * @since 3.8
1222 */
1223public static final String CORE_OUTPUT_LOCATION_OVERLAPPING_ANOTHER_SOURCE = PLUGIN_ID + ".classpath.outputOverlappingAnotherSource";
1224</pre>
1225</li>
1226</ul>
1227<h3>Problem Reports Fixed</h3>
1228<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=287164">287164</a>
1229Report build path error if source folder has other source folder as output folder
1230<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359721">359721</a>
1231[options] add command line option for new warning token &quot;resource&quot;
1232<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343480">343480</a>
1233[compiler] Incorrect/confusing error message on inner class static field declaration
1234<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=318401">318401</a>
1235FUP of 317858: Clarify eclipse compiler behavior on imports &amp; shadowing
1236<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=360317">360317</a>
1237[compiler] report switch over enum in 1.4- mode
1238<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=360164">360164</a>
1239Compile error in XSDImpl
1240<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359727">359727</a>
1241[1.7][doc] Update doc for new resource leak warnings
1242
1243<a name="v_C16"></a>
1244<hr><h1>
1245Eclipse Platform Build Notes<br>
1246Java development tools core</h1>
1247Eclipse SDK 3.8.0 - October 18, 2011
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001248<br>
Stephan Herrmann6dcbb382011-10-25 16:30:31 +00001249<h2>What's new in this drop</h2>
1250<ul>
1251<li>Added a new API IBootstrapMethodsEntry to describe the bootstrap method table entry(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> for details):
1252<pre>
1253/**
1254 * Description of a bootstrap method table entry as specified in the JVM specifications.
1255 *
1256 * This interface may be implemented by clients.
1257 *
1258 * @since 3.8
1259 */
1260public interface IBootstrapMethodsEntry;
1261</pre>
1262</li>
1263
1264<li>Added a new API IBootstrapMethodsAttribute to describe the bootstrap method attribute(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> for details):
1265<pre>
1266/**
1267 * Description of a bootstrap methods attribute as described in the JVM specifications.
1268 *
1269 * This interface may be implemented by clients.
1270 *
1271 * @since 3.8
1272 */
1273public interface IBootstrapMethodsAttribute
1274</pre>
1275</li>
1276
1277<li>Added a new API in IBootstrapMethodsAttribute to obtain the number of bootstrap methods of this entry(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> for details):
1278<pre>
1279/**
1280 * Answer back the number of bootstrap methods of this entry as specified in
1281 * the JVM specifications.
1282 *
1283 * @return the number of bootstrap methods of this entry as specified in
1284 * the JVM specifications
1285 */
1286int getBootstrapMethodsLength();
1287</pre>
1288</li>
1289
1290<li>Added a new API in IBootstrapMethodsAttribute to obtain the bootstrap methods table of this entry(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> for details):
1291<pre>
1292/**
1293 * Answer back the bootstrap methods table of this entry as specified in
1294 * the JVM specifications. Answer an empty array if none.
1295 *
1296 * @return the bootstrap methods table of this entry as specified in
1297 * the JVM specifications. Answer an empty array if none
1298 */
1299IBootstrapMethodsEntry[] getBootstrapMethods();
1300</pre>
1301</li>
1302
1303<li>Added IConstantPoolEntry2 to describe the new constant pool entry from Java 7 onwards(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> for details):
1304<pre>
1305/**
1306 * Description of the new constant pool entry as described in the JVM specifications
1307 * added for Java 7 support.
1308 * Its contents is initialized according to its kind.
1309 *
1310 * This interface may be implemented by clients.
1311 *
1312 * @since 3.8
1313 */
1314public interface IConstantPoolEntry2
1315</pre>
1316</li>
1317
1318<li>Added new API in IConstantPoolEntry2 to return the descriptor index for MethodType entry(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> for details):
1319<pre>
1320/**
1321 * Returns the descriptor index. This value is set only when decoding a MethodType entry.
1322 * The value is unspecified otherwise. The corresponding UTF8 value can be retrieved by using
1323 * {@link #getMethodDescriptor()}.
1324 *
1325 * @return the descriptor index. This value is set only when decoding a MethodType entry.
1326 * @see IConstantPoolConstant#CONSTANT_MethodType
1327 */
1328int getDescriptorIndex();
1329</pre>
1330</li>
1331
1332<li>Added new API in IConstantPoolEntry2 to return the reference kind for MethodHandle entry(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> for details):
1333<pre>
1334/**
1335 * Returns the reference kind. This value is set only when decoding a MethodHandle entry.
1336 * The value is unspecified otherwise.
1337 *
1338 * @return the reference kind. This value is set only when decoding a MethodHandle entry.
1339 * @see IConstantPoolConstant#CONSTANT_MethodHandle
1340 */
1341int getReferenceKind();
1342</pre>
1343</li>
1344
1345<li>Added new API in IConstantPoolEntry2 to return the reference index for MethodHandle entry(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> for details):
1346<pre>
1347/**
1348 * Returns the reference index. This value is set only when decoding a MethodHandle entry.
1349 * The value is unspecified otherwise.
1350 *
1351 * @return the reference kind. This value is set only when decoding a MethodHandle entry.
1352 * @see IConstantPoolConstant#CONSTANT_MethodHandle
1353 */
1354int getReferenceIndex();
1355</pre>
1356</li>
1357
1358<li>Added new API in IConstantPoolEntry2 to return the bootstrap method attribute index(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> for details):
1359<pre>
1360/**
1361 * Returns the bootstrap method attribute index. This value is set only when decoding a InvokeDynamic entry.
1362 * The value is unspecified otherwise.
1363 *
1364 * @return the reference kind. This value is set only when decoding a MethodHandle entry.
1365 * @see IConstantPoolConstant#CONSTANT_InvokeDynamic
1366 */
1367int getBootstrapMethodAttributeIndex();
1368</pre>
1369</li>
1370
1371<li>Added new API in IByteCodeVisitor(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> for details):
1372<pre>
1373 /**
1374 * @since 3.8
1375 */
1376 void _invokedynamic(
1377 int pc,
1378 int index,
1379 IConstantPoolEntry invokeDynamic);
1380</pre>
1381<p>
1382This has been added in place of the deprecated API
1383<pre>
1384 void _invokedynamic(
1385 int pc,
1386 int index,
1387 IConstantPoolEntry nameEntry,
1388 IConstantPoolEntry descriptorEntry);
1389</pre>
1390</li>
1391</ul>
1392<h3>Problem Reports Fixed</h3>
1393<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a>
1394invokedynamic in generated class file is not correctly recognized by the eclipse compiler
1395<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=360644">360644</a>
1396Scope.isDefinedInSameUnit(ReferenceBinding) fails for a ParameterizedTypeBinding
1397<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=358762">358762</a>
1398NPE in JDT compiler
1399<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=360328">360328</a>
1400[compiler][null] detect null problems in nested code (local class inside a loop)
1401
1402<a name="v_C15"></a>
1403<hr><h1>
1404Eclipse Platform Build Notes<br>
1405Java development tools core</h1>
1406Eclipse SDK 3.8.0 - October 11, 2011
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001407<br>
Stephan Herrmann6dcbb382011-10-25 16:30:31 +00001408<h2>What's new in this drop</h2>
1409
1410<h3>Problem Reports Fixed</h3>
1411<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350285">350285</a>
1412ASTRewrite destroys formatting on CatchClause#setBody(copyTarget)
1413<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353474">353474</a>
1414type converters should include more annotations
1415
1416<a name="v_C14"></a>
1417<hr><h1>
1418Eclipse Platform Build Notes<br>
1419Java development tools core</h1>
1420Eclipse SDK 3.8.0 - October 5, 2011
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001421<br>
Stephan Herrmann6dcbb382011-10-25 16:30:31 +00001422<h2>What's new in this drop</h2>
1423
1424<h3>Problem Reports Fixed</h3>
1425<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354181">354181</a>
1426migrate jdt.core to git
1427<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359831">359831</a>
1428Fix messages for &quot;new warning for missing try-with-resources&quot;
1429
1430<a name="v_C13"></a>
1431<hr><h1>
1432Eclipse Platform Build Notes<br>
1433Java development tools core</h1>
1434Eclipse SDK 3.8.0 - October 3, 2011
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001435<br>
Stephan Herrmann6dcbb382011-10-25 16:30:31 +00001436<h2>What's new in this drop</h2>
1437<ul>
1438<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_UNCLOSED_CLOSEABLE to raise a warning or error
1439 when a resource of type Closeable or AutoCloseable is not closed locally.
1440(see details in bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349326">349326</a>):
1441<pre>
1442 /**
1443 * Compiler option ID: Reporting a resource that is not closed properly.
1444 *
1445 * When enabled, the compiler will issue an error or a warning if
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001446 * a local variable holds a value of type <code>java.lang.AutoCloseable</code> (compliance&gt;=1.7)
1447 * or a value of type <code>java.io.Closeable</code> (compliance&lt;=1.6) and if
Stephan Herrmann6dcbb382011-10-25 16:30:31 +00001448 * flow analysis shows that the method <code>close()</code> is not invoked locally on that value.
1449 *
1450 * Option id: <code>"org.eclipse.jdt.core.compiler.problem.reportUnclosedCloseable"</code>
1451 * Possible values: <code>{ "error", "warning", "ignore" }</code>
1452 * Default: <code>"warning"</code>
1453 *
1454 * @since 3.8
1455 * @category CompilerOptionID
1456 */
1457 public static final String COMPILER_PB_UNCLOSED_CLOSEABLE = PLUGIN_ID + ".compiler.problem.unclosedCloseable"; //$NON-NLS-1$
1458</pre>
1459</li>
1460<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_POTENTIALLY_UNCLOSED_CLOSEABLE to raise a warning or error
1461 when a resource of type Closeable or AutoCloseable is not definitely closed locally.
1462(see details in bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349326">349326</a>):
1463<pre>
1464 /**
1465 * Compiler option ID: Reporting a resource that may not be closed properly.
1466 *
1467 * When enabled, the compiler will issue an error or a warning if
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001468 * a local variable holds a value of type <code>java.lang.AutoCloseable</code> (compliance&gt;=1.7)
1469 * or a value of type <code>java.io.Closeable</code> (compliance&lt;=1.6) and if
Stephan Herrmann6dcbb382011-10-25 16:30:31 +00001470 * flow analysis shows that the method <code>close()</code> is
1471 * not invoked locally on that value for all execution paths.
1472 *
1473 * Option id: <code>"org.eclipse.jdt.core.compiler.problem.reportPotentiallyUnclosedCloseable"</code>
1474 * Possible values: <code>{ "error", "warning", "ignore" }</code>
1475 * Default: <code>"ignore"</code>
1476 *
1477 * @since 3.8
1478 * @category CompilerOptionID
1479 */
1480 public static final String COMPILER_PB_POTENTIALLY_UNCLOSED_CLOSEABLE = PLUGIN_ID + ".compiler.problem.potentiallyUnclosedCloseable"; //$NON-NLS-1$
1481</pre>
1482</li>
1483<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_EXPLICITLY_CLOSED_AUTOCLOSEABLE to raise a warning or error
1484 when a resource of type AutoCloseable is closed explicitly rather than using a try-with-resources block.
1485(see details in bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349326">349326</a>):
1486<pre>
1487 /**
1488 * Compiler option ID: Reporting a resource that is not managed by try-with-resources.
1489 *
1490 * When enabled, the compiler will issue an error or a warning if a local variable
1491 * holds a value of type <code>java.lang.AutoCloseable</code>, and if the method
1492 * <code>close()</code> is explicitly invoked on that resource, but the resource is
1493 * not managed by a try-with-resources block.
1494 *
1495 * Option id: <code>"org.eclipse.jdt.core.compiler.problem.reportPotentiallyUnclosedCloseable"</code>
1496 * Possible values: <code>{ "error", "warning", "ignore" }</code>
1497 * Default: <code>"ignore"</code>
1498 *
1499 * @since 3.8
1500 * @category CompilerOptionID
1501 */
1502 public static final String COMPILER_PB_EXPLICITLY_CLOSED_AUTOCLOSEABLE = PLUGIN_ID + ".compiler.problem.explicitlyClosedAutoCloseable"; //$NON-NLS-1$
1503</pre>
1504</li>
1505</ul>
1506
1507<h3>Problem Reports Fixed</h3>
1508<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359495">359495</a>
1509[1.7][compiler] VerifyError in try-finally block with lock encompassing for-each block and unlock in finally clause
1510<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=161129">161129</a>
1511[batch][compiler] Add -warn:all to report all warnings
1512<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359646">359646</a>
1513Formatter fails silently if Java source contains 0x8000000000000000L
1514<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=256796">256796</a>
1515[compiler] dead code detection: &quot;if (DEBUG) return;&quot; should also be trivial IF stmt
1516<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359334">359334</a>
1517Analysis for resource leak warnings does not consider exceptions as method exit points
1518<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359362">359362</a>
1519FUP of bug 349326: Resource leak on non-Closeable resource.
1520<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348186">348186</a>
1521[compiler] Improve wording for the warning for masked/hidden catch block
1522<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=355838">355838</a>
1523[compiler] ecj compiles the code that javac6 rejects
1524<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349326">349326</a>
1525[1.7] new warning for missing try-with-resources
1526<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354502">354502</a>
1527Incorrect Compiler Warning: &quot;Method can be declared as static&quot;
1528<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=241834">241834</a>
1529[search] ClassCastException during move class refactoring
1530<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=358827">358827</a>
1531[1.7] exception analysis for t-w-r spoils null analysis
1532
1533<a name="v_C12"></a>
1534<hr><h1>
1535Eclipse Platform Build Notes<br>
1536Java development tools core</h1>
1537Eclipse SDK 3.8.0 - September 23, 2011
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001538<br>
Stephan Herrmann6dcbb382011-10-25 16:30:31 +00001539<h2>What's new in this drop</h2>
1540<ul>
1541<li>Tagging to prepare for the git migration</li>
1542</ul>
1543
1544<h3>Problem Reports Fixed</h3>
1545
1546<a name="v_C11"></a>
1547<hr><h1>
1548Eclipse Platform Build Notes<br>
1549Java development tools core</h1>
1550Eclipse SDK 3.8.0 - September 20, 2011
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001551<br>
Stephan Herrmann6dcbb382011-10-25 16:30:31 +00001552<h2>What's new in this drop</h2>
1553
1554<h3>Problem Reports Fixed</h3>
1555<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=357110">357110</a>
1556Problem with inner classes referenced from jars or class folders: &quot;The type ... cannot be resolved&quot;
1557<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=357471">357471</a>
1558ASTParser cannot resolve binding of PackageDeclaration if class name is equal to the first segment of the package name
1559
Stephan Herrmann7d944ef2011-09-17 19:42:22 +00001560<a name="v_C10"></a>
1561<hr><h1>
1562Eclipse Platform Build Notes<br>
1563Java development tools core</h1>
1564Eclipse SDK 3.8.0 - September 13, 2011 - 3.8.0 M2
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001565<br>
Stephan Herrmann7d944ef2011-09-17 19:42:22 +00001566<h2>What's new in this drop</h2>
1567
1568<h3>Problem Reports Fixed</h3>
1569<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=357259">357259</a>
1570[dom] AST#newArrayType(Type, int) should allow array type as argument
1571
1572<a name="v_C09"></a>
1573<hr><h1>
1574Eclipse Platform Build Notes<br>
1575Java development tools core</h1>
1576Eclipse SDK 3.8.0 - September 9, 2011
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001577<br>
Stephan Herrmann7d944ef2011-09-17 19:42:22 +00001578<h2>What's new in this drop</h2>
1579
1580<h3>Problem Reports Fixed</h3>
1581<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354332">354332</a>
Stephan Herrmann6dcbb382011-10-25 16:30:31 +00001582DeltaProcessor exhibits O(N^2) behavior
Stephan Herrmann7d944ef2011-09-17 19:42:22 +00001583<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=355605">355605</a>
1584NPE in HierarchyResolver
1585<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347396">347396</a>
1586ASTParser returns empty or partial AST if we parse the the body contains empty for loop
1587<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=356746">356746</a>
1588ECJ accepts illegal unicode escape sequences
1589<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337935">337935</a>
1590Test failures when run as an IDE (org.eclipse.sdk.ide)
1591
1592<a name="v_C08"></a>
1593<hr><h1>
1594Eclipse Platform Build Notes<br>
1595Java development tools core</h1>
1596Eclipse SDK 3.8.0 - September 6, 2011
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001597<br>
Stephan Herrmann7d944ef2011-09-17 19:42:22 +00001598<h2>What's new in this drop</h2>
1599
1600<h3>Problem Reports Fixed</h3>
1601<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=356325">356325</a>
1602[select] Open declaration on a constructor of a local class with type parameters doesn't work
1603<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=24804">24804</a>
1604Organize imports wipes comments between statements [code manipulation]
1605<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=356363">356363</a>
1606Many links to java.sun.com are broken
1607<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346529">346529</a>
1608Don't show &quot;The method * from the type * is never used locally&quot; warning for private methods annotated with standard annotations like @PostConstruct
1609
Stephan Herrmann8cf34702011-09-03 16:15:54 +00001610<a name="v_C07"></a>
1611<hr><h1>
1612Eclipse Platform Build Notes<br>
1613Java development tools core</h1>
Stephan Herrmann7d944ef2011-09-17 19:42:22 +00001614Eclipse SDK 3.8.0 - August 30, 2011
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001615<br>
Stephan Herrmann8cf34702011-09-03 16:15:54 +00001616<h2>What's new in this drop</h2>
1617
1618<h3>Problem Reports Fixed</h3>
1619<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=356002">356002</a>
1620VerifyError &quot;Inconsistent stackmap frames&quot; for switch-string statement with nested for-loop
1621<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350095">350095</a>
1622The 2000th (0-based) enum constant is null
1623<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=234074">234074</a>
1624Compliance_1_5#test088 fails when launched with JRE 6 and -Dcompliance=1.5
1625<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350612">350612</a>
1626OutOfMemoryError while &quot;Initializing Java Tooling&quot;
1627<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348024">348024</a>
1628Empty AST for class with static inner class in a package with package-info.java
1629<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346010">346010</a>
1630[model] strange initialization dependency in OptionTests
1631<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353640">353640</a>
1632AIOOBE in ParameterizedTypeBinding.substitute
1633
Stephan Herrmann3df378f2011-08-25 12:46:17 +00001634<a name="v_C06"></a>
1635<hr><h1>
1636Eclipse Platform Build Notes<br>
1637Java development tools core</h1>
Stephan Herrmann8cf34702011-09-03 16:15:54 +00001638Eclipse SDK 3.8.0 - August 23, 2011
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001639<br>
Stephan Herrmann3df378f2011-08-25 12:46:17 +00001640<h2>What's new in this drop</h2>
1641
1642<h3>Problem Reports Fixed</h3>
1643<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348507">348507</a>
1644[search] Hyperlinks from the Java Stack Trace console should search the workspace in CLASSPATH order
1645<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345949">345949</a>
1646[compiler] Inconsistent name clash behavior vis-a-vis javac7
1647<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354766">354766</a>
1648Javadoc content does not appear in content assist info window for non-static inner class constructors
1649<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353535">353535</a>
1650Eclipse compiler generates wrong bytecode for nested try-with-resources statements
1651<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354579">354579</a>
1652Fup of bug 289247: Investigate validity of the fix vis-a-vis JLS.
1653<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354078">354078</a>
1654[dom] ASTConverter.removeTrailingCommentFromExpressionEndingWithAParen() ??
1655
1656<a name="v_C05"></a>
1657<hr><h1>
1658Eclipse Platform Build Notes<br>
1659Java development tools core</h1>
1660Eclipse SDK 3.8.0 - August 16, 2011
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001661<br>
Stephan Herrmann3df378f2011-08-25 12:46:17 +00001662<h2>What's new in this drop</h2>
1663
1664<h3>Problem Reports Fixed</h3>
1665<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354554">354554</a>
1666[null] conditional with redundant condition yields weak error message
1667<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354536">354536</a>
1668compiling package-info.java still depends on the order of compilation units
1669<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=292087">292087</a>
1670anonymous class in array member initializer confuses content assist
1671<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352412">352412</a>
1672Switching on strings in 1.6- modes produces misleading message
1673<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317719">317719</a>
1674Method incorrectly flagged as having same erasure output when return type differs
1675
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001676<a name="v_C04"></a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001677<hr><h1>
1678Eclipse Platform Build Notes<br>
1679Java development tools core</h1>
Stephan Herrmann3df378f2011-08-25 12:46:17 +00001680Eclipse SDK 3.8.0 - August 9, 2011
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001681<br>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001682<h2>What's new in this drop</h2>
1683<ul>
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001684<li>Added a new API in BindingKey to return it's declaring type(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351165">351165</a> for details):
1685<pre>
1686/**
1687 * Returns the binding key of the declaring type of the element represented by this binding key. If the binding key
1688 * does not represent a member or if the member doesn't have a declaring type, returns <code>null</code>.
1689 *
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001690 * Note that only binding keys for references to methods and fields
1691 * are fully supported. The binding keys for declarations will not have type parameters.
1692 *
1693 * @return the type binding key or <code>null</code>
1694 * @since 3.7.1
1695 */
1696public BindingKey getDeclaringType();
1697</pre>
1698</li>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001699</ul>
1700
1701<h3>Problem Reports Fixed</h3>
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001702<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354052">354052</a>
1703[1.7] NPE in org.eclipse.jdt.internal.compiler.ClassFile.traverse(ClassFile.java:4507)
1704<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346741">346741</a>
1705[1.7][doc] Update doc when java 1.7 support is done
1706<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353238">353238</a>
1707[1.7] update unusedTypeArgs option description for the batch compiler
1708<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353089">353089</a>
1709[1.7][compiler] Incorrect name clash error with ecj
1710<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351165">351165</a>
1711[1.7] API to get the type arguments of the declaring type for constructor invocations
Stephan Herrmann44109d32011-08-02 14:34:26 +00001712
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001713<a name="v_C03"></a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001714<hr><h1>
1715Eclipse Platform Build Notes<br>
1716Java development tools core</h1>
Stephan Herrmann3df378f2011-08-25 12:46:17 +00001717Eclipse SDK 3.8.0 - August 3, 2011 - 3.8.0 M1
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001718<br>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001719<h2>What's new in this drop</h2>
1720
1721<h3>Problem Reports Fixed</h3>
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001722<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353553">353553</a>
1723Rename readableNames.properties to avoid translation
1724<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353085">353085</a>
1725[1.7] Cannot cast from Object to boolean
Stephan Herrmann44109d32011-08-02 14:34:26 +00001726
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001727<a name="v_C02"></a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001728<hr><h1>
1729Eclipse Platform Build Notes<br>
1730Java development tools core</h1>
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001731Eclipse SDK 3.8.0 - July 28, 2011
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001732<br>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001733<h2>What's new in this drop</h2>
1734
1735<h3>Problem Reports Fixed</h3>
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001736<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353250">353250</a>
1737[1.7] merging Java 7 work to HEAD
Stephan Herrmann44109d32011-08-02 14:34:26 +00001738
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001739<a name="v_C01"></a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001740<hr><h1>
1741Eclipse Platform Build Notes<br>
1742Java development tools core</h1>
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001743Eclipse SDK 3.8.0 - July 27, 2011
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02001744<br>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001745<h2>What's new in this drop</h2>
1746<ul>
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001747<li>Bundle version has been incremented to 3.8.0.qualifier</li>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001748<li>Added a new API in CompletionProposal to tell whether it diamond operator can be used (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351444">351444</a> for details):
1749<pre>
1750/**
Stephan Herrmann6dcbb382011-10-25 16:30:31 +00001751 * Returns whether it is safe to use the '&lt;&gt;' (diamond) operator in place of explicitly specifying
Stephan Herrmann44109d32011-08-02 14:34:26 +00001752 * type arguments for this proposal.
1753 *
1754 * This is only relevant for source level 1.7 or greater.
1755 *
1756 * @param coreContext the completion context associated with the proposal
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001757 * @since 3.7.1
Stephan Herrmann44109d32011-08-02 14:34:26 +00001758 * @return <code>true</code> if it is safe to use the diamond operator for the constructor invocation,
1759 * <code>false</code> otherwise. Also returns <code>false</code> for source levels below 1.7
1760 */
1761public boolean canUseDiamond(CompletionContext coreContext);
1762</pre>
1763</li>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001764<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_REDUNDANT_TYPE_ARGUMENTS added to raise warning or error for redundant
1765usage of type arguments when diamond operator can be used instead. (see details in bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340747">340747</a>):
1766<pre>
1767 /**
1768 * Compiler option ID: Reporting redundant specification of type arguments in class instance creation expressions.
1769 * When enabled, the compiler will issue an error or a warning if type arguments are used in a class instance creation,
Stephan Herrmann6dcbb382011-10-25 16:30:31 +00001770 * when the '&lt;&gt;' operator can be used instead.
Stephan Herrmann44109d32011-08-02 14:34:26 +00001771 *
1772 * This option only has an effect if the compiler compliance is 1.7 or greater.
1773 *
1774 * Option id:<code>"org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments"</code>
1775 * Possible values:<code>{ "error", "warning", "ignore" }</code>
1776 * Default:<code>"ignore"</code>
1777 *
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001778 * @since 3.7.1
Stephan Herrmann44109d32011-08-02 14:34:26 +00001779 * @category CompilerOptionID
1780 */
1781 public static final String COMPILER_PB_REDUNDANT_TYPE_ARGUMENTS = PLUGIN_ID + ".compiler.problem.redundantSpecificationOfTypeArguments";
1782 </pre>
1783</li>
1784<li>Added a new API in ClassInstanceCreation to tell whether the resolved type is inferred from the assignment context:
1785<br>(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350897">350897</a> for details):
1786<pre>
1787 /**
1788 * Returns <code>true</code> if the resolved class type has been inferred
1789 * from the assignment context (JLS4 15.12.2.8), <code>false</code> otherwise.
1790 *
1791 * This information is available only when bindings are requested when the AST is being built.
1792 *
1793 * @return <code>true</code> if the resolved class type has been inferred
1794 * from the assignment context (JLS3 15.12.2.8), <code>false</code> otherwise
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001795 * @since 3.7.1
Stephan Herrmann44109d32011-08-02 14:34:26 +00001796 */
1797 public boolean isResolvedTypeInferredFromExpectedType();
1798</pre>
1799</li>
1800</ul>
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001801
Stephan Herrmann44109d32011-08-02 14:34:26 +00001802<h3>Problem Reports Fixed</h3>
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001803<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342936">342936</a>
1804NPEs and inconsistencies when running jdt.compiler.tool.tests against Java 7
1805<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351426">351426</a>
1806[1.7][code assist] CompletionContext.getExpectedTypesKeys() returns wrong type
1807<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353137">353137</a>
1808[1.7] Make sure TagBits.AnnotationSafeVarargs and AnnotationPolymorphicSignature are handled everywhere
1809<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353093">353093</a>
1810IMethod#getAnnotations() doesn't return @SafeVarargs of java.util.Arrays#asList(T...)
1811<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352464">352464</a>
1812[1.7] Incorrect Javadoc shown for reference of invokeExact
1813<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351498">351498</a>
1814[model]java.util.ConcurrentModificationException upon startup
1815<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352699">352699</a>
1816[1.7][compiler] Improve error range for redundant type parameter warning
1817<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352665">352665</a>
1818[1.6][compiler] Internal compiler Error: ArrayIndexOutOfBoundsException when compiling certain classes with outer access error
1819<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352553">352553</a>
1820[1.7] 'char a\u200b' is being accepted in 1.6 mode
1821<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352496">352496</a>
1822tests using wrong version of JCL
1823<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=300576">300576</a>
1824NPE Computing type hierarchy when compliance doesn't match libraries
1825<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352145">352145</a>
1826[1.7][compiler] VerifyError with aload0 being involved into ConditionalExpression
1827<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351965">351965</a>
1828[1.7] CCE when using diamond in 1.4
1829<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351444">351444</a>
1830[1.7][content assist] Need to know whether I can use diamond
1831<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352014">352014</a>
1832\u1369 no longer accepted as a valid java identifier part
1833<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351653">351653</a>
1834[1.7][compiler]: VerifyError in try statement with finally and return statements
1835<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340747">340747</a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001836[1.7][compiler] compiler option to warn when diamond can be used, but type args are used instead.
1837<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350895">350895</a>
1838[1.7][formatter] New option to wrap before/after '|' in multi-catch
1839<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350652">350652</a>
1840[1.7][assist] Completion issues with multicatch (FUP of 343637)
Stephan Herrmann44109d32011-08-02 14:34:26 +00001841<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347503">347503</a>
1842[DOM] ASTParser.setEnvironment() ignores includeRunningVMBootclasspath parameter
1843<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350897">350897</a>
1844[1.7][api] ClassInstanceCreation#isResolvedTypeInferredFromExpectedType()
1845<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351170">351170</a>
1846[1.7] ASTRewrite issues in Try with resources
1847<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348493">348493</a>
1848[1.7] Improve error msg for Diamond operator in 1.5 mode
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001849<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350885">350885</a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001850[Search] The pull up refactoring throws an NPE when pulling up a member that already exists in the superclass
1851<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350611">350611</a>
1852[1.7] Inconsistent error msg and error location for illegal diamond
1853<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350579">350579</a>
1854[1.7][compiler] VerifyError running example from bug 338402 comment 5
1855<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350767">350767</a>
1856[1.7][assist] CCE while invoking assist on a multi-catch block
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001857<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349312">349312</a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001858[1.7][compiler] improved problem messages
1859<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350003">350003</a>
1860[1.7] [compiler] AnnotationPolymorphicSignature tag is not being set to invokeExact while compiling MethodHandle source file
1861<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350496">350496</a>
1862[1.7] @PolymorphicSignature IMethods are missing the annotation
1863<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349314">349314</a>
1864[1.7][formatter] Line wrapping for multi-catch arguments
1865<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350039">350039</a>
1866[1.7] ASTParser#createASTs(..) doesn't resolve IMethodBinding for @PolymorphicSignature method reference
1867<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349396">349396</a>
1868[1.7][formatter] Line wrapping and indentation options for try with resources
1869<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350361">350361</a>
1870[1.7] Unhandled exception type Exception
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001871<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349488">349488</a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001872[1.7] IMethodBinding#getMethodDeclaration() should return the declaration of @PolymorphicSignature methods
1873<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349487">349487</a>
1874[1.7] IMethodBinding#getJavaElement() returns inexistent element for @PolymorphicSignature methods
1875<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349862">349862</a>
1876[1.7] NPE when trying to use UnionType as TryStatement resource
1877<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349864">349864</a>
1878[1.7][compiler] Error message considers AutoCloseable as class
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001879<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348956">348956</a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001880[1.7] ITypeBinding#isAssignmentCompatible(ITypeBinding) returns different result
1881<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349312">349312</a>
1882[1.7][compiler] improved problem messages
1883<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349008">349008</a>
1884[1.7] Ugly formatting for try with resources
1885<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349072">349072</a>
1886[1.7] &quot;Cannot infer elided type(s)&quot; sounds too elite
1887<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348705">348705</a>
1888[1.7][compiler] Improve error message for unhandled IOException generated due to compiler-generated close()
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001889<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348050">348050</a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001890[1.7] Error in JDT Core during AST creation
1891<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348406">348406</a>
1892[1.7] Incorrect error msg on try with resources in 1.5 mode
1893<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348492">348492</a>
1894[1.7] Improve error msg on strings in switch in 1.5 mode
1895<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348491">348491</a>
1896[1.7] Rename IProblem.IllegalBinaryLiteral to BinaryLiteralNotBelow17 and IProblem.IllegalUsageOfUnderscore to UnderscoreInLiteralsNotBelow17
1897<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348369">348369</a>
1898[1.7] Missing error &quot;No exception of type Exception[] can be thrown&quot;
1899<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348379">348379</a>
1900[1.7][compiler] Null pointer access warning for strings in switch
1901<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346415">346415</a>
1902[1.7][assist] No proposal inside catch statement from 3rd catch block onwards
1903<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346454">346454</a>
1904[1.7][content assist]Getting NegativeArraySizeException while trying content assist after diamond
1905<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347600">347600</a>
1906[1.7][compiler] Suspect bounds check failure after inference.
1907<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347746">347746</a>
1908[1.7][compiler] Bounds check failure during method inference
1909<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=283353">283353</a>
1910[1.5][compiler] Eclipse compiler shows error on javac-valid construct: Bound mismatch
1911<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347145">347145</a>
1912[1.7][compiler] Bounds check issue with raw types in method inference
1913<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347426">347426</a>
1914[1.7][compiler] ecj behavior differs from javac
1915<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=344522">344522</a>
1916[1.7] Incorrect source range for ParameterizedType in case of Diamond
1917<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=341795">341795</a>
1918[1.7][compiler] Cannot assign a generic method with multiple bounds return value to any variable
1919<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=242159">242159</a>
1920[1.7][compiler] type inference with unbounded wildcard in result type
1921<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343693">343693</a>
1922[1.7] Adjust subclasses of AllocationExpression for &lt;&gt; support
1923<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343637">343637</a>
1924[1.7] Already used exception offered again in a Mulicatch block
1925<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345968">345968</a>
1926[1.7][compiler] NPE while using diamond for inner class allocation
1927<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334313">334313</a>
1928[1.5][compiler] Bug in the way eclipse handles overriding of generic abstract method by a non-abstract method
Stephan Herrmann44109d32011-08-02 14:34:26 +00001929<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346029">346029</a>
1930[1.7][compiler] Eclipse compiles code rejected by JDK7
1931<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345628">345628</a>
1932[1.7] Rename disjunctive type to union type
1933<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345559">345559</a>
1934[1.7][compiler] Type inference for generic allocation can be avoided for invalid constructor
1935<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342819">342819</a>
1936Code rejected by javac with name clash error compiles under eclipse.
1937<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334306">334306</a>
1938[1.7][compiler] name clash reported in javac 1.7 and not in javac 1.6
1939<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345579">345579</a>
1940[1.7][compiler] Weird error message in rethrow site
Stephan Herrmann44109d32011-08-02 14:34:26 +00001941<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345522">345522</a>
1942[1.7][compiler] Compilers fails to compute precisely rethrown types
Stephan Herrmann44109d32011-08-02 14:34:26 +00001943<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=344824">344824</a>
1944[1.7][compiler] Incorrect error range for unreachable catch block error in multi-catch
1945<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340486">340486</a>
1946[1.7][compiler] Missing error in multi catch scenario
1947<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345359">345359</a>
1948[1.7][compiler] AIOOB on diamond construct with argument error
1949<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345239">345239</a>
1950[1.7][compiler] Compiler should issue better diagnostics for use of &lt;&gt; with anonymous classes
Stephan Herrmann44109d32011-08-02 14:34:26 +00001951<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=344655">344655</a>
1952[1.7][compiler] Prohibit use of &lt;&gt; with explicit type arguments to generic constructor
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001953<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328575">328575</a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001954Inheritance of annotation fails with generic classes
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001955<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343785">343785</a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001956[1.7] Incorrect line numbers in stack trace with try with resources
Stephan Herrmann44109d32011-08-02 14:34:26 +00001957<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343687">343687</a>
1958[1.7] IAE in NumberLiteral#setToken(String) for binary tokens and tokens with underscore
1959<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339478">339478</a>
1960[1.7][compiler] support for diamond case
Stephan Herrmann44109d32011-08-02 14:34:26 +00001961<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343476">343476</a>
1962[1.7][assist] propose String variables and fields inside catch expression
1963<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=292087">292087</a>
1964anonymous class in array member initializer confuses content assist
1965<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343475">343475</a>
1966[1.7] Compiler warning for invalid type inside switch needs to be improved
Stephan Herrmann44109d32011-08-02 14:34:26 +00001967<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342416">342416</a>
1968[1.7] Signature#createIntersectionTypeSignature(..) should take array of signatures
1969<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340059">340059</a>
1970[1.7] IAE when dealing with Signature of disjunctive type
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001971<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338789">338789</a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001972[1.7][assist] No proposal inside a multi catch statement after '|'
1973<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=341333">341333</a>
1974[1.7][compiler] DisjunctiveTypeReference#resolveType(..) does not set the value for DisjunctiveTypeReference$resolvedType
1975<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340634">340634</a>
1976[1.7][compiler][multicatch] Compiler accepts type variables as catch parameter type
Stephan Herrmann44109d32011-08-02 14:34:26 +00001977<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340626">340626</a>
1978[1.7][compiler] Inconsistent source pinpointing in multi-catch blocks
1979<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340513">340513</a>
1980[1.7][compiler] Unicode 6.0 characters work at compiler compliance level 1.5 and 1.6
1981<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340445">340445</a>
1982[1.7] ASTRewriteAnalyzer and ASTRewriteFlattener need updates
Stephan Herrmann44109d32011-08-02 14:34:26 +00001983<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340372">340372</a>
1984[1.7] NaiveASTFlattener needs to support the new AST nodes
1985<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340365">340365</a>
1986[1.7] Problems in new APIs (TryStatementWithResources, DisjunctiveType)
1987<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340375">340375</a>
1988[1.7] Merge TryStatementWithResources into TryStatement
Stephan Herrmann44109d32011-08-02 14:34:26 +00001989<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340022">340022</a>
1990[1.7][compiler] Support for precise rethrow
Stephan Herrmann44109d32011-08-02 14:34:26 +00001991<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339837">339837</a>
1992[1.7][compiler] Multicatch syntax not rejected at 1.6-
Stephan Herrmann44109d32011-08-02 14:34:26 +00001993<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339864">339864</a>
1994[1.7] Add recovery in ASTConverter for all new constructs in JLS3 mode
1995<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338402">338402</a>
1996[1.7][compiler][enh] Open issues in try with resources implementation
Stephan Herrmann44109d32011-08-02 14:34:26 +00001997<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337795">337795</a>
1998[1.7][compiler] Missing unchecked warning at varargs method/ctor declaration site
1999<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337802">337802</a>
2000[1.7][compiler] Usage of 0x0ffffffff is being reported as out of range.
Stephan Herrmann44109d32011-08-02 14:34:26 +00002001<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337799">337799</a>
2002[1.7][compiler][varargs] Eclipse fails to report error on incorrect SafeVarargs usage
2003<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337738">337738</a>
2004[1.7][content assist]Test CompletionParserTest#testEA_1 fails
Stephan Herrmann44109d32011-08-02 14:34:26 +00002005<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336782">336782</a>
2006[1.7][recovery]Extra error tokens with invalid unary operator
Stephan Herrmann44109d32011-08-02 14:34:26 +00002007<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336322">336322</a>
2008[1.7][search]CCE while searching for a type reference in multiple catch parameters
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00002009
2010<hr>
Stephan Herrmann4a05b5f2012-05-17 21:11:23 +02002011<p>For earlier build notes, also see <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/plain/org.eclipse.jdt.core/notes/R37_buildnotes_jdt-core.html">build notes up to Release 3.7</a>.</p>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00002012<br>
2013 <p>
2014 <a href="http://validator.w3.org/check?uri=referer"><img
2015 src="http://www.w3.org/Icons/valid-html401"
2016 alt="Valid HTML 4.01 Transitional" height="31" width="88"></a>
2017 </p>
2018</body>
2019</html>
2020