blob: 0e167b97828aa2a8230c9214338484286594430d [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>,
23 describing <a href="https://bugs.eclipse.org/bugs" target=new>bug</a> resolution and substantial changes in the <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core"><b>HEAD</b></a> branch.
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 Herrmanndd780c62011-08-13 11:41:32 +000028 This present document covers all changes since Release 3.7 (also see a summary of <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.jdt.core/notes/API_changes.html">API changes</a>).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000029 <br>Maintenance of previous releases of JDT/Core is performed in parallel branches:
Stephan Herrmanndd780c62011-08-13 11:41:32 +000030 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_7_maintenance">R3.7.x</a>,
Stephan Herrmannbb25a052011-01-27 11:59:20 +000031 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_6_maintenance">R3.6.x</a>,
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000032 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_5_maintenance">R3.5.x</a>,
33 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_4_maintenance">R3.4.x</a>,
34 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_3_maintenance">R3.3.x</a>,
35 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_2_maintenance">R3.2.x</a>,
36 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_1_maintenance">R3.1.x</a>,
37 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_0_maintenance">R3.0.x</a>,
38 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R2_1_maintenance">R2.1.x</a>,
39 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R2_0_1">R2.0.x</a>,
40 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=ECLIPSE_1_0">R1.0.x</a>.
41 </font>
42 </td>
43 </tr>
44</table>
Stephan Herrmannaa1e2842011-12-10 00:30:58 +010045<a name="v_C24"></a>
Stephan Herrmann41a335b2011-12-08 22:55:07 +010046<hr><h1>
47Eclipse Platform Build Notes<br>
48Java development tools core</h1>
Stephan Herrmannaa1e2842011-12-10 00:30:58 +010049Eclipse SDK 3.8.0 - December 5, 2011
50
51<h2>What's new in this drop</h2>
52
53<h3>Problem Reports Fixed</h3>
54<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365566">365566</a>
55set resource leak diagnostic to &quot;ignore&quot; until bug 358903 is fixed
56
57<a name="v_C23"></a>
58<hr><h1>
59Eclipse Platform Build Notes<br>
60Java development tools core</h1>
61Eclipse SDK 3.8.0 - December 2, 2011
62<h2>What's new in this drop</h2>
63<ul>
64<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):
65<pre>
66 /**
67 * Compiler option ID: Annotation-based Null Analysis.
68 *
69 * This option controls whether the compiler will use null annotations for
70 * improved analysis of (potential) null references.
71 *
72 * When enabled, the compiler will interpret the annotation types defined using
73 * {@link #COMPILER_NONNULL_ANNOTATION_NAME} and {@link #COMPILER_NULLABLE_ANNOTATION_NAME}
74 * as specifying whether or not a given type includes the value <code>null</code>.
75 *
76 * The effect of these analyses is further controlled by the options
77 * {@link #COMPILER_PB_NULL_SPECIFICATION_VIOLATION},
78 * {@link #COMPILER_PB_POTENTIAL_NULL_SPECIFICATION_VIOLATION} and
79 * {@link #COMPILER_PB_NULL_SPECIFICATION_INSUFFICIENT_INFO}.
80 *
81 * Option id: <code>"org.eclipse.jdt.core.compiler.annotation.nullanalysis"</code>
82 * Possible values: <code>{ "disabled", "enabled" }</code>
83 * Default: <code>"disabled"</code>
84 * @since 3.8
85 * @category CompilerOptionID
86 */
87 public static final String COMPILER_ANNOTATION_NULL_ANALYSIS = PLUGIN_ID + ".compiler.annotation.nullanalysis";
88</pre></li>
89<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):
90<pre>
91 /**
92 * Compiler option ID: Name of Annotation Type for Nullable Types.
93 *
94 * This option defines a fully qualified Java type name that the compiler may use
95 * to perform special null analysis.
96 *
97 * If the annotation specified by this option is applied to a type in a method
98 * signature or variable declaration, this will be interpreted as a specification
99 * that <code>null</code> is a legal value in that position. Currently supported
100 * positions are: method parameters, method return type and local variables.
101 *
102 * If a value whose type
103 * is annotated with this annotation is dereferenced without checking for null,
104 * the compiler will trigger a diagnostic as further controlled by
105 * {@link #COMPILER_PB_POTENTIAL_NULL_REFERENCE}.
106 *
107 * The compiler may furthermore check adherence to the null specification as
108 * further controlled by {@link #COMPILER_PB_NULL_SPECIFICATION_VIOLATION},
109 * {@link #COMPILER_PB_POTENTIAL_NULL_SPECIFICATION_VIOLATION} and
110 * {@link #COMPILER_PB_NULL_SPECIFICATION_INSUFFICIENT_INFO}.
111 *
112 * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled.
113 *
114 * Option id: <code>"org.eclipse.jdt.core.compiler.annotation.nullable"</code>
115 * Possible values: any legal, fully qualified Java type name; must resolve to an annotation type.
116 * Default: <code>"org.eclipse.jdt.annotation.Nullable"</code>
117 * @since 3.8
118 * @category CompilerOptionID
119 */
120 public static final String COMPILER_NULLABLE_ANNOTATION_NAME = PLUGIN_ID + ".compiler.annotation.nullable";
121</pre></li>
122<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):
123<pre>
124 /**
125 * Compiler option ID: Name of Annotation Type for Non-Null Types.
126 *
127 * This option defines a fully qualified Java type name that the compiler may use
128 * to perform special null analysis.
129 *
130 * If the annotation specified by this option is applied to a type in a method
131 * signature or variable declaration, this will be interpreted as a specification
132 * that <code>null</code> is <b>not</b> a legal value in that position. Currently
133 * supported positions are: method parameters, method return type and local variables.
134 *
135 * For values declared with this annotation, the compiler will never trigger a null
136 * reference diagnostic (as controlled by {@link #COMPILER_PB_POTENTIAL_NULL_REFERENCE}
137 * and {@link #COMPILER_PB_NULL_REFERENCE}), because the assumption is made that null
138 * will never occur at runtime in these positions.
139 *
140 * The compiler may furthermore check adherence to the null specification as further
141 * controlled by {@link #COMPILER_PB_NULL_SPECIFICATION_VIOLATION},
142 * {@link #COMPILER_PB_POTENTIAL_NULL_SPECIFICATION_VIOLATION} and
143 * {@link #COMPILER_PB_NULL_SPECIFICATION_INSUFFICIENT_INFO}.
144 *
145 * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled.
146 *
147 * Option id: <code>"org.eclipse.jdt.core.compiler.annotation.nonnull"</code>
148 * Possible values: any legal, fully qualified Java type name; must resolve to an annotation type.
149 * Default: <code>"org.eclipse.jdt.annotation.NonNull"</code>
150 * @since 3.8
151 * @category CompilerOptionID
152 */
153 public static final String COMPILER_NONNULL_ANNOTATION_NAME = PLUGIN_ID + ".compiler.annotation.nonnull";
154</pre></li>
155<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):
156<pre>
157 /**
158 * Compiler option ID: Name of Annotation Type to specify a nullness default for unannotated types.
159 *
160 * This option defines a fully qualified Java type name that the compiler may use
161 * to perform special null analysis.
162 *
163 * If the annotation is applied without an argument, all unannotated types in method signatures
164 * within the annotated element will be treated as if they were specified with the non-null annotation
165 * (see {@link #COMPILER_NONNULL_ANNOTATION_NAME}).
166 *
167 * If the annotation is applied with the constant <code>false</code> as its argument
168 * all corresponding defaults at outer scopes will be canceled for the annotated element.
169 * This includes defaults specified using this annotation type or a default defined using
170 * the compiler option {@link #COMPILER_NONNULL_IS_DEFAULT}.
171 *
172 * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled.
173 *
174 * Option id: <code>"org.eclipse.jdt.core.compiler.annotation.nonnullbydefault"</code>
175 * Possible values: any legal, fully qualified Java type name; must resolve to an annotation type.
176 * That annotation type should have exactly one boolean parameter.
177 * Default: <code>"org.eclipse.jdt.annotation.NonNullByDefault"</code>
178 * @since 3.8
179 * @category CompilerOptionID
180 */
181 public static final String COMPILER_NONNULL_BY_DEFAULT_ANNOTATION_NAME = PLUGIN_ID + ".compiler.annotation.nonnullbydefault";
182</pre></li>
183<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):
184<pre>
185 /**
186 * Compiler option ID: Globally specify non-null as the assumed default for unannotated types.
187 *
188 * When enabled this option globally achieves the same effect
189 * as specifying {@link #COMPILER_NONNULL_ANNOTATION_NAME} does for individual elements.
190 *
191 * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled.
192 *
193 * Option id: <code>"org.eclipse.jdt.core.compiler.annotation.nonnullisdefault"</code>
194 * Possible values: <code>{ "disabled", "enabled" }</code>.
195 * Default: <code>"disabled"</code>
196 * @since 3.8
197 * @category CompilerOptionID
198 */
199 public static final String COMPILER_NONNULL_IS_DEFAULT = PLUGIN_ID + ".compiler.annotation.nonnullisdefault";
200</pre></li>
201<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):
202<pre>
203 /**
204 * Compiler option ID: Reporting Violations of Null Specifications.
205 *
206 * Depending on this option, the compiler will issue either an error or a warning
207 * whenever one of the following situations is detected:
208 *
209 * 1. A method declared with a nonnull annotation returns an expression that is
210 * statically known to evaluate to a null value.
211 * 2. An expression that is statically known to evaluate to a null value is passed
212 * as an argument in a method call where the corresponding parameter of the called
213 * method is declared with a nonnull annotation.
214 * 3. An expression that is statically known to evaluate to a null value is assigned
215 * to a local variable that is declared with a nonnull annotation.
216 * 4. A method that overrides an inherited method declared with a nonnull annotation
217 * tries to relax that contract by specifying a nullable annotation
218 * (prohibition of contravariant return).
219 * 5. A method that overrides an inherited method which has a nullable declaration
220 * for at least one of its parameters, tries to tighten that null contract by
221 * specifying a nonnull annotation for its corresponding parameter
222 * (prohibition of covariant parameters).
223 *
224 * The compiler options {@link #COMPILER_NONNULL_ANNOTATION_NAME} and
225 * {@link #COMPILER_NULLABLE_ANNOTATION_NAME} control which annotations the compiler
226 * shall interpret as nonnull or nullable annotations, respectively.
227 *
228 * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled.
229 *
230 * Option id: <code>"org.eclipse.jdt.core.compiler.problem.nullSpecViolation"</code>
231 * Possible values: <code>{ "error", "warning" }</code>
232 * Default: <code>"error"</code>
233 *
234 * @since 3.8
235 * @category CompilerOptionID
236 */
237 public static final String COMPILER_PB_NULL_SPECIFICATION_VIOLATION = PLUGIN_ID + ".compiler.problem.nullSpecViolation";
238</pre></li>
239<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):
240<pre>
241 /**
242 * Compiler option ID: Reporting Violations of Null Specifications with Potential Null Value.
243 *
244 * When enabled, the compiler will issue an error or a warning whenever one of the
245 * following situations is detected:
246 *
247 * 1. A method declared with a nonnull annotation returns an expression that is
248 * statically known to evaluate to a null value on some flow.
249 * 2. An expression that is statically known to evaluate to a null value on some flow
250 * is passed as an argument in a method call where the corresponding parameter of
251 * the called method is declared with a nonnull annotation.
252 * 3. An expression that is statically known to evaluate to a null value on some flow
253 * is assigned to a local variable that is declared with a nonnull annotation.
254 *
255 * The compiler options {@link #COMPILER_NONNULL_ANNOTATION_NAME} and
256 * {@link #COMPILER_NULLABLE_ANNOTATION_NAME} control which annotations the compiler
257 * shall interpret as nonnull or nullable annotations, respectively.
258 *
259 *
260 * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled.
261 *
262 * Option id: <code>"org.eclipse.jdt.core.compiler.problem.potentialNullSpecViolation"</code>
263 * Possible values: <code>{ "error", "warning", "ignore" }</code>
264 * Default: <code>"error"</code>
265 *
266 * @since 3.8
267 * @category CompilerOptionID
268 */
269 public static final String COMPILER_PB_POTENTIAL_NULL_SPECIFICATION_VIOLATION = PLUGIN_ID + ".compiler.problem.potentialNullSpecViolation";
270</pre></li>
271<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):
272<pre>
273 /**
274 * Compiler option ID: Reporting Insufficient Information for Analysing Adherence to Null Specifications.
275 *
276 * When enabled, the compiler will issue an error or a warning whenever one of the
277 * following situations is detected:
278 *
279 * 1. A method declared with a nonnull annotation returns an expression for which
280 * insufficient nullness information is available for statically proving that no
281 * flow will pass a null value at runtime.
282 * 2. An expression for which insufficient nullness information is available for
283 * statically proving that it will never evaluate to a null value at runtime
284 * is passed as an argument in a method call where the corresponding parameter of
285 * the called method is declared with a nonnull annotation.
286 * 3. An expression for which insufficient nullness information is available for
287 * statically proving that it will never evaluate to a null value at runtime
288 * is assigned to a local variable that is declared with a nonnull annotation.
289 *
290 * Insufficient nullness information is usually a consequence of using other unannotated
291 * variables or methods.
292 *
293 * The compiler options {@link #COMPILER_NONNULL_ANNOTATION_NAME} and
294 * {@link #COMPILER_NULLABLE_ANNOTATION_NAME} control which annotations the compiler
295 * shall interpret as nonnull or nullable annotations, respectively.
296 *
297 * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled.
298 *
299 * Option id: <code>"org.eclipse.jdt.core.compiler.problem.nullSpecInsufficientInfo"</code>
300 * Possible values: <code>{ "error", "warning", "ignore" }</code>
301 * Default: <code>"warning"</code>
302 *
303 * @since 3.8
304 * @category CompilerOptionID
305 */
306 public static final String COMPILER_PB_NULL_SPECIFICATION_INSUFFICIENT_INFO = PLUGIN_ID + ".compiler.problem.nullSpecInsufficientInfo";
307</pre></li>
308<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):
309<pre>
310 /**
311 * Compiler option ID: Reporting Redundant Null Annotations.
312 *
313 * When enabled, the compiler will issue an error or a warning when a non-null annotation
314 * (see {@link #COMPILER_NONNULL_ANNOTATION_NAME})
315 * is applied although the same effect is already achieved by a default applicable at the
316 * current location. Such a default may be effective by enabling the option
317 * {@link #COMPILER_NONNULL_IS_DEFAULT} or by using the annotation specified by the option
318 * {@link #COMPILER_NONNULL_BY_DEFAULT_ANNOTATION_NAME}.
319 *
320 * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled.
321 *
322 * Option id: <code>"org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation"</code>
323 * Possible values: <code>{ "error", "warning", "ignore" }</code>
324 * Default: <code>"warning"</code>
325 *
326 * @since 3.8
327 * @category CompilerOptionID
328 */
329 public static final String COMPILER_PB_REDUNDANT_NULL_ANNOTATION = PLUGIN_ID + ".compiler.problem.redundantNullAnnotation";
330</pre>
331</li>
332<li>New API added to org.eclipse.jdt.core.compiler.IProblem to signal null-related issues:
333 <ul>
334 <li> int RequiredNonNullButProvidedNull</li>
335 <li> int RequiredNonNullButProvidedPotentialNull</li>
336 <li> int RequiredNonNullButProvidedUnknown</li>
337 <li> int MissingNullAnnotationType</li>
338 <li> int IllegalReturnNullityRedefinition</li>
339 <li> int IllegalRedefinitionToNonNullParameter</li>
340 <li> int IllegalDefinitionToNonNullParameter</li>
341 <li> int ParameterLackingNonNullAnnotation</li>
342 <li> int ParameterLackingNullableAnnotation</li>
343 <li> int PotentialNullMessageSendReference</li>
344 <li> int RedundantNullCheckOnNonNullMessageSend</li>
345 <li> int CannotImplementIncompatibleNullness</li>
346 <li> int RedundantNullAnnotation</li>
347 <li> int IllegalAnnotationForBaseType</li>
348 </ul>
349</ul>
350
351<h3>Problem Reports Fixed</h3>
352<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=363858">363858</a>
353[dom] early throwing of AbortCompilation causes NPE in CompilationUnitResolver
354<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331647">331647</a>
355[compiler][null] support flexible default mechanism for null-annotations
356<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334457">334457</a>
357[compiler][null] check compatibility of inherited null contracts
358<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186342">186342</a>
359[compiler][null] Using annotations for null checking
360
361<hr><h1>
362Eclipse Platform Build Notes<br>
363Java development tools core</h1>
364Eclipse SDK 3.8.0 - November 29, 2011
Stephan Herrmann41a335b2011-12-08 22:55:07 +0100365<h2>What's new in this drop</h2>
366
367<h3>Problem Reports Fixed</h3>
368<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340945">340945</a>
369Extension Request of JavaContentAssistInvocationContext
370<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=364672">364672</a>
371[compiler] ecj fails to compile valid calls to varargs method
372
373<a name="v_C21"></a>
374<hr><h1>
375Eclipse Platform Build Notes<br>
376Java development tools core</h1>
377Eclipse SDK 3.8.0 - November 22, 2011
378<h2>What's new in this drop</h2>
379
380<h3>Problem Reports Fixed</h3>
381<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350738">350738</a>
382&quot;The method is never used locally&quot; is not shown for parameterized recursive methods
383<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361053">361053</a>
384java.lang.VerifyError on try-with-resources
385<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346038">346038</a>
386[1.5][compiler] ecj vs. javac differ for methods using vararg parameters of different primitive types
387<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346039">346039</a>
388[1.5][compiler] ecj vs. javac differ for varargs overloading
389<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=362279">362279</a>
390ecj vs. javac differ for automatic boxing of implicitly converted types
391<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343060">343060</a>
392Method.getMethods() returns different methods (compared to standard compiler) for public/non-public inheritance hierarchies
393<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=362591">362591</a>
394VerifyError: Inconsistent stackmap frames
395
396<a name="v_C20"></a>
397<hr><h1>
398Eclipse Platform Build Notes<br>
399Java development tools core</h1>
400Eclipse SDK 3.8.0 - November 15, 2011
401<br>Project org.eclipse.jdt.core v_C20
402(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C20">cvs</a>).
403<h2>What's new in this drop</h2>
404
405<h3>Problem Reports Fixed</h3>
406<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361327">361327</a>
407Static import resolution does not record all static elements being imported
408<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346042">346042</a>
409[1.5][compiler] ecj compiles code rejected by javac for varargs parameters of inaccessible type
410<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361938">361938</a>
411Formerly working JLS3 parser not working -- Scanner reports com.sun.jdi.InvocationException occurred invoking method.
412<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359284">359284</a>
413Unnecessary checkast from null
414<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361441">361441</a>
415Error in JDT Core during AST creation
416<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=363293">363293</a>
417resource leaks in org.eclipse.jdt.compiler.tool.tests
418
Stephan Herrmannae64da72011-11-10 09:47:39 +0000419<a name="v_C19"></a>
420<hr><h1>
421Eclipse Platform Build Notes<br>
422Java development tools core</h1>
Stephan Herrmann41a335b2011-12-08 22:55:07 +0100423Eclipse SDK 3.8.0 - November 8, 2011
Stephan Herrmannae64da72011-11-10 09:47:39 +0000424<br>Project org.eclipse.jdt.core v_C19
425(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C19">cvs</a>).
426<h2>What's new in this drop</h2>
427
428<h3>Problem Reports Fixed</h3>
429<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361922">361922</a>
430Fup of 357425: ensure all reported regressions are witnessed by tests
431<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354766">354766</a>
432Javadoc content does not appear in content assist info window for non-static inner class constructors
433
Stephan Herrmann6dcbb382011-10-25 16:30:31 +0000434<a name="v_C18"></a>
435<hr><h1>
436Eclipse Platform Build Notes<br>
437Java development tools core</h1>
438Eclipse SDK 3.8.0 - October 25, 2011 - 3.8.0 M3
439<br>Project org.eclipse.jdt.core v_C18
440(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C18">cvs</a>).
441<h2>What's new in this drop</h2>
442
443<h3>Problem Reports Fixed</h3>
444
445<a name="v_C17"></a>
446<hr><h1>
447Eclipse Platform Build Notes<br>
448Java development tools core</h1>
449Eclipse SDK 3.8.0 - October 20, 2011
450<br>Project org.eclipse.jdt.core v_C17
451(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C17">cvs</a>).
452<h2>What's new in this drop</h2>
453<ul>
454<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):
455<pre>
456/**
457 * Status constant indicating that the default or specific output folder is overlapping
458 * with another source location.
459 * @since 3.8
460 */
461public static final int OUTPUT_LOCATION_OVERLAPPING_ANOTHER_SOURCE = 1013;
462</pre>
463</li>
464
465<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):
466<pre>
467/**
468 * Core option ID: Reporting an output location overlapping another source location.
469 * Indicate the severity of the problem reported when a source entry's output location overlaps another
470 * source entry.
471 *
472 * Option id:"org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource"
473 * Possible values:{ "error", "warning", "ignore" }
474 * Default:"error"
475 *
476 * @since 3.8
477 */
478public static final String CORE_OUTPUT_LOCATION_OVERLAPPING_ANOTHER_SOURCE = PLUGIN_ID + ".classpath.outputOverlappingAnotherSource";
479</pre>
480</li>
481</ul>
482<h3>Problem Reports Fixed</h3>
483<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=287164">287164</a>
484Report build path error if source folder has other source folder as output folder
485<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359721">359721</a>
486[options] add command line option for new warning token &quot;resource&quot;
487<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343480">343480</a>
488[compiler] Incorrect/confusing error message on inner class static field declaration
489<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=318401">318401</a>
490FUP of 317858: Clarify eclipse compiler behavior on imports &amp; shadowing
491<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=360317">360317</a>
492[compiler] report switch over enum in 1.4- mode
493<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=360164">360164</a>
494Compile error in XSDImpl
495<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359727">359727</a>
496[1.7][doc] Update doc for new resource leak warnings
497
498<a name="v_C16"></a>
499<hr><h1>
500Eclipse Platform Build Notes<br>
501Java development tools core</h1>
502Eclipse SDK 3.8.0 - October 18, 2011
503<br>Project org.eclipse.jdt.core v_C16
504(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C16">cvs</a>).
505<h2>What's new in this drop</h2>
506<ul>
507<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):
508<pre>
509/**
510 * Description of a bootstrap method table entry as specified in the JVM specifications.
511 *
512 * This interface may be implemented by clients.
513 *
514 * @since 3.8
515 */
516public interface IBootstrapMethodsEntry;
517</pre>
518</li>
519
520<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):
521<pre>
522/**
523 * Description of a bootstrap methods attribute as described in the JVM specifications.
524 *
525 * This interface may be implemented by clients.
526 *
527 * @since 3.8
528 */
529public interface IBootstrapMethodsAttribute
530</pre>
531</li>
532
533<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):
534<pre>
535/**
536 * Answer back the number of bootstrap methods of this entry as specified in
537 * the JVM specifications.
538 *
539 * @return the number of bootstrap methods of this entry as specified in
540 * the JVM specifications
541 */
542int getBootstrapMethodsLength();
543</pre>
544</li>
545
546<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):
547<pre>
548/**
549 * Answer back the bootstrap methods table of this entry as specified in
550 * the JVM specifications. Answer an empty array if none.
551 *
552 * @return the bootstrap methods table of this entry as specified in
553 * the JVM specifications. Answer an empty array if none
554 */
555IBootstrapMethodsEntry[] getBootstrapMethods();
556</pre>
557</li>
558
559<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):
560<pre>
561/**
562 * Description of the new constant pool entry as described in the JVM specifications
563 * added for Java 7 support.
564 * Its contents is initialized according to its kind.
565 *
566 * This interface may be implemented by clients.
567 *
568 * @since 3.8
569 */
570public interface IConstantPoolEntry2
571</pre>
572</li>
573
574<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):
575<pre>
576/**
577 * Returns the descriptor index. This value is set only when decoding a MethodType entry.
578 * The value is unspecified otherwise. The corresponding UTF8 value can be retrieved by using
579 * {@link #getMethodDescriptor()}.
580 *
581 * @return the descriptor index. This value is set only when decoding a MethodType entry.
582 * @see IConstantPoolConstant#CONSTANT_MethodType
583 */
584int getDescriptorIndex();
585</pre>
586</li>
587
588<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):
589<pre>
590/**
591 * Returns the reference kind. This value is set only when decoding a MethodHandle entry.
592 * The value is unspecified otherwise.
593 *
594 * @return the reference kind. This value is set only when decoding a MethodHandle entry.
595 * @see IConstantPoolConstant#CONSTANT_MethodHandle
596 */
597int getReferenceKind();
598</pre>
599</li>
600
601<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):
602<pre>
603/**
604 * Returns the reference index. This value is set only when decoding a MethodHandle entry.
605 * The value is unspecified otherwise.
606 *
607 * @return the reference kind. This value is set only when decoding a MethodHandle entry.
608 * @see IConstantPoolConstant#CONSTANT_MethodHandle
609 */
610int getReferenceIndex();
611</pre>
612</li>
613
614<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):
615<pre>
616/**
617 * Returns the bootstrap method attribute index. This value is set only when decoding a InvokeDynamic entry.
618 * The value is unspecified otherwise.
619 *
620 * @return the reference kind. This value is set only when decoding a MethodHandle entry.
621 * @see IConstantPoolConstant#CONSTANT_InvokeDynamic
622 */
623int getBootstrapMethodAttributeIndex();
624</pre>
625</li>
626
627<li>Added new API in IByteCodeVisitor(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> for details):
628<pre>
629 /**
630 * @since 3.8
631 */
632 void _invokedynamic(
633 int pc,
634 int index,
635 IConstantPoolEntry invokeDynamic);
636</pre>
637<p>
638This has been added in place of the deprecated API
639<pre>
640 void _invokedynamic(
641 int pc,
642 int index,
643 IConstantPoolEntry nameEntry,
644 IConstantPoolEntry descriptorEntry);
645</pre>
646</li>
647</ul>
648<h3>Problem Reports Fixed</h3>
649<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a>
650invokedynamic in generated class file is not correctly recognized by the eclipse compiler
651<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=360644">360644</a>
652Scope.isDefinedInSameUnit(ReferenceBinding) fails for a ParameterizedTypeBinding
653<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=358762">358762</a>
654NPE in JDT compiler
655<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=360328">360328</a>
656[compiler][null] detect null problems in nested code (local class inside a loop)
657
658<a name="v_C15"></a>
659<hr><h1>
660Eclipse Platform Build Notes<br>
661Java development tools core</h1>
662Eclipse SDK 3.8.0 - October 11, 2011
663<br>Project org.eclipse.jdt.core v_C15
664(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C15">cvs</a>).
665<h2>What's new in this drop</h2>
666
667<h3>Problem Reports Fixed</h3>
668<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350285">350285</a>
669ASTRewrite destroys formatting on CatchClause#setBody(copyTarget)
670<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353474">353474</a>
671type converters should include more annotations
672
673<a name="v_C14"></a>
674<hr><h1>
675Eclipse Platform Build Notes<br>
676Java development tools core</h1>
677Eclipse SDK 3.8.0 - October 5, 2011
678<br>Project org.eclipse.jdt.core v_C14
679(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C14">cvs</a>).
680<h2>What's new in this drop</h2>
681
682<h3>Problem Reports Fixed</h3>
683<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354181">354181</a>
684migrate jdt.core to git
685<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359831">359831</a>
686Fix messages for &quot;new warning for missing try-with-resources&quot;
687
688<a name="v_C13"></a>
689<hr><h1>
690Eclipse Platform Build Notes<br>
691Java development tools core</h1>
692Eclipse SDK 3.8.0 - October 3, 2011
693<br>Project org.eclipse.jdt.core v_C13
694(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C13">cvs</a>).
695<h2>What's new in this drop</h2>
696<ul>
697<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_UNCLOSED_CLOSEABLE to raise a warning or error
698 when a resource of type Closeable or AutoCloseable is not closed locally.
699(see details in bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349326">349326</a>):
700<pre>
701 /**
702 * Compiler option ID: Reporting a resource that is not closed properly.
703 *
704 * When enabled, the compiler will issue an error or a warning if
705 * a local variable holds a value of type <code>java.lang.AutoCloseable</code> (compliance>=1.7)
706 * or a value of type <code>java.io.Closeable</code> (compliance<=1.6) and if
707 * flow analysis shows that the method <code>close()</code> is not invoked locally on that value.
708 *
709 * Option id: <code>"org.eclipse.jdt.core.compiler.problem.reportUnclosedCloseable"</code>
710 * Possible values: <code>{ "error", "warning", "ignore" }</code>
711 * Default: <code>"warning"</code>
712 *
713 * @since 3.8
714 * @category CompilerOptionID
715 */
716 public static final String COMPILER_PB_UNCLOSED_CLOSEABLE = PLUGIN_ID + ".compiler.problem.unclosedCloseable"; //$NON-NLS-1$
717</pre>
718</li>
719<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_POTENTIALLY_UNCLOSED_CLOSEABLE to raise a warning or error
720 when a resource of type Closeable or AutoCloseable is not definitely closed locally.
721(see details in bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349326">349326</a>):
722<pre>
723 /**
724 * Compiler option ID: Reporting a resource that may not be closed properly.
725 *
726 * When enabled, the compiler will issue an error or a warning if
727 * a local variable holds a value of type <code>java.lang.AutoCloseable</code> (compliance>=1.7)
728 * or a value of type <code>java.io.Closeable</code> (compliance<=1.6) and if
729 * flow analysis shows that the method <code>close()</code> is
730 * not invoked locally on that value for all execution paths.
731 *
732 * Option id: <code>"org.eclipse.jdt.core.compiler.problem.reportPotentiallyUnclosedCloseable"</code>
733 * Possible values: <code>{ "error", "warning", "ignore" }</code>
734 * Default: <code>"ignore"</code>
735 *
736 * @since 3.8
737 * @category CompilerOptionID
738 */
739 public static final String COMPILER_PB_POTENTIALLY_UNCLOSED_CLOSEABLE = PLUGIN_ID + ".compiler.problem.potentiallyUnclosedCloseable"; //$NON-NLS-1$
740</pre>
741</li>
742<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_EXPLICITLY_CLOSED_AUTOCLOSEABLE to raise a warning or error
743 when a resource of type AutoCloseable is closed explicitly rather than using a try-with-resources block.
744(see details in bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349326">349326</a>):
745<pre>
746 /**
747 * Compiler option ID: Reporting a resource that is not managed by try-with-resources.
748 *
749 * When enabled, the compiler will issue an error or a warning if a local variable
750 * holds a value of type <code>java.lang.AutoCloseable</code>, and if the method
751 * <code>close()</code> is explicitly invoked on that resource, but the resource is
752 * not managed by a try-with-resources block.
753 *
754 * Option id: <code>"org.eclipse.jdt.core.compiler.problem.reportPotentiallyUnclosedCloseable"</code>
755 * Possible values: <code>{ "error", "warning", "ignore" }</code>
756 * Default: <code>"ignore"</code>
757 *
758 * @since 3.8
759 * @category CompilerOptionID
760 */
761 public static final String COMPILER_PB_EXPLICITLY_CLOSED_AUTOCLOSEABLE = PLUGIN_ID + ".compiler.problem.explicitlyClosedAutoCloseable"; //$NON-NLS-1$
762</pre>
763</li>
764</ul>
765
766<h3>Problem Reports Fixed</h3>
767<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359495">359495</a>
768[1.7][compiler] VerifyError in try-finally block with lock encompassing for-each block and unlock in finally clause
769<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=161129">161129</a>
770[batch][compiler] Add -warn:all to report all warnings
771<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359646">359646</a>
772Formatter fails silently if Java source contains 0x8000000000000000L
773<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=256796">256796</a>
774[compiler] dead code detection: &quot;if (DEBUG) return;&quot; should also be trivial IF stmt
775<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359334">359334</a>
776Analysis for resource leak warnings does not consider exceptions as method exit points
777<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359362">359362</a>
778FUP of bug 349326: Resource leak on non-Closeable resource.
779<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348186">348186</a>
780[compiler] Improve wording for the warning for masked/hidden catch block
781<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=355838">355838</a>
782[compiler] ecj compiles the code that javac6 rejects
783<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349326">349326</a>
784[1.7] new warning for missing try-with-resources
785<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354502">354502</a>
786Incorrect Compiler Warning: &quot;Method can be declared as static&quot;
787<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=241834">241834</a>
788[search] ClassCastException during move class refactoring
789<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=358827">358827</a>
790[1.7] exception analysis for t-w-r spoils null analysis
791
792<a name="v_C12"></a>
793<hr><h1>
794Eclipse Platform Build Notes<br>
795Java development tools core</h1>
796Eclipse SDK 3.8.0 - September 23, 2011
797<br>Project org.eclipse.jdt.core v_C12
798(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C12">cvs</a>).
799<h2>What's new in this drop</h2>
800<ul>
801<li>Tagging to prepare for the git migration</li>
802</ul>
803
804<h3>Problem Reports Fixed</h3>
805
806<a name="v_C11"></a>
807<hr><h1>
808Eclipse Platform Build Notes<br>
809Java development tools core</h1>
810Eclipse SDK 3.8.0 - September 20, 2011
811<br>Project org.eclipse.jdt.core v_C11
812(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C11">cvs</a>).
813<h2>What's new in this drop</h2>
814
815<h3>Problem Reports Fixed</h3>
816<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=357110">357110</a>
817Problem with inner classes referenced from jars or class folders: &quot;The type ... cannot be resolved&quot;
818<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=357471">357471</a>
819ASTParser cannot resolve binding of PackageDeclaration if class name is equal to the first segment of the package name
820
Stephan Herrmann7d944ef2011-09-17 19:42:22 +0000821<a name="v_C10"></a>
822<hr><h1>
823Eclipse Platform Build Notes<br>
824Java development tools core</h1>
825Eclipse SDK 3.8.0 - September 13, 2011 - 3.8.0 M2
826<br>Project org.eclipse.jdt.core v_C10
827(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C10">cvs</a>).
828<h2>What's new in this drop</h2>
829
830<h3>Problem Reports Fixed</h3>
831<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=357259">357259</a>
832[dom] AST#newArrayType(Type, int) should allow array type as argument
833
834<a name="v_C09"></a>
835<hr><h1>
836Eclipse Platform Build Notes<br>
837Java development tools core</h1>
838Eclipse SDK 3.8.0 - September 9, 2011
839<br>Project org.eclipse.jdt.core v_C09
840(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C09">cvs</a>).
841<h2>What's new in this drop</h2>
842
843<h3>Problem Reports Fixed</h3>
844<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354332">354332</a>
Stephan Herrmann6dcbb382011-10-25 16:30:31 +0000845DeltaProcessor exhibits O(N^2) behavior
Stephan Herrmann7d944ef2011-09-17 19:42:22 +0000846<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=355605">355605</a>
847NPE in HierarchyResolver
848<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347396">347396</a>
849ASTParser returns empty or partial AST if we parse the the body contains empty for loop
850<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=356746">356746</a>
851ECJ accepts illegal unicode escape sequences
852<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337935">337935</a>
853Test failures when run as an IDE (org.eclipse.sdk.ide)
854
855<a name="v_C08"></a>
856<hr><h1>
857Eclipse Platform Build Notes<br>
858Java development tools core</h1>
859Eclipse SDK 3.8.0 - September 6, 2011
860<br>Project org.eclipse.jdt.core v_C08
861(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C08">cvs</a>).
862<h2>What's new in this drop</h2>
863
864<h3>Problem Reports Fixed</h3>
865<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=356325">356325</a>
866[select] Open declaration on a constructor of a local class with type parameters doesn't work
867<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=24804">24804</a>
868Organize imports wipes comments between statements [code manipulation]
869<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=356363">356363</a>
870Many links to java.sun.com are broken
871<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346529">346529</a>
872Don't show &quot;The method * from the type * is never used locally&quot; warning for private methods annotated with standard annotations like @PostConstruct
873
Stephan Herrmann8cf34702011-09-03 16:15:54 +0000874<a name="v_C07"></a>
875<hr><h1>
876Eclipse Platform Build Notes<br>
877Java development tools core</h1>
Stephan Herrmann7d944ef2011-09-17 19:42:22 +0000878Eclipse SDK 3.8.0 - August 30, 2011
Stephan Herrmann8cf34702011-09-03 16:15:54 +0000879<br>Project org.eclipse.jdt.core v_C07
880(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C07">cvs</a>).
881<h2>What's new in this drop</h2>
882
883<h3>Problem Reports Fixed</h3>
884<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=356002">356002</a>
885VerifyError &quot;Inconsistent stackmap frames&quot; for switch-string statement with nested for-loop
886<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350095">350095</a>
887The 2000th (0-based) enum constant is null
888<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=234074">234074</a>
889Compliance_1_5#test088 fails when launched with JRE 6 and -Dcompliance=1.5
890<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350612">350612</a>
891OutOfMemoryError while &quot;Initializing Java Tooling&quot;
892<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348024">348024</a>
893Empty AST for class with static inner class in a package with package-info.java
894<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346010">346010</a>
895[model] strange initialization dependency in OptionTests
896<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353640">353640</a>
897AIOOBE in ParameterizedTypeBinding.substitute
898
Stephan Herrmann3df378f2011-08-25 12:46:17 +0000899<a name="v_C06"></a>
900<hr><h1>
901Eclipse Platform Build Notes<br>
902Java development tools core</h1>
Stephan Herrmann8cf34702011-09-03 16:15:54 +0000903Eclipse SDK 3.8.0 - August 23, 2011
Stephan Herrmann3df378f2011-08-25 12:46:17 +0000904<br>Project org.eclipse.jdt.core v_C06
905(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C06">cvs</a>).
906<h2>What's new in this drop</h2>
907
908<h3>Problem Reports Fixed</h3>
909<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348507">348507</a>
910[search] Hyperlinks from the Java Stack Trace console should search the workspace in CLASSPATH order
911<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345949">345949</a>
912[compiler] Inconsistent name clash behavior vis-a-vis javac7
913<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354766">354766</a>
914Javadoc content does not appear in content assist info window for non-static inner class constructors
915<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353535">353535</a>
916Eclipse compiler generates wrong bytecode for nested try-with-resources statements
917<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354579">354579</a>
918Fup of bug 289247: Investigate validity of the fix vis-a-vis JLS.
919<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354078">354078</a>
920[dom] ASTConverter.removeTrailingCommentFromExpressionEndingWithAParen() ??
921
922<a name="v_C05"></a>
923<hr><h1>
924Eclipse Platform Build Notes<br>
925Java development tools core</h1>
926Eclipse SDK 3.8.0 - August 16, 2011
927<br>Project org.eclipse.jdt.core v_C05
928(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C05">cvs</a>).
929<h2>What's new in this drop</h2>
930
931<h3>Problem Reports Fixed</h3>
932<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354554">354554</a>
933[null] conditional with redundant condition yields weak error message
934<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354536">354536</a>
935compiling package-info.java still depends on the order of compilation units
936<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=292087">292087</a>
937anonymous class in array member initializer confuses content assist
938<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352412">352412</a>
939Switching on strings in 1.6- modes produces misleading message
940<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317719">317719</a>
941Method incorrectly flagged as having same erasure output when return type differs
942
Stephan Herrmanndd780c62011-08-13 11:41:32 +0000943<a name="v_C04"></a>
Stephan Herrmann44109d32011-08-02 14:34:26 +0000944<hr><h1>
945Eclipse Platform Build Notes<br>
946Java development tools core</h1>
Stephan Herrmann3df378f2011-08-25 12:46:17 +0000947Eclipse SDK 3.8.0 - August 9, 2011
Stephan Herrmanndd780c62011-08-13 11:41:32 +0000948<br>Project org.eclipse.jdt.core v_C04
949(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C04">cvs</a>).
Stephan Herrmann44109d32011-08-02 14:34:26 +0000950<h2>What's new in this drop</h2>
951<ul>
Stephan Herrmanndd780c62011-08-13 11:41:32 +0000952<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):
953<pre>
954/**
955 * Returns the binding key of the declaring type of the element represented by this binding key. If the binding key
956 * does not represent a member or if the member doesn't have a declaring type, returns <code>null</code>.
957 *
958 * <p>
959 * Note that only binding keys for references to methods and fields
960 * are fully supported. The binding keys for declarations will not have type parameters.
961 *
962 * @return the type binding key or <code>null</code>
963 * @since 3.7.1
964 */
965public BindingKey getDeclaringType();
966</pre>
967</li>
Stephan Herrmann44109d32011-08-02 14:34:26 +0000968</ul>
969
970<h3>Problem Reports Fixed</h3>
Stephan Herrmanndd780c62011-08-13 11:41:32 +0000971<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354052">354052</a>
972[1.7] NPE in org.eclipse.jdt.internal.compiler.ClassFile.traverse(ClassFile.java:4507)
973<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346741">346741</a>
974[1.7][doc] Update doc when java 1.7 support is done
975<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353238">353238</a>
976[1.7] update unusedTypeArgs option description for the batch compiler
977<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353089">353089</a>
978[1.7][compiler] Incorrect name clash error with ecj
979<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351165">351165</a>
980[1.7] API to get the type arguments of the declaring type for constructor invocations
Stephan Herrmann44109d32011-08-02 14:34:26 +0000981
Stephan Herrmanndd780c62011-08-13 11:41:32 +0000982<a name="v_C03"></a>
Stephan Herrmann44109d32011-08-02 14:34:26 +0000983<hr><h1>
984Eclipse Platform Build Notes<br>
985Java development tools core</h1>
Stephan Herrmann3df378f2011-08-25 12:46:17 +0000986Eclipse SDK 3.8.0 - August 3, 2011 - 3.8.0 M1
Stephan Herrmanndd780c62011-08-13 11:41:32 +0000987<br>Project org.eclipse.jdt.core v_C03
988(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C03">cvs</a>).
Stephan Herrmann44109d32011-08-02 14:34:26 +0000989<h2>What's new in this drop</h2>
990
991<h3>Problem Reports Fixed</h3>
Stephan Herrmanndd780c62011-08-13 11:41:32 +0000992<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353553">353553</a>
993Rename readableNames.properties to avoid translation
994<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353085">353085</a>
995[1.7] Cannot cast from Object to boolean
Stephan Herrmann44109d32011-08-02 14:34:26 +0000996
Stephan Herrmanndd780c62011-08-13 11:41:32 +0000997<a name="v_C02"></a>
Stephan Herrmann44109d32011-08-02 14:34:26 +0000998<hr><h1>
999Eclipse Platform Build Notes<br>
1000Java development tools core</h1>
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001001Eclipse SDK 3.8.0 - July 28, 2011
1002<br>Project org.eclipse.jdt.core v_C02
1003(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C02">cvs</a>).
Stephan Herrmann44109d32011-08-02 14:34:26 +00001004<h2>What's new in this drop</h2>
1005
1006<h3>Problem Reports Fixed</h3>
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001007<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353250">353250</a>
1008[1.7] merging Java 7 work to HEAD
Stephan Herrmann44109d32011-08-02 14:34:26 +00001009
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001010<a name="v_C01"></a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001011<hr><h1>
1012Eclipse Platform Build Notes<br>
1013Java development tools core</h1>
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001014Eclipse SDK 3.8.0 - July 27, 2011
1015<br>Project org.eclipse.jdt.core v_C01
1016(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C01">cvs</a>).
Stephan Herrmann44109d32011-08-02 14:34:26 +00001017<h2>What's new in this drop</h2>
1018<ul>
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001019<li>Bundle version has been incremented to 3.8.0.qualifier</li>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001020<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):
1021<pre>
1022/**
Stephan Herrmann6dcbb382011-10-25 16:30:31 +00001023 * Returns whether it is safe to use the '&lt;&gt;' (diamond) operator in place of explicitly specifying
Stephan Herrmann44109d32011-08-02 14:34:26 +00001024 * type arguments for this proposal.
1025 *
1026 * This is only relevant for source level 1.7 or greater.
1027 *
1028 * @param coreContext the completion context associated with the proposal
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001029 * @since 3.7.1
Stephan Herrmann44109d32011-08-02 14:34:26 +00001030 * @return <code>true</code> if it is safe to use the diamond operator for the constructor invocation,
1031 * <code>false</code> otherwise. Also returns <code>false</code> for source levels below 1.7
1032 */
1033public boolean canUseDiamond(CompletionContext coreContext);
1034</pre>
1035</li>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001036<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_REDUNDANT_TYPE_ARGUMENTS added to raise warning or error for redundant
1037usage 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>):
1038<pre>
1039 /**
1040 * Compiler option ID: Reporting redundant specification of type arguments in class instance creation expressions.
1041 * 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 +00001042 * when the '&lt;&gt;' operator can be used instead.
Stephan Herrmann44109d32011-08-02 14:34:26 +00001043 *
1044 * This option only has an effect if the compiler compliance is 1.7 or greater.
1045 *
1046 * Option id:<code>"org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments"</code>
1047 * Possible values:<code>{ "error", "warning", "ignore" }</code>
1048 * Default:<code>"ignore"</code>
1049 *
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001050 * @since 3.7.1
Stephan Herrmann44109d32011-08-02 14:34:26 +00001051 * @category CompilerOptionID
1052 */
1053 public static final String COMPILER_PB_REDUNDANT_TYPE_ARGUMENTS = PLUGIN_ID + ".compiler.problem.redundantSpecificationOfTypeArguments";
1054 </pre>
1055</li>
1056<li>Added a new API in ClassInstanceCreation to tell whether the resolved type is inferred from the assignment context:
1057<br>(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350897">350897</a> for details):
1058<pre>
1059 /**
1060 * Returns <code>true</code> if the resolved class type has been inferred
1061 * from the assignment context (JLS4 15.12.2.8), <code>false</code> otherwise.
1062 *
1063 * This information is available only when bindings are requested when the AST is being built.
1064 *
1065 * @return <code>true</code> if the resolved class type has been inferred
1066 * from the assignment context (JLS3 15.12.2.8), <code>false</code> otherwise
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001067 * @since 3.7.1
Stephan Herrmann44109d32011-08-02 14:34:26 +00001068 */
1069 public boolean isResolvedTypeInferredFromExpectedType();
1070</pre>
1071</li>
1072</ul>
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001073
Stephan Herrmann44109d32011-08-02 14:34:26 +00001074<h3>Problem Reports Fixed</h3>
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001075<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342936">342936</a>
1076NPEs and inconsistencies when running jdt.compiler.tool.tests against Java 7
1077<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351426">351426</a>
1078[1.7][code assist] CompletionContext.getExpectedTypesKeys() returns wrong type
1079<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353137">353137</a>
1080[1.7] Make sure TagBits.AnnotationSafeVarargs and AnnotationPolymorphicSignature are handled everywhere
1081<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353093">353093</a>
1082IMethod#getAnnotations() doesn't return @SafeVarargs of java.util.Arrays#asList(T...)
1083<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352464">352464</a>
1084[1.7] Incorrect Javadoc shown for reference of invokeExact
1085<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351498">351498</a>
1086[model]java.util.ConcurrentModificationException upon startup
1087<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352699">352699</a>
1088[1.7][compiler] Improve error range for redundant type parameter warning
1089<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352665">352665</a>
1090[1.6][compiler] Internal compiler Error: ArrayIndexOutOfBoundsException when compiling certain classes with outer access error
1091<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352553">352553</a>
1092[1.7] 'char a\u200b' is being accepted in 1.6 mode
1093<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352496">352496</a>
1094tests using wrong version of JCL
1095<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=300576">300576</a>
1096NPE Computing type hierarchy when compliance doesn't match libraries
1097<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352145">352145</a>
1098[1.7][compiler] VerifyError with aload0 being involved into ConditionalExpression
1099<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351965">351965</a>
1100[1.7] CCE when using diamond in 1.4
1101<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351444">351444</a>
1102[1.7][content assist] Need to know whether I can use diamond
1103<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352014">352014</a>
1104\u1369 no longer accepted as a valid java identifier part
1105<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351653">351653</a>
1106[1.7][compiler]: VerifyError in try statement with finally and return statements
1107<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340747">340747</a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001108[1.7][compiler] compiler option to warn when diamond can be used, but type args are used instead.
1109<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350895">350895</a>
1110[1.7][formatter] New option to wrap before/after '|' in multi-catch
1111<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350652">350652</a>
1112[1.7][assist] Completion issues with multicatch (FUP of 343637)
Stephan Herrmann44109d32011-08-02 14:34:26 +00001113<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347503">347503</a>
1114[DOM] ASTParser.setEnvironment() ignores includeRunningVMBootclasspath parameter
1115<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350897">350897</a>
1116[1.7][api] ClassInstanceCreation#isResolvedTypeInferredFromExpectedType()
1117<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351170">351170</a>
1118[1.7] ASTRewrite issues in Try with resources
1119<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348493">348493</a>
1120[1.7] Improve error msg for Diamond operator in 1.5 mode
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001121<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350885">350885</a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001122[Search] The pull up refactoring throws an NPE when pulling up a member that already exists in the superclass
1123<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350611">350611</a>
1124[1.7] Inconsistent error msg and error location for illegal diamond
1125<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350579">350579</a>
1126[1.7][compiler] VerifyError running example from bug 338402 comment 5
1127<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350767">350767</a>
1128[1.7][assist] CCE while invoking assist on a multi-catch block
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001129<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349312">349312</a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001130[1.7][compiler] improved problem messages
1131<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350003">350003</a>
1132[1.7] [compiler] AnnotationPolymorphicSignature tag is not being set to invokeExact while compiling MethodHandle source file
1133<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350496">350496</a>
1134[1.7] @PolymorphicSignature IMethods are missing the annotation
1135<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349314">349314</a>
1136[1.7][formatter] Line wrapping for multi-catch arguments
1137<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350039">350039</a>
1138[1.7] ASTParser#createASTs(..) doesn't resolve IMethodBinding for @PolymorphicSignature method reference
1139<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349396">349396</a>
1140[1.7][formatter] Line wrapping and indentation options for try with resources
1141<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350361">350361</a>
1142[1.7] Unhandled exception type Exception
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001143<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349488">349488</a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001144[1.7] IMethodBinding#getMethodDeclaration() should return the declaration of @PolymorphicSignature methods
1145<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349487">349487</a>
1146[1.7] IMethodBinding#getJavaElement() returns inexistent element for @PolymorphicSignature methods
1147<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349862">349862</a>
1148[1.7] NPE when trying to use UnionType as TryStatement resource
1149<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349864">349864</a>
1150[1.7][compiler] Error message considers AutoCloseable as class
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001151<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348956">348956</a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001152[1.7] ITypeBinding#isAssignmentCompatible(ITypeBinding) returns different result
1153<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349312">349312</a>
1154[1.7][compiler] improved problem messages
1155<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349008">349008</a>
1156[1.7] Ugly formatting for try with resources
1157<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349072">349072</a>
1158[1.7] &quot;Cannot infer elided type(s)&quot; sounds too elite
1159<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348705">348705</a>
1160[1.7][compiler] Improve error message for unhandled IOException generated due to compiler-generated close()
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001161<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348050">348050</a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001162[1.7] Error in JDT Core during AST creation
1163<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348406">348406</a>
1164[1.7] Incorrect error msg on try with resources in 1.5 mode
1165<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348492">348492</a>
1166[1.7] Improve error msg on strings in switch in 1.5 mode
1167<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348491">348491</a>
1168[1.7] Rename IProblem.IllegalBinaryLiteral to BinaryLiteralNotBelow17 and IProblem.IllegalUsageOfUnderscore to UnderscoreInLiteralsNotBelow17
1169<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348369">348369</a>
1170[1.7] Missing error &quot;No exception of type Exception[] can be thrown&quot;
1171<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348379">348379</a>
1172[1.7][compiler] Null pointer access warning for strings in switch
1173<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346415">346415</a>
1174[1.7][assist] No proposal inside catch statement from 3rd catch block onwards
1175<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346454">346454</a>
1176[1.7][content assist]Getting NegativeArraySizeException while trying content assist after diamond
1177<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347600">347600</a>
1178[1.7][compiler] Suspect bounds check failure after inference.
1179<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347746">347746</a>
1180[1.7][compiler] Bounds check failure during method inference
1181<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=283353">283353</a>
1182[1.5][compiler] Eclipse compiler shows error on javac-valid construct: Bound mismatch
1183<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347145">347145</a>
1184[1.7][compiler] Bounds check issue with raw types in method inference
1185<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347426">347426</a>
1186[1.7][compiler] ecj behavior differs from javac
1187<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=344522">344522</a>
1188[1.7] Incorrect source range for ParameterizedType in case of Diamond
1189<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=341795">341795</a>
1190[1.7][compiler] Cannot assign a generic method with multiple bounds return value to any variable
1191<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=242159">242159</a>
1192[1.7][compiler] type inference with unbounded wildcard in result type
1193<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343693">343693</a>
1194[1.7] Adjust subclasses of AllocationExpression for &lt;&gt; support
1195<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343637">343637</a>
1196[1.7] Already used exception offered again in a Mulicatch block
1197<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345968">345968</a>
1198[1.7][compiler] NPE while using diamond for inner class allocation
1199<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334313">334313</a>
1200[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 +00001201<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346029">346029</a>
1202[1.7][compiler] Eclipse compiles code rejected by JDK7
1203<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345628">345628</a>
1204[1.7] Rename disjunctive type to union type
1205<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345559">345559</a>
1206[1.7][compiler] Type inference for generic allocation can be avoided for invalid constructor
1207<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342819">342819</a>
1208Code rejected by javac with name clash error compiles under eclipse.
1209<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334306">334306</a>
1210[1.7][compiler] name clash reported in javac 1.7 and not in javac 1.6
1211<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345579">345579</a>
1212[1.7][compiler] Weird error message in rethrow site
Stephan Herrmann44109d32011-08-02 14:34:26 +00001213<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345522">345522</a>
1214[1.7][compiler] Compilers fails to compute precisely rethrown types
Stephan Herrmann44109d32011-08-02 14:34:26 +00001215<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=344824">344824</a>
1216[1.7][compiler] Incorrect error range for unreachable catch block error in multi-catch
1217<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340486">340486</a>
1218[1.7][compiler] Missing error in multi catch scenario
1219<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345359">345359</a>
1220[1.7][compiler] AIOOB on diamond construct with argument error
1221<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345239">345239</a>
1222[1.7][compiler] Compiler should issue better diagnostics for use of &lt;&gt; with anonymous classes
Stephan Herrmann44109d32011-08-02 14:34:26 +00001223<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=344655">344655</a>
1224[1.7][compiler] Prohibit use of &lt;&gt; with explicit type arguments to generic constructor
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001225<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328575">328575</a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001226Inheritance of annotation fails with generic classes
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001227<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343785">343785</a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001228[1.7] Incorrect line numbers in stack trace with try with resources
Stephan Herrmann44109d32011-08-02 14:34:26 +00001229<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343687">343687</a>
1230[1.7] IAE in NumberLiteral#setToken(String) for binary tokens and tokens with underscore
1231<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339478">339478</a>
1232[1.7][compiler] support for diamond case
Stephan Herrmann44109d32011-08-02 14:34:26 +00001233<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343476">343476</a>
1234[1.7][assist] propose String variables and fields inside catch expression
1235<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=292087">292087</a>
1236anonymous class in array member initializer confuses content assist
1237<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343475">343475</a>
1238[1.7] Compiler warning for invalid type inside switch needs to be improved
Stephan Herrmann44109d32011-08-02 14:34:26 +00001239<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342416">342416</a>
1240[1.7] Signature#createIntersectionTypeSignature(..) should take array of signatures
1241<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340059">340059</a>
1242[1.7] IAE when dealing with Signature of disjunctive type
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001243<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338789">338789</a>
Stephan Herrmann44109d32011-08-02 14:34:26 +00001244[1.7][assist] No proposal inside a multi catch statement after '|'
1245<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=341333">341333</a>
1246[1.7][compiler] DisjunctiveTypeReference#resolveType(..) does not set the value for DisjunctiveTypeReference$resolvedType
1247<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340634">340634</a>
1248[1.7][compiler][multicatch] Compiler accepts type variables as catch parameter type
Stephan Herrmann44109d32011-08-02 14:34:26 +00001249<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340626">340626</a>
1250[1.7][compiler] Inconsistent source pinpointing in multi-catch blocks
1251<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340513">340513</a>
1252[1.7][compiler] Unicode 6.0 characters work at compiler compliance level 1.5 and 1.6
1253<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340445">340445</a>
1254[1.7] ASTRewriteAnalyzer and ASTRewriteFlattener need updates
Stephan Herrmann44109d32011-08-02 14:34:26 +00001255<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340372">340372</a>
1256[1.7] NaiveASTFlattener needs to support the new AST nodes
1257<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340365">340365</a>
1258[1.7] Problems in new APIs (TryStatementWithResources, DisjunctiveType)
1259<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340375">340375</a>
1260[1.7] Merge TryStatementWithResources into TryStatement
Stephan Herrmann44109d32011-08-02 14:34:26 +00001261<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340022">340022</a>
1262[1.7][compiler] Support for precise rethrow
Stephan Herrmann44109d32011-08-02 14:34:26 +00001263<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339837">339837</a>
1264[1.7][compiler] Multicatch syntax not rejected at 1.6-
Stephan Herrmann44109d32011-08-02 14:34:26 +00001265<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339864">339864</a>
1266[1.7] Add recovery in ASTConverter for all new constructs in JLS3 mode
1267<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338402">338402</a>
1268[1.7][compiler][enh] Open issues in try with resources implementation
Stephan Herrmann44109d32011-08-02 14:34:26 +00001269<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337795">337795</a>
1270[1.7][compiler] Missing unchecked warning at varargs method/ctor declaration site
1271<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337802">337802</a>
1272[1.7][compiler] Usage of 0x0ffffffff is being reported as out of range.
Stephan Herrmann44109d32011-08-02 14:34:26 +00001273<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337799">337799</a>
1274[1.7][compiler][varargs] Eclipse fails to report error on incorrect SafeVarargs usage
1275<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337738">337738</a>
1276[1.7][content assist]Test CompletionParserTest#testEA_1 fails
Stephan Herrmann44109d32011-08-02 14:34:26 +00001277<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336782">336782</a>
1278[1.7][recovery]Extra error tokens with invalid unary operator
Stephan Herrmann44109d32011-08-02 14:34:26 +00001279<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336322">336322</a>
1280[1.7][search]CCE while searching for a type reference in multiple catch parameters
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001281
1282<hr>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001283<p>For earlier build notes, also see <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.jdt.core/notes/R36_buildnotes_jdt-core.html">build notes up to Release 3.6</a>.</p>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001284<br>
1285 <p>
1286 <a href="http://validator.w3.org/check?uri=referer"><img
1287 src="http://www.w3.org/Icons/valid-html401"
1288 alt="Valid HTML 4.01 Transitional" height="31" width="88"></a>
1289 </p>
1290</body>
1291</html>
1292