blob: 2a293f8aa81cafe4c99ec513a94b037fb47a05e6 [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 Herrmann66cc2b62010-09-26 15:38:59 +00006 <title>JDT/Core Release Notes 3.7</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 Herrmann66cc2b62010-09-26 15:38:59 +000013 <font size="+3"><b>jdt core - build notes 3.7 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 Herrmannbb25a052011-01-27 11:59:20 +000024 For more information on 3.7 planning, please refer to <a href="http://www.eclipse.org/jdt/core/r3.7/plan.php">JDT/Core release plan</a>,
25 the next <a href="http://www.eclipse.org/jdt/core/r3.7/plan.php#current-milestone">milestone plan</a>,
26 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 Herrmannbb25a052011-01-27 11:59:20 +000028 This present document covers all changes since Release 3.6 (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 Herrmannbb25a052011-01-27 11:59:20 +000030 <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 +000031 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_5_maintenance">R3.5.x</a>,
32 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_4_maintenance">R3.4.x</a>,
33 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_3_maintenance">R3.3.x</a>,
34 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_2_maintenance">R3.2.x</a>,
35 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_1_maintenance">R3.1.x</a>,
36 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_0_maintenance">R3.0.x</a>,
37 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R2_1_maintenance">R2.1.x</a>,
38 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R2_0_1">R2.0.x</a>,
39 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=ECLIPSE_1_0">R1.0.x</a>.
40 </font>
41 </td>
42 </tr>
43</table>
Stephan Herrmann44109d32011-08-02 14:34:26 +000044<a name="v_B72_R37x"></a>
45<hr><h1>
46Eclipse Platform Build Notes<br>
47Java development tools core</h1>
48Eclipse SDK 3.7.1 - July 28, 2011 - 3.7.1
49<br>Project org.eclipse.jdt.core v_B72_R37x
50(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B72">cvs</a>).
51<h2>What's new in this drop</h2>
52<ul>
53<li>Plugin version has been increment to 3.7.1</li>
54</ul>
55
56<h3>Problem Reports Fixed</h3>
57<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353251">353251</a>
58[1.7] merging Java 7 work to R3_7_maintenance branch
59
60<a name="v_B71"></a>
61<hr><h1>
62Eclipse Platform Build Notes<br>
63Java development tools core</h1>
64Eclipse SDK 3.7.1 - July 27, 2011
65<br>Project org.eclipse.jdt.core v_B71
66(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B71">cvs</a>).
67<h2>What's new in this drop</h2>
68
69<h3>Problem Reports Fixed</h3>
70<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351426">351426</a>
71[1.7][code assist] CompletionContext.getExpectedTypesKeys() returns wrong type
72<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353137">353137</a>
73[1.7] Make sure TagBits.AnnotationSafeVarargs and AnnotationPolymorphicSignature are handled everywhere
74<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353093">353093</a>
75IMethod#getAnnotations() doesn't return @SafeVarargs of java.util.Arrays#asList(T...)
76<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352464">352464</a>
77[1.7] Incorrect Javadoc shown for reference of invokeExact
78
79<a name="v_B70"></a>
80<hr><h1>
81Eclipse Platform Build Notes<br>
82Java development tools core</h1>
83Eclipse SDK 3.7.1 - July 21, 2011
84<br>Project org.eclipse.jdt.core v_B70
85(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B70">cvs</a>).
86<h2>What's new in this drop</h2>
87
88<h3>Problem Reports Fixed</h3>
89<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351498">351498</a>
90[model]java.util.ConcurrentModificationException upon startup
91<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352699">352699</a>
92[1.7][compiler] Improve error range for redundant type parameter warning
93
94<a name="v_B69"></a>
95<hr><h1>
96Eclipse Platform Build Notes<br>
97Java development tools core</h1>
98Eclipse SDK 3.7.1 - July 20, 2011
99<br>Project org.eclipse.jdt.core v_B69
100(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B69">cvs</a>).
101<h2>What's new in this drop</h2>
102
103<h3>Problem Reports Fixed</h3>
104<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352665">352665</a>
105[1.6][compiler] Internal compiler Error: ArrayIndexOutOfBoundsException when compiling certain classes with outer access error
106<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352553">352553</a>
107[1.7] 'char a\u200b' is being accepted in 1.6 mode
108<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352496">352496</a>
109tests using wrong version of JCL
110<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=300576">300576</a>
111NPE Computing type hierarchy when compliance doesn't match libraries
112<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352145">352145</a>
113[1.7][compiler] VerifyError with aload0 being involved into ConditionalExpression
114
115
116<a name="v_B68"></a>
117<hr><h1>
118Eclipse Platform Build Notes<br>
119Java development tools core</h1>
120Eclipse SDK 3.7.1 - July 14, 2011
121<br>Project org.eclipse.jdt.core v_B68
122(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B68">cvs</a>).
123<h2>What's new in this drop</h2>
124<ul>
125<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):
126<pre>
127/**
128 * Returns whether it is safe to use the '<>' (diamond) operator in place of explicitly specifying
129 * type arguments for this proposal.
130 *
131 * This is only relevant for source level 1.7 or greater.
132 *
133 * @param coreContext the completion context associated with the proposal
134 * @since 3.7
135 * @return <code>true</code> if it is safe to use the diamond operator for the constructor invocation,
136 * <code>false</code> otherwise. Also returns <code>false</code> for source levels below 1.7
137 */
138public boolean canUseDiamond(CompletionContext coreContext);
139</pre>
140</li>
141</ul>
142
143<h3>Problem Reports Fixed</h3>
144<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351965">351965</a>
145[1.7] CCE when using diamond in 1.4
146<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351444">351444</a>
147[1.7][content assist] Need to know whether I can use diamond
148<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352014">352014</a>
149\u1369 no longer accepted as a valid java identifier part
150<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351653">351653</a>
151[1.7][compiler]: VerifyError in try statement with finally and return statements
152
153<a name="v_B67"></a>
154<hr><h1>
155Eclipse Platform Build Notes<br>
156Java development tools core</h1>
157Eclipse SDK 3.7 - July 13, 2011
158<br>Project org.eclipse.jdt.core v_B67
159(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B67">cvs</a>).
160<h2>What's new in this drop</h2>
161<ul>
162<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_REDUNDANT_TYPE_ARGUMENTS added to raise warning or error for redundant
163usage 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>):
164<pre>
165 /**
166 * Compiler option ID: Reporting redundant specification of type arguments in class instance creation expressions.
167 * When enabled, the compiler will issue an error or a warning if type arguments are used in a class instance creation,
168 * when the '<>' operator can be used instead.
169 *
170 * This option only has an effect if the compiler compliance is 1.7 or greater.
171 *
172 * Option id:<code>"org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments"</code>
173 * Possible values:<code>{ "error", "warning", "ignore" }</code>
174 * Default:<code>"ignore"</code>
175 *
176 * @since 3.7
177 * @category CompilerOptionID
178 */
179 public static final String COMPILER_PB_REDUNDANT_TYPE_ARGUMENTS = PLUGIN_ID + ".compiler.problem.redundantSpecificationOfTypeArguments";
180 </pre>
181</li>
182<li>Added a new API in ClassInstanceCreation to tell whether the resolved type is inferred from the assignment context:
183<br>(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350897">350897</a> for details):
184<pre>
185 /**
186 * Returns <code>true</code> if the resolved class type has been inferred
187 * from the assignment context (JLS4 15.12.2.8), <code>false</code> otherwise.
188 *
189 * This information is available only when bindings are requested when the AST is being built.
190 *
191 * @return <code>true</code> if the resolved class type has been inferred
192 * from the assignment context (JLS3 15.12.2.8), <code>false</code> otherwise
193 * @since 3.7
194 */
195 public boolean isResolvedTypeInferredFromExpectedType();
196</pre>
197</li>
198</ul>
199<h3>Problem Reports Fixed</h3>
200<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340747">340747</a>
201[1.7][compiler] compiler option to warn when diamond can be used, but type args are used instead.
202<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350895">350895</a>
203[1.7][formatter] New option to wrap before/after '|' in multi-catch
204<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350652">350652</a>
205[1.7][assist] Completion issues with multicatch (FUP of 343637)
206<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350095">350095</a>
207The 2000th (0-based) enum constant is null
208<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347503">347503</a>
209[DOM] ASTParser.setEnvironment() ignores includeRunningVMBootclasspath parameter
210<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350897">350897</a>
211[1.7][api] ClassInstanceCreation#isResolvedTypeInferredFromExpectedType()
212<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351170">351170</a>
213[1.7] ASTRewrite issues in Try with resources
214<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348493">348493</a>
215[1.7] Improve error msg for Diamond operator in 1.5 mode
216
217<a name="v_B66"></a>
218<hr><h1>
219Eclipse Platform Build Notes<br>
220Java development tools core</h1>
221Eclipse SDK 3.7 - July 5, 2011
222<br>Project org.eclipse.jdt.core v_B66
223(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B66">cvs</a>).
224<h2>What's new in this drop</h2>
225
226<h3>Problem Reports Fixed</h3>
227<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350885">350885</a>
228[Search] The pull up refactoring throws an NPE when pulling up a member that already exists in the superclass
229<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350611">350611</a>
230[1.7] Inconsistent error msg and error location for illegal diamond
231<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350579">350579</a>
232[1.7][compiler] VerifyError running example from bug 338402 comment 5
233<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350767">350767</a>
234[1.7][assist] CCE while invoking assist on a multi-catch block
235
236<a name="v_B65"></a>
237<hr><h1>
238Eclipse Platform Build Notes<br>
239Java development tools core</h1>
240Eclipse SDK 3.7 - June 30, 2011
241<br>Project org.eclipse.jdt.core v_B65
242(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B65">cvs</a>).
243<h2>What's new in this drop</h2>
244
245<h3>Problem Reports Fixed</h3>
246<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349312">349312</a>
247[1.7][compiler] improved problem messages
248<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350003">350003</a>
249[1.7] [compiler] AnnotationPolymorphicSignature tag is not being set to invokeExact while compiling MethodHandle source file
250<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350496">350496</a>
251[1.7] @PolymorphicSignature IMethods are missing the annotation
252<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349314">349314</a>
253[1.7][formatter] Line wrapping for multi-catch arguments
254<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350039">350039</a>
255[1.7] ASTParser#createASTs(..) doesn't resolve IMethodBinding for @PolymorphicSignature method reference
256<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349396">349396</a>
257[1.7][formatter] Line wrapping and indentation options for try with resources
258<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350361">350361</a>
259[1.7] Unhandled exception type Exception
260
261<a name="v_B64"></a>
262<hr><h1>
263Eclipse Platform Build Notes<br>
264Java development tools core</h1>
265Eclipse SDK 3.7 - June 23, 2011
266<br>Project org.eclipse.jdt.core v_B64
267(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B64">cvs</a>).
268<h2>What's new in this drop</h2>
269
270<h3>Problem Reports Fixed</h3>
271<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349488">349488</a>
272[1.7] IMethodBinding#getMethodDeclaration() should return the declaration of @PolymorphicSignature methods
273<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349487">349487</a>
274[1.7] IMethodBinding#getJavaElement() returns inexistent element for @PolymorphicSignature methods
275<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349862">349862</a>
276[1.7] NPE when trying to use UnionType as TryStatement resource
277<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349864">349864</a>
278[1.7][compiler] Error message considers AutoCloseable as class
279
280<a name="v_B63"></a>
281<hr><h1>
282Eclipse Platform Build Notes<br>
283Java development tools core</h1>
284Eclipse SDK 3.7 - June 17, 2011
285<br>Project org.eclipse.jdt.core v_B63
286(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B63">cvs</a>).
287<h2>What's new in this drop</h2>
288
289<h3>Problem Reports Fixed</h3>
290<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348956">348956</a>
291[1.7] ITypeBinding#isAssignmentCompatible(ITypeBinding) returns different result
292<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349312">349312</a>
293[1.7][compiler] improved problem messages
294<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349008">349008</a>
295[1.7] Ugly formatting for try with resources
296<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349072">349072</a>
297[1.7] &quot;Cannot infer elided type(s)&quot; sounds too elite
298<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348705">348705</a>
299[1.7][compiler] Improve error message for unhandled IOException generated due to compiler-generated close()
300
301<a name="v_B62"></a>
302<hr><h1>
303Eclipse Platform Build Notes<br>
304Java development tools core</h1>
305Eclipse SDK 3.7 - June 7, 2011
306<br>Project org.eclipse.jdt.core v_B62
307(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B62">cvs</a>).
308<h2>What's new in this drop</h2>
309
310<h3>Problem Reports Fixed</h3>
311<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348050">348050</a>
312[1.7] Error in JDT Core during AST creation
313<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348406">348406</a>
314[1.7] Incorrect error msg on try with resources in 1.5 mode
315<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348492">348492</a>
316[1.7] Improve error msg on strings in switch in 1.5 mode
317<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348491">348491</a>
318[1.7] Rename IProblem.IllegalBinaryLiteral to BinaryLiteralNotBelow17 and IProblem.IllegalUsageOfUnderscore to UnderscoreInLiteralsNotBelow17
319<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348369">348369</a>
320[1.7] Missing error &quot;No exception of type Exception[] can be thrown&quot;
321<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348379">348379</a>
322[1.7][compiler] Null pointer access warning for strings in switch
323<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346415">346415</a>
324[1.7][assist] No proposal inside catch statement from 3rd catch block onwards
325<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346454">346454</a>
326[1.7][content assist]Getting NegativeArraySizeException while trying content assist after diamond
327<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347600">347600</a>
328[1.7][compiler] Suspect bounds check failure after inference.
329<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347746">347746</a>
330[1.7][compiler] Bounds check failure during method inference
331<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=283353">283353</a>
332[1.5][compiler] Eclipse compiler shows error on javac-valid construct: Bound mismatch
333<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347145">347145</a>
334[1.7][compiler] Bounds check issue with raw types in method inference
335<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347426">347426</a>
336[1.7][compiler] ecj behavior differs from javac
337<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=344522">344522</a>
338[1.7] Incorrect source range for ParameterizedType in case of Diamond
339<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=341795">341795</a>
340[1.7][compiler] Cannot assign a generic method with multiple bounds return value to any variable
341<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=242159">242159</a>
342[1.7][compiler] type inference with unbounded wildcard in result type
343<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343693">343693</a>
344[1.7] Adjust subclasses of AllocationExpression for &lt;&gt; support
345<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343637">343637</a>
346[1.7] Already used exception offered again in a Mulicatch block
347<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345968">345968</a>
348[1.7][compiler] NPE while using diamond for inner class allocation
349<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334313">334313</a>
350[1.5][compiler] Bug in the way eclipse handles overriding of generic abstract method by a non-abstract method
351
Stephan Herrmanncf6af8e2011-05-28 16:17:17 +0000352<a name="v_B61"></a>
353<hr><h1>
354Eclipse Platform Build Notes<br>
355Java development tools core</h1>
Stephan Herrmann44109d32011-08-02 14:34:26 +0000356Eclipse SDK 3.7 - June 7, 2011
Stephan Herrmanncf6af8e2011-05-28 16:17:17 +0000357<br>Project org.eclipse.jdt.core v_B61
358(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B61">cvs</a>).
359<h2>What's new in this drop</h2>
360<ul>
361<li>Update batch compiler version to refer to 3.7.0 and not 3.7.0 RC2</li>
362</ul>
363<h3>Problem Reports Fixed</h3>
364
Stephan Herrmann398062d2011-05-21 17:19:00 +0000365<a name="v_B60"></a>
366<hr><h1>
367Eclipse Platform Build Notes<br>
368Java development tools core</h1>
Stephan Herrmann44109d32011-08-02 14:34:26 +0000369Eclipse SDK 3.7RC2 - May 19, 2011
Stephan Herrmann398062d2011-05-21 17:19:00 +0000370<br>Project org.eclipse.jdt.core v_B60
371(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B60">cvs</a>).
372<h2>What's new in this drop</h2>
373
374<h3>Problem Reports Fixed</h3>
375<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346002">346002</a>
376Import of User Library with invalid path hoses User Library Dialog -- can not fix
377<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340181">340181</a>
378Formatter from the command line breaks
Stephan Herrmann44109d32011-08-02 14:34:26 +0000379<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346029">346029</a>
380[1.7][compiler] Eclipse compiles code rejected by JDK7
381<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345628">345628</a>
382[1.7] Rename disjunctive type to union type
383<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345559">345559</a>
384[1.7][compiler] Type inference for generic allocation can be avoided for invalid constructor
385<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342819">342819</a>
386Code rejected by javac with name clash error compiles under eclipse.
387<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334306">334306</a>
388[1.7][compiler] name clash reported in javac 1.7 and not in javac 1.6
389<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345579">345579</a>
390[1.7][compiler] Weird error message in rethrow site
Stephan Herrmann398062d2011-05-21 17:19:00 +0000391
Stephan Herrmann4ea615c2011-05-14 13:27:24 +0000392<a name="v_B59"></a>
393<hr><h1>
394Eclipse Platform Build Notes<br>
395Java development tools core</h1>
396Eclipse SDK 3.7RC1 - May 12, 2011 - 3.7.0 RC1
397<br>Project org.eclipse.jdt.core v_B59
398(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B59">cvs</a>).
399<h2>What's new in this drop</h2>
400
401<h3>Problem Reports Fixed</h3>
402<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345569">345569</a>
403FUP of bug 345334: CodeSnippetTest has lot of failures
Stephan Herrmann44109d32011-08-02 14:34:26 +0000404<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345522">345522</a>
405[1.7][compiler] Compilers fails to compute precisely rethrown types
Stephan Herrmann4ea615c2011-05-14 13:27:24 +0000406
407<a name="v_B58"></a>
408<hr><h1>
409Eclipse Platform Build Notes<br>
410Java development tools core</h1>
411Eclipse SDK 3.7RC1 - May 11, 2011
412<br>Project org.eclipse.jdt.core v_B58
413(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B58">cvs</a>).
414<h2>What's new in this drop</h2>
415
416<h3>Problem Reports Fixed</h3>
417<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345334">345334</a>
418CodeSnippet's run method is missing @Override annotation
Stephan Herrmann44109d32011-08-02 14:34:26 +0000419<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=344824">344824</a>
420[1.7][compiler] Incorrect error range for unreachable catch block error in multi-catch
421<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340486">340486</a>
422[1.7][compiler] Missing error in multi catch scenario
423<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345359">345359</a>
424[1.7][compiler] AIOOB on diamond construct with argument error
425<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345239">345239</a>
426[1.7][compiler] Compiler should issue better diagnostics for use of &lt;&gt; with anonymous classes
Stephan Herrmann4ea615c2011-05-14 13:27:24 +0000427
428<a name="v_B57"></a>
429<hr><h1>
430Eclipse Platform Build Notes<br>
431Java development tools core</h1>
432Eclipse SDK 3.7RC1 - May 10, 2011
433<br>Project org.eclipse.jdt.core v_B57
434(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B57">cvs</a>).
435<h2>What's new in this drop</h2>
436
437<h3>Problem Reports Fixed</h3>
438<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336451">336451</a>
439&quot;Content Assist&quot; does not complete normally on certain types
440<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324987">324987</a>
441[formatter] API compatibility problem with Annotation Newline options
Stephan Herrmann44109d32011-08-02 14:34:26 +0000442<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=344655">344655</a>
443[1.7][compiler] Prohibit use of &lt;&gt; with explicit type arguments to generic constructor
Stephan Herrmann4ea615c2011-05-14 13:27:24 +0000444
445<a name="v_B56"></a>
446<hr><h1>
447Eclipse Platform Build Notes<br>
448Java development tools core</h1>
449Eclipse SDK 3.7RC1 - May 6, 2011
450<br>Project org.eclipse.jdt.core v_B56
451(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B56">cvs</a>).
452<h2>What's new in this drop</h2>
453<ul>
454<li>Reverting fix for bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336648">336648</a></li>
455</ul>
456
457<h3>Problem Reports Fixed</h3>
Stephan Herrmann44109d32011-08-02 14:34:26 +0000458<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328575">328575</a>
459Inheritance of annotation fails with generic classes
Stephan Herrmann4ea615c2011-05-14 13:27:24 +0000460
461<a name="v_B55"></a>
462<hr><h1>
463Eclipse Platform Build Notes<br>
464Java development tools core</h1>
465Eclipse SDK 3.7RC1 - May 5, 2011
466<br>Project org.eclipse.jdt.core v_B55
467(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B55">cvs</a>).
468<h2>What's new in this drop</h2>
469
470<h3>Problem Reports Fixed</h3>
471<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=90486">90486</a>
472Give more info when a dependency cycle is detected
473<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343865">343865</a>
474[assist] CompletionContext token start and end incorrectly returning 0
475
476<a name="v_B54"></a>
477<hr><h1>
478Eclipse Platform Build Notes<br>
479Java development tools core</h1>
480Eclipse SDK 3.7RC1 - May 4, 2011
481<br>Project org.eclipse.jdt.core v_B54
482(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B54">cvs</a>).
483<h2>What's new in this drop</h2>
484
485<h3>Problem Reports Fixed</h3>
486<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=264301">264301</a>
487AssertionFailedException resolving JavaProject classpath
488
Stephan Herrmanne4589e82011-04-30 12:18:45 +0000489<a name="v_B53"></a>
490<hr><h1>
491Eclipse Platform Build Notes<br>
492Java development tools core</h1>
493Eclipse SDK 3.7M7 - April 27, 2011 - 3.7.0 M7
494<br>Project org.eclipse.jdt.core v_B53
495(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B53">cvs</a>).
496<h2>What's new in this drop</h2>
497<ul>
498<li>Reverting fix for bug 292087: anonymous class in array member initializer confuses content assist</li>
499</ul>
Stephan Herrmann44109d32011-08-02 14:34:26 +0000500
Stephan Herrmanne4589e82011-04-30 12:18:45 +0000501<h3>Problem Reports Fixed</h3>
502
503<a name="v_B52"></a>
504<hr><h1>
505Eclipse Platform Build Notes<br>
506Java development tools core</h1>
507Eclipse SDK 3.7M7 - April 27, 2011
508<br>Project org.eclipse.jdt.core v_B52
509(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B52">cvs</a>).
510<h2>What's new in this drop</h2>
511<ul>
Stephan Herrmann44109d32011-08-02 14:34:26 +0000512<li>Update copyrights</li>
Stephan Herrmanne4589e82011-04-30 12:18:45 +0000513</ul>
514<h3>Problem Reports Fixed</h3>
Stephan Herrmann44109d32011-08-02 14:34:26 +0000515<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343785">343785</a>
516[1.7] Incorrect line numbers in stack trace with try with resources
Stephan Herrmanne4589e82011-04-30 12:18:45 +0000517
Stephan Herrmann29b019c2011-04-26 10:30:44 +0000518<a name="v_B51"></a>
519<hr><h1>
520Eclipse Platform Build Notes<br>
521Java development tools core</h1>
Stephan Herrmanne4589e82011-04-30 12:18:45 +0000522Eclipse SDK 3.7M7 - April 25, 2011
Stephan Herrmann29b019c2011-04-26 10:30:44 +0000523<br>Project org.eclipse.jdt.core v_B51
524(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B51">cvs</a>).
525<h2>What's new in this drop</h2>
526
527<h3>Problem Reports Fixed</h3>
528<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339226">339226</a>
529Document assumptions about DefaultBindingResolver.newAstToOldAst
530<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343713">343713</a>
531[compiler] bogus line number in constructor of inner class in 1.5 compliance
Stephan Herrmann44109d32011-08-02 14:34:26 +0000532<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343687">343687</a>
533[1.7] IAE in NumberLiteral#setToken(String) for binary tokens and tokens with underscore
534<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339478">339478</a>
535[1.7][compiler] support for diamond case
Stephan Herrmann29b019c2011-04-26 10:30:44 +0000536
537<a name="v_B50"></a>
538<hr><h1>
539Eclipse Platform Build Notes<br>
540Java development tools core</h1>
541Eclipse SDK 3.7M7 - April 21, 2011
542<br>Project org.eclipse.jdt.core v_B50
543(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B50">cvs</a>).
544<h2>What's new in this drop</h2>
545
546<h3>Problem Reports Fixed</h3>
547<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343607">343607</a>
548[APT] Improve output for javax.annotation.processing.Messager problems
Stephan Herrmann44109d32011-08-02 14:34:26 +0000549<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343476">343476</a>
550[1.7][assist] propose String variables and fields inside catch expression
551<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=292087">292087</a>
552anonymous class in array member initializer confuses content assist
553<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343475">343475</a>
554[1.7] Compiler warning for invalid type inside switch needs to be improved
Stephan Herrmann29b019c2011-04-26 10:30:44 +0000555<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343342">343342</a>
556[assist] Non constant variables, strings and methods are proposed inside case statements
557
558<a name="v_B49"></a>
559<hr><h1>
560Eclipse Platform Build Notes<br>
561Java development tools core</h1>
562Eclipse SDK 3.7M7 - April 21, 2011
563<br>Project org.eclipse.jdt.core v_B49
564(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B49">cvs</a>).
565<h2>What's new in this drop</h2>
566
567<h3>Problem Reports Fixed</h3>
568<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328281">328281</a>
569visibility leaks not detected when analyzing unused field in private class
570<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=335986">335986</a>
571No expected event fired when removing a JAR file from a classpath container
572<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342671">342671</a>
573ClassCastException: org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding cannot be cast to org.eclipse.jdt.internal.compiler.lookup.ArrayBinding
574
575<a name="v_B48"></a>
576<hr><h1>
577Eclipse Platform Build Notes<br>
578Java development tools core</h1>
579Eclipse SDK 3.7M7 - April 19, 2011
580<br>Project org.eclipse.jdt.core v_B48
581(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B48">cvs</a>).
582<h2>What's new in this drop</h2>
583
584<h3>Problem Reports Fixed</h3>
585<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337415">337415</a>
586External folders project is not created
Stephan Herrmann29b019c2011-04-26 10:30:44 +0000587<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342455">342455</a>
588AST swallows stars ('*') at end of {@code} and {@literal} Javadoc fragments
589<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342757">342757</a>
590ArrayIndexOutOfBoundsException in MethodInfoWithParameterAnnotations.getParameterAnnotations when generating method info for an inner class constructor with annotated parameter
591<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340691">340691</a>
592Syntax error leads to ClassCastException in ASTConverter
593<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342671">342671</a>
594ClassCastException: org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding cannot be cast to org.eclipse.jdt.internal.compiler.lookup.ArrayBinding
595
596<a name="v_B47"></a>
597<hr><h1>
598Eclipse Platform Build Notes<br>
599Java development tools core</h1>
Stephan Herrmann44109d32011-08-02 14:34:26 +0000600Eclipse SDK 3.7M7 - April 13, 2011
Stephan Herrmann29b019c2011-04-26 10:30:44 +0000601<br>Project org.eclipse.jdt.core v_B47
602(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B47">cvs</a>).
603<h2>What's new in this drop</h2>
604
605<h3>Problem Reports Fixed</h3>
606<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342300">342300</a>
607[null]Spurious &quot;null pointer access&quot; warning on unboxing
Stephan Herrmann44109d32011-08-02 14:34:26 +0000608<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342416">342416</a>
609[1.7] Signature#createIntersectionTypeSignature(..) should take array of signatures
610<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340059">340059</a>
611[1.7] IAE when dealing with Signature of disjunctive type
Stephan Herrmann29b019c2011-04-26 10:30:44 +0000612<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=341759">341759</a>
613NPE in ITypeBinding#getName() for intersection type
614<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=341499">341499</a>
615[compiler][null] allocate extra bits in all methods of UnconditionalFlowInfo
616<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342054">342054</a>
617ILocalVariable#isParameter() returns true for exception of catch clause
618
619<a name="v_B46"></a>
620<hr><h1>
621Eclipse Platform Build Notes<br>
622Java development tools core</h1>
Stephan Herrmann44109d32011-08-02 14:34:26 +0000623Eclipse SDK 3.7M7 - April 6, 2011
Stephan Herrmann29b019c2011-04-26 10:30:44 +0000624<br>Project org.eclipse.jdt.core v_B46
625(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B46">cvs</a>).
626<h2>What's new in this drop</h2>
627
628<h3>Problem Reports Fixed</h3>
629<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=341475">341475</a>
630Eclipse doesn't show a &quot;never read locally&quot; warning if a private field serialVersionUID exists but the class does not implement Serializable
631<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334493">334493</a>
632[1.7][compiler] Difference in behavior with Javac7
633
634<a name="v_B45"></a>
635<hr><h1>
636Eclipse Platform Build Notes<br>
637Java development tools core</h1>
Stephan Herrmann44109d32011-08-02 14:34:26 +0000638Eclipse SDK 3.7M7 - April 6, 2011
Stephan Herrmann29b019c2011-04-26 10:30:44 +0000639<br>Project org.eclipse.jdt.core v_B45
640(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B45">cvs</a>).
641<h2>What's new in this drop</h2>
642
643<h3>Problem Reports Fixed</h3>
Stephan Herrmann44109d32011-08-02 14:34:26 +0000644<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338789">338789</a>
645[1.7][assist] No proposal inside a multi catch statement after '|'
646<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=341333">341333</a>
647[1.7][compiler] DisjunctiveTypeReference#resolveType(..) does not set the value for DisjunctiveTypeReference$resolvedType
648<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340634">340634</a>
649[1.7][compiler][multicatch] Compiler accepts type variables as catch parameter type
650<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=200827">200827</a>
Stephan Herrmann29b019c2011-04-26 10:30:44 +0000651[spec] IElementChangedListener should mention where to register
Stephan Herrmann44109d32011-08-02 14:34:26 +0000652<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340626">340626</a>
653[1.7][compiler] Inconsistent source pinpointing in multi-catch blocks
654<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340513">340513</a>
655[1.7][compiler] Unicode 6.0 characters work at compiler compliance level 1.5 and 1.6
656<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340445">340445</a>
657[1.7] ASTRewriteAnalyzer and ASTRewriteFlattener need updates
Stephan Herrmann29b019c2011-04-26 10:30:44 +0000658
659<a name="v_B44"></a>
660<hr><h1>
661Eclipse Platform Build Notes<br>
662Java development tools core</h1>
663Eclipse SDK 3.7M7 - March 22, 2011
664<br>Project org.eclipse.jdt.core v_B44
665(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B44">cvs</a>).
666<h2>What's new in this drop</h2>
667
668<h3>Problem Reports Fixed</h3>
669<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339447">339447</a>
670synchronized access modifier retained on clone() bridge
Stephan Herrmann44109d32011-08-02 14:34:26 +0000671<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340372">340372</a>
672[1.7] NaiveASTFlattener needs to support the new AST nodes
673<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340365">340365</a>
674[1.7] Problems in new APIs (TryStatementWithResources, DisjunctiveType)
675<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340375">340375</a>
676[1.7] Merge TryStatementWithResources into TryStatement
Stephan Herrmann29b019c2011-04-26 10:30:44 +0000677<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339891">339891</a>
678NPE when searching for method (with '*' wildcard character)
Stephan Herrmann44109d32011-08-02 14:34:26 +0000679<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340022">340022</a>
680[1.7][compiler] Support for precise rethrow
Stephan Herrmann29b019c2011-04-26 10:30:44 +0000681<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340029">340029</a>
682[1.5][compiler] Enum constructor that throws Exception reports a confusing error message
Stephan Herrmann29b019c2011-04-26 10:30:44 +0000683
684<a name="v_B43"></a>
685<hr><h1>
686Eclipse Platform Build Notes<br>
687Java development tools core</h1>
688Eclipse SDK 3.7M7 - March 15, 2011
689<br>Project org.eclipse.jdt.core v_B43
690(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B43">cvs</a>).
691<h2>What's new in this drop</h2>
692
693<h3>Problem Reports Fixed</h3>
694<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339337">339337</a>
695isLocal() in IType returns true for anonymous types
Stephan Herrmann44109d32011-08-02 14:34:26 +0000696<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339837">339837</a>
697[1.7][compiler] Multicatch syntax not rejected at 1.6-
698<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337962">337962</a>
699COMPILER_PB_UNAVOIDABLE_GENERIC_TYPE_PROBLEMS misses reference to field from supertype
700<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338011">338011</a>
701COMPILER_PB_UNAVOIDABLE_GENERIC_TYPE_PROBLEMS wrongly suppresses constructor parameter type
Stephan Herrmann29b019c2011-04-26 10:30:44 +0000702<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337751">337751</a>
703COMPILER_PB_UNAVOIDABLE_GENERIC_TYPE_PROBLEMS misses references in conditional expression
704<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339870">339870</a>
705[1.7] Bad list of subclasses in Statement AST node
706<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339913">339913</a>
707[compiler] Misleading error message for annotations inside a method body
Stephan Herrmann44109d32011-08-02 14:34:26 +0000708<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339864">339864</a>
709[1.7] Add recovery in ASTConverter for all new constructs in JLS3 mode
710<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338402">338402</a>
711[1.7][compiler][enh] Open issues in try with resources implementation
Stephan Herrmann29b019c2011-04-26 10:30:44 +0000712
Stephan Herrmann0e64ff62011-03-10 18:42:36 +0000713<a name="v_B42"></a>
714<hr><h1>
715Eclipse Platform Build Notes<br>
716Java development tools core</h1>
717Eclipse SDK 3.7M6 - March 9, 2011 - 3.7.0 M6
718<br>Project org.eclipse.jdt.core v_B42
719(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B42">cvs</a>).
720<h2>What's new in this drop</h2>
721
722<h3>Problem Reports Fixed</h3>
723<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339250">339250</a>
724[null] Incorrect redundant null check warning on a String
725
726<a name="v_B41"></a>
727<hr><h1>
728Eclipse Platform Build Notes<br>
729Java development tools core</h1>
730Eclipse SDK 3.7M6 - March 8, 2011
731<br>Project org.eclipse.jdt.core v_B41
732(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B41">cvs</a>).
733<h2>What's new in this drop</h2>
734
735<h3>Problem Reports Fixed</h3>
736<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339139">339139</a>
737[compiler] HEAD contents of org.eclipse.wst.jsdt.core doesn't compile anymore
738<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338649">338649</a>
739[perfs] Regression on FullSourceWorkspaceModelTests#testInitJDTPlugin
740<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339128">339128</a>
741[Doc] Sort statements and expressions inside DOM documentation for both abstract classes org.eclipse.jdt.core.dom.Expressionn and org.eclipse.jdt.core.dom.Statement
742
743<a name="v_B40"></a>
744<hr><h1>
745Eclipse Platform Build Notes<br>
746Java development tools core</h1>
747Eclipse SDK 3.7M6 - March 6, 2011
748<br>Project org.eclipse.jdt.core v_B40
749(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B40">cvs</a>).
750<h2>What's new in this drop</h2>
751
752<h3>Problem Reports Fixed</h3>
753<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=326950">326950</a>
754[compiler][null]Do not optimize code generation based on static analysis (dead code)
755<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324178">324178</a>
756[null] ConditionalExpression.nullStatus(..) doesn't take into account the analysis of condition itself
757<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338006">338006</a>
758IJavaProject#getPackageFragmentRoots() should return roots in order
759<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338234">338234</a>
760[compiler] Missing warning for uninitialized variable in dead code
761<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336428">336428</a>
762[compiler][null] bogus warning &quot;redundant null check&quot; in condition of do {} while() loop
763
Stephan Herrmann3db42762011-03-03 19:17:16 +0000764<a name="v_B39"></a>
765<hr><h1>
766Eclipse Platform Build Notes<br>
767Java development tools core</h1>
Stephan Herrmann0e64ff62011-03-10 18:42:36 +0000768Eclipse SDK 3.7M6 - March 1, 2011
Stephan Herrmann3db42762011-03-03 19:17:16 +0000769<br>Project org.eclipse.jdt.core v_B39
770(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B39">cvs</a>).
771<h2>What's new in this drop</h2>
772<ul>
773<li>Added new constant on org.eclipse.jdt.core.IJavaProject to provide the value of the classpath file path. See details in bug
774<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=241598">241598</a>.
775</li>
776</ul>
777
778<h3>Problem Reports Fixed</h3>
779<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338118">338118</a>
780[compiler] CastExpression type should be changed to be a type reference and not an expression
781<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=171019">171019</a>
782[javadoc][select] F3 on {@inheritDoc} tag should navigate to target javadoc
783<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=222188">222188</a>
784[javadoc] Incorrect usage of inner type not reported
785<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338303">338303</a>
786[compiler][null] Warning about Redundant assignment conflicts with definite assignment analysis
787<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337868">337868</a>
788[compiler][model] incomplete support for package-info.java when using SearchableEnvironment
789<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337964">337964</a>
790[DOM] code that would definitely cause NPE if executed
791<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=241598">241598</a>
792[API] Constant needed for .classpath
Stephan Herrmann44109d32011-08-02 14:34:26 +0000793<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337795">337795</a>
794[1.7][compiler] Missing unchecked warning at varargs method/ctor declaration site
795<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337802">337802</a>
796[1.7][compiler] Usage of 0x0ffffffff is being reported as out of range.
Stephan Herrmann3db42762011-03-03 19:17:16 +0000797
Stephan Herrmanna1bf6562011-03-01 21:59:07 +0000798<a name="v_B38"></a>
799<hr><h1>
800Eclipse Platform Build Notes<br>
801Java development tools core</h1>
Stephan Herrmann3db42762011-03-03 19:17:16 +0000802Eclipse SDK 3.7M6 - February 22, 2011
Stephan Herrmanna1bf6562011-03-01 21:59:07 +0000803<br>Project org.eclipse.jdt.core v_B38
804(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B38">cvs</a>).
805<h2>What's new in this drop</h2>
806<ul>
807<li>Added a new API to ease the retrieval of method parameter's annotations (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334783">334783</a> for details):
808<pre>
809/**
810 * Returns the parameters of this method.
811 * An empty array is returned, if the method has no parameters.
812 * For binary types, associated source is used to retrieve the name range,
813 * source range and the flags.
814 * These local variables can be used to retrieve the parameter annotations.
815 *
816 * @return the parameters of this method
817 * @throws JavaModelException if this element does not exist or if an
818 * exception occurs while accessing its corresponding resource.
819 * @since 3.7
820 */
821ILocalVariable[] getParameters() throws JavaModelException;
822</pre>
823</li>
824</ul>
Stephan Herrmann44109d32011-08-02 14:34:26 +0000825
Stephan Herrmanna1bf6562011-03-01 21:59:07 +0000826<h3>Problem Reports Fixed</h3>
Stephan Herrmann44109d32011-08-02 14:34:26 +0000827<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337799">337799</a>
828[1.7][compiler][varargs] Eclipse fails to report error on incorrect SafeVarargs usage
829<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337738">337738</a>
830[1.7][content assist]Test CompletionParserTest#testEA_1 fails
831<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334783">334783</a>
Stephan Herrmanna1bf6562011-03-01 21:59:07 +0000832[API] Add new API to ease the retrieval of the parameter annotations for an IMethod
833<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336046">336046</a>
834Source attachment not recovered when importing Projects
Stephan Herrmann44109d32011-08-02 14:34:26 +0000835<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336782">336782</a>
836[1.7][recovery]Extra error tokens with invalid unary operator
Stephan Herrmanna1bf6562011-03-01 21:59:07 +0000837<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313870">313870</a>
838Wrong warnings on Java.Compiler.Errors/Warnings &quot;Redundant null check&quot;
839<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337275">337275</a>
840Incorrect/outdated javadoc for org.eclipse.jdt.core.dom.Expression
841<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337093">337093</a>
842[compiler][generics] Javac-warning on vararg missing in Eclipse
Stephan Herrmanna1bf6562011-03-01 21:59:07 +0000843<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336934">336934</a>
844[compiler] NPE in Scope.getTypeOrPackage
845
846<a name="v_B37"></a>
847<hr><h1>
848Eclipse Platform Build Notes<br>
849Java development tools core</h1>
850Eclipse SDK 3.7M6 - February 15, 2011
851<br>Project org.eclipse.jdt.core v_B37
852(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B37">cvs</a>).
853<h2>What's new in this drop</h2>
854<ul>
855<li>Adding a new token "javadoc" for @suppressWarnings to remove all warnings related to javadoc.</li>
856</ul>
857
858<h3>Problem Reports Fixed</h3>
859<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=335751">335751</a>
860[1.7][compiler] Cycle inheritance in type arguments is not detected
861<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=335309">335309</a>
862[formatter] FUP of bug 332843: add regression test
863<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334622">334622</a>
864Eclipse compiler allows access to private fields for typed variables
865<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=274737">274737</a>
866Relative Classpath entries should not be resolved relative to the workspace
867<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=179566">179566</a>
868[compiler] Support of @SuppressWarnings for JavaDoc Warnings
869<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336821">336821</a>
870Javadoc reference to constructor does not work without parameter list
871<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331138">331138</a>
872ASTRewrite#replace(..) does not consider the TargetSourceRangeComputer
873
874<a name="v_B36"></a>
875<hr><h1>
876Eclipse Platform Build Notes<br>
877Java development tools core</h1>
Stephan Herrmann44109d32011-08-02 14:34:26 +0000878Eclipse SDK 3.7M6 - February 11, 2011
Stephan Herrmanna1bf6562011-03-01 21:59:07 +0000879<br>Project org.eclipse.jdt.core v_B36
880(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B36">cvs</a>).
881<h2>What's new in this drop</h2>
882<ul>
883<li>All JDT/Core projects (tests included) have been set to force strict compatibility between the JRE used for the project
884and the BREE defined for the project.</li>
885</ul>
886
887<h3>Problem Reports Fixed</h3>
888<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336544">336544</a>
889[regression][compiler] Source flagged as dead code incorrectly.
890<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=189459">189459</a>
891[1.6][compiler] Doc comment support should not be systematically activated while processing annotations
892<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332838">332838</a>
893Bogus potential null pointer access warning (regression; works with 3.6)
894<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334377">334377</a>
895[1.5][compiler] Invalid 'type mismatch' error in conditional expression (if-else construct behaves correct)
Stephan Herrmann44109d32011-08-02 14:34:26 +0000896<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336322">336322</a>
897[1.7][search]CCE while searching for a type reference in multiple catch parameters
Stephan Herrmanna1bf6562011-03-01 21:59:07 +0000898<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=335780">335780</a>
899Compiler says a method can be potentially static but this method contains 'this'
900<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=310747">310747</a>
901[content assist] Irrelevant proposals while completing inside array initializer.
902<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=335845">335845</a>
903[compiler] compiler wrongly suggests to add a static qualifier to a method
904<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=335602">335602</a>
905[search] Java indexing thread can index data outside of workspace
906
Stephan Herrmannbb25a052011-01-27 11:59:20 +0000907<a name="v_B35"></a>
908<hr><h1>
909Eclipse Platform Build Notes<br>
910Java development tools core</h1>
911Eclipse SDK 3.7M5 - January 25, 2011 - 3.7.0 M5
912<br>Project org.eclipse.jdt.core v_B35
913(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B35">cvs</a>).
914<h2>What's new in this drop</h2>
915
916<h3>Problem Reports Fixed</h3>
917<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324189">324189</a>
918 [search] Method declaration search returns false results (suffix match on type name)
919<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327143">327143</a>
920IndexManager should not accept new jobs if the processing thread is null
921
922<a name="v_B34"></a>
923<hr><h1>
924Eclipse Platform Build Notes<br>
925Java development tools core</h1>
926Eclipse SDK 3.7M5 - January 24, 2011
927<br>Project org.eclipse.jdt.core v_B34
928(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B34">cvs</a>).
929<h2>What's new in this drop</h2>
930<ul>
931<li>New code formatter option to preserve existing white space between code and line comments.
932<br>See details in bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=282988">282988</a>:
933<pre>
934 /**
935 * FORMATTER / Option to control whether the white space between code and line comments should be preserved or replaced with a single space
936 * - option id: "org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments"
937 * - possible values: { TRUE, FALSE }
938 * - default: FALSE
939 *
940 * @see #TRUE
941 * @see #FALSE
942 * @since 3.7
943 */
944 public final static String FORMATTER_COMMENT_PRESERVE_WHITE_SPACE_BETWEEN_CODE_AND_LINE_COMMENT = "org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments";
945</pre>
946</li>
947</ul>
948<h3>Problem Reports Fixed</h3>
949<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=335093">335093</a>
950[compiler][null] minimal hook for future null annotation support
951<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334119">334119</a>
952AIOOBE in BindingKeyParser.parseInnerType (was: Copy Qualified Name throws ArrayIndexOutOfBoundsException)
953<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=282988">282988</a>
954[formatter] Option to align single-line comments in a column
955<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334652">334652</a>
956Javadoc content not found for non-static inner class constructors
957<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=136091">136091</a>
958Cannot access Javadoc location over http
959<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=333089">333089</a>
960[compiler][null]AIOOBE while assigning variable a potentially null value in try/finally
961
962<a name="v_B33"></a>
963<hr><h1>
964Eclipse Platform Build Notes<br>
965Java development tools core</h1>
966Eclipse SDK 3.7M5 - January 18, 2011
967<br>Project org.eclipse.jdt.core v_B33
968(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B33">cvs</a>).
969<h2>What's new in this drop</h2>
970
971<h3>Problem Reports Fixed</h3>
972<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325418">325418</a>
973[search] Search for method declarations returns spurious potential matches for anonymous classes
974<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332744">332744</a>
975Generated model code doesn't compile with J2SE-1.4 execution environment
976<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334315">334315</a>
977[compiler] Problem types with missing superclass or superinterfaces should use Object for missing types
978<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=333956">333956</a>
979CompilerOptions#warningOptionNames(): OPTION_ReportRawTypeReference missing
980
981<a name="v_B32"></a>
982<hr><h1>
983Eclipse Platform Build Notes<br>
984Java development tools core</h1>
985Eclipse SDK 3.7M5 - January 11, 2011
986<br>Project org.eclipse.jdt.core v_B32
987(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B32">cvs</a>).
988<h2>What's new in this drop</h2>
989
990<h3>Problem Reports Fixed</h3>
991<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327654">327654</a>
992FUP of bug 317264: Refactoring is not possible if the commons-lang.jar is in the path
993<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=333710">333710</a>
994[DOM] wrong JavaElement for recovered ITypeBinding
995<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=333669">333669</a>
996[DOM] Incorrect signature for type arguments in test case from bug 333360
997<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=333360">333360</a>
998[DOM] eclipse fails to create array binding in this situation
999<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332423">332423</a>
1000[1.5][compiler] ClassCastException when compiling against scala-libary.jar
1001<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332268">332268</a>
1002[assist] Allow proposals for static fields in initializers of fields being declared textually in advance
1003<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331334">331334</a>
1004[1.5][compiler] &quot;The code for the static initializer is exceeding the 65535 bytes limit&quot; in enum
1005<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=333487">333487</a>
1006[formatter] Incorrectly ordered method arguments in Scribe
1007<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332843">332843</a>
1008[formatter] format save action fails with SIOOBE
1009
1010<a name="v_B31"></a>
1011<hr><h1>
1012Eclipse Platform Build Notes<br>
1013Java development tools core</h1>
1014Eclipse SDK 3.7M5 - January 4, 2011
1015<br>Project org.eclipse.jdt.core v_B31
1016(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B31">cvs</a>).
1017<h2>What's new in this drop</h2>
1018
1019<h3>Problem Reports Fixed</h3>
1020<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317039">317039</a>
1021[formatter] Code Formatter fails on inner class source indentation
1022<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330313">330313</a>
1023[formatter] 'Never join already wrapped lines' formatter option does correctly indent
1024<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329227">329227</a>
1025Usage of broken quicksort algorithm in jdt.internal.compiler.util.Util
1026<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332359">332359</a>
1027org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding should return number of fields directly
1028<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332818">332818</a>
1029[formatter] Java formatter, Blank Lines tab, only 1st line indented when multiple lines is set
1030<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332877">332877</a>
1031[formatter] line comment wrongly put on a new line
1032
1033<a name="v_B30"></a>
1034<hr><h1>
1035Eclipse Platform Build Notes<br>
1036Java development tools core</h1>
1037Eclipse SDK 3.7M5 - December 21, 2010
1038<br>Project org.eclipse.jdt.core v_B30
1039(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B30">cvs</a>).
1040<h2>What's new in this drop</h2>
1041<ul>
1042<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_MISSING_STATIC_ON_METHOD added to raise warning or error for a method
1043 which qualifies to be declared as <code>static</code>, but not been declared as one.(see details in bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322581">318682</a>):
1044<pre>
1045 /**
1046 * Compiler option ID: Reporting a method that qualifies as static, but not declared static.
1047 * When enabled, the compiler will issue an error or a warning if a method has
1048 * not been declared as <code>static</code>, even though it qualifies as one.
1049 *
1050 * Option id:<code>"org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic"</code>
1051 * Possible values:<code>{ "error", "warning", "ignore" }</code>
1052 * Default:<code>"ignore"</code>
1053 *
1054 * @since 3.7
1055 * @category CompilerOptionID
1056 */
1057 public static final String COMPILER_PB_MISSING_STATIC_ON_METHOD = PLUGIN_ID + ".compiler.problem.reportMethodCanBeStatic";
1058 </pre>
1059</li>
1060<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_POTENTIALLY_MISSING_STATIC_ON_METHOD added to raise warning or error for a method
1061 which may qualify to be declared as <code>static</code> when another method doesn't override it,
1062 but not been declared as one.(see details in bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322581">318682</a>):
1063<pre>
1064 /**
1065 * Compiler option ID: Reporting a method that may qualify as static, but not declared static.
1066 * When enabled, the compiler will issue an error or a warning if a method has
1067 * not been declared as <code>static</code>, even though it may qualify as one,
1068 * when another method doesn't override it.
1069 *
1070 * Option id:<code>"org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic"</code>
1071 * Possible values:<code>{ "error", "warning", "ignore" }</code>
1072 * Default:<code>"ignore"</code>
1073 *
1074 * @since 3.7
1075 * @category CompilerOptionID
1076 */
1077 public static final String COMPILER_PB_POTENTIALLY_MISSING_STATIC_ON_METHOD = PLUGIN_ID + ".compiler.problem.reportMethodCanBePotentiallyStatic";
1078</pre>
1079</li>
1080<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_UNAVOIDABLE_GENERIC_TYPE_PROBLEMS added to give the user control over whether forced and unavoidable generic type problems should be reported by the compiler or not (see details in <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322817">bug 322817</a>):
1081<pre>
1082 /**
1083 * Compiler option ID: Reporting of Unavoidable Generic Type Problems.
1084 * When enabled, the compiler will issue an error or warning even when it detects a generic type problem
1085 * that could not have been avoided by the programmer. As an example, a type may be forced to use raw types
1086 * in its method signatures and return types because the methods it overrides from a super type are declared to
1087 * use raw types in the first place.
1088 *
1089 * Option id:<code>"org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems"</code>
1090 * Possible values:<code>{ "enabled", "disabled" }</code>
1091 * Default:<code>"enabled"</code>
1092 *
1093 * @since 3.7
1094 * @category CompilerOptionID
1095 */
1096 public static final String COMPILER_PB_UNAVOIDABLE_GENERIC_TYPE_PROBLEMS = PLUGIN_ID + ".compiler.problem.unavoidableGenericTypeProblems";
1097</pre>
1098</li>
1099</ul>
1100
1101<h3>Problem Reports Fixed</h3>
1102<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327471">327471</a>
1103java.io.EOFException at java.io.DataInputStream.readInt(Unknown Source)
1104<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332619">332619</a>
1105Small error in IType#codeComplete Javadoc example
1106<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=318682">318682</a>
1107Enhancement request: Warning if no fields are used and the method is still not static
1108<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322817">322817</a>
1109Compiler option to ignore unavoidable type safety problems due to raw APIs
1110<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332451">332451</a>
1111Javadoc cleanup in SearchEngine#createJavaSearchScope(IJavaElement[], int)
1112<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332637">332637</a>
1113Dead Code detection removing code that isn't dead
1114
1115<a name="v_B29"></a>
1116<hr><h1>
1117Eclipse Platform Build Notes<br>
1118Java development tools core</h1>
1119Eclipse SDK 3.7M5 - December 14, 2010
1120<br>Project org.eclipse.jdt.core v_B29
1121(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B29">cvs</a>).
1122<h2>What's new in this drop</h2>
1123
1124<h3>Problem Reports Fixed</h3>
1125<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331736">331736</a>
1126[dom] tests should check for malformed nodes - may catch a parser bug
1127
Stephan Herrmannd3c1c6a2010-12-11 19:33:00 +00001128<a name="v_B28"></a>
1129<hr><h1>
1130Eclipse Platform Build Notes<br>
1131Java development tools core</h1>
1132Eclipse SDK 3.7M4 - December 6, 2010 - 3.7.0 M4
1133<br>Project org.eclipse.jdt.core v_B28
1134(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B28">cvs</a>).
1135<h2>What's new in this drop</h2>
1136
1137<h3>Problem Reports Fixed</h3>
1138<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331872">331872</a>
1139[compiler] NPE in Scope.createArrayType when attempting qualified access from type parameter
1140<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331770">331770</a>
1141org.eclipse.jdt.core.tests.model.JavaSearchBugsTests.testBug323514a() is failing in N20101202-2000
1142<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331632">331632</a>
1143FUP of 323514: Add performance tracking test for scenario
1144
1145<a name="v_B27"></a>
1146<hr><h1>
1147Eclipse Platform Build Notes<br>
1148Java development tools core</h1>
1149Eclipse SDK 3.7M4 - December 4, 2010 - 3.7.0 M4
1150<br>Project org.eclipse.jdt.core v_B27
1151(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B27">cvs</a>).
1152<h2>What's new in this drop</h2>
1153
1154<h3>Problem Reports Fixed</h3>
1155<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324367">324367</a>
1156IJavaProject.findPackageFragmentRoots(IClasspathEntry cpe) returns empty list
1157<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327899">327899</a>
1158include the Ant compiler adapter in ecj JAR
1159<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331446">331446</a>
1160[1.4/1.5] Unexpected ambiguous error for 1.4 project
1161<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323514">323514</a>
1162[indexing] The Java Indexer is taking longer to run in eclipse 3.6 when opening projects
1163<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329671">329671</a>
1164Regression: arg0,1,2... parameter names are cached
1165<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=305172">305172</a>
1166[common navigator] Project Explorer not fully updating with jar classpath container changes.
1167
1168<a name="v_B26"></a>
1169<hr><h1>
1170Eclipse Platform Build Notes<br>
1171Java development tools core</h1>
1172Eclipse SDK 3.7M4 - November 30, 2010
1173<br>Project org.eclipse.jdt.core v_B26
1174(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B26">cvs</a>).
1175<h2>What's new in this drop</h2>
1176
1177<h3>Problem Reports Fixed</h3>
1178<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331271">331271</a>
1179[assist] Reconsider assumption to filter not yet declared fields from being proposed
1180<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329663">329663</a>
1181[type hierarchy] Interfaces duplicated in type hierarchy on two packages from multiple projects
1182<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328362">328362</a>
1183[formatter] Format regions does not format as expected
1184<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331120">331120</a>
1185Improvements to Signature API
1186<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=299384">299384</a>
1187codeSelect does not find declaration of constructor with generic parameter type when referenced from 1.4 code
1188<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329822">329822</a>
1189[1.7][compiler] Stackoverflow error if compiled in 1.7 compliance mode
1190<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330869">330869</a>
1191Bogus error reported for Incompatible operand types Class&lt;capture#2-of ? extends T&gt; and Class&lt;Bug.Bar&gt;
1192<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330845">330845</a>
1193[Model] Possible bug in Member class
1194
1195<a name="v_B25"></a>
1196<hr><h1>
1197Eclipse Platform Build Notes<br>
1198Java development tools core</h1>
1199Eclipse SDK 3.7M4 - November 23, 2010
1200<br>Project org.eclipse.jdt.core v_B25
1201(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B25">cvs</a>).
1202<h2>What's new in this drop</h2>
1203<ul>
1204<li> Added a new API in org.eclipse.jdt.core.compiler.CharOperation to find if a given character array starts with a given prefix, at the given index. (see details in bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329288">329288</a>):
1205<pre>
1206 /**
1207 * Answers true if the given name, starting from the given index, starts with the given prefix,
1208 * false otherwise. isCaseSensitive is used to find out whether or not the comparison should be
1209 * case sensitive.
1210 *
1211 *
1212 * For example:
1213 *
1214 * 1. prefix = { 'a' , 'B' }
1215 * name = { 'c', 'd', 'a' , 'b', 'b', 'a', 'b', 'a' }
1216 * startIndex = 2
1217 * isCaseSensitive = false
1218 * result => true
1219 *
1220 * 2. prefix = { 'a' , 'B' }
1221 * name = { 'c', 'd', 'a' , 'b', 'b', 'a', 'b', 'a' }
1222 * startIndex = 2
1223 * isCaseSensitive = true
1224 * result => false
1225 *
1226 *
1227 * @param prefix the given prefix
1228 * @param name the given name
1229 * @param isCaseSensitive to find out whether or not the comparison should be case sensitive
1230 * @param startIndex index from which the prefix should be searched in the name
1231 * @return true if the given name starts with the given prefix, false otherwise
1232 * @throws NullPointerException if the given name is null or if the given prefix is null
1233 * @since 3.7
1234 */
1235 public static final boolean prefixEquals(char[] prefix, char[] name, boolean isCaseSensitive, int startIndex)
1236</pre>
1237</li>
1238</ul>
1239
1240<h3>Problem Reports Fixed</h3>
1241<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325481">325481</a>
1242[assist] fields declared after a particular field are proposed in its initialization
1243<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329727">329727</a>
1244Invalid check in the isConstructor() method of the IMethod implementation.
1245<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329288">329288</a>
1246Fetching parameter names literally hangs on a class with a lot of methods
1247<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330435">330435</a>
1248[1.4][1.5][compiler] Wrong handling of parameterized methods in 1.4 mode with generified JDK
1249<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330445">330445</a>
1250[1.4][1.5][compiler] Properties doesn't match Map&lt;String, String&gt; in 1.4 compliance mode
1251<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330347">330347</a>
1252[1.4][1.5][compiler] The performance test FullSourceWorkspaceBuildTests#testFullBuildDefault() fails
1253<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329156">329156</a>
1254[compiler][APT] Source generated in last round not compiled
1255
1256<a name="v_B24"></a>
1257<hr><h1>
1258Eclipse Platform Build Notes<br>
1259Java development tools core</h1>
1260Eclipse SDK 3.7M4 - November 16, 2010
1261<br>Project org.eclipse.jdt.core v_B24
1262(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B24">cvs</a>).
1263<h2>What's new in this drop</h2>
1264
1265<h3>Problem Reports Fixed</h3>
1266<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329998">329998</a>
1267[content assist] override method proposal in anonymous class inserts bad stub
1268<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330081">330081</a>
1269[compiler] ArrayIndexOutOfBoundsException when Switched from C/C++ Perspective to Java Perspective
1270<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328519">328519</a>
1271[compiler] local variable cannot be optimized out despite warning &quot;not used&quot;
1272<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329709">329709</a>
1273[formatter] Formatter fails to format enum with extra semicolon and body
1274
1275<a name="v_B23"></a>
1276<hr><h1>
1277Eclipse Platform Build Notes<br>
1278Java development tools core</h1>
1279Eclipse SDK 3.7M4 - November 9, 2010
1280<br>Project org.eclipse.jdt.core v_B23
1281(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B23">cvs</a>).
1282<h2>What's new in this drop</h2>
1283
1284<h3>Problem Reports Fixed</h3>
1285<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329593">329593</a>
1286[1.4/1.5] [compiler] incorrect error about incompatible operand
1287<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329588">329588</a>
1288[1.4/1.5][compiler] Class cast issue with java.lang.Class and the 1.4/1.5 mixed mode
1289<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329584">329584</a>
1290[1.4/1.5][compiler] Compiler is confused about name clashes in 1.4 project
1291<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328674">328674</a>
1292[assist] local being declared proposed inside its initialization
1293<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329344">329344</a>
1294[compiler] Batch compiler should not removed some duplicated entries on the classpath
1295<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186565">186565</a>
1296[1.5][compiler] 1.4/1.5 .class file interaction
1297<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328689">328689</a>
1298[1.4][compiler] &quot;Incompatible conditional operand types Class and Class&quot;
1299<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328775">328775</a>
1300[compiler] Compiler fails to warn about invalid cast when using J2SE 1.4 compiler settings
1301<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328827">328827</a>
1302Compiler fails to recognize a Map when using J2SE 1.4 compiler settings
1303<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324850">324850</a>
1304Compile error claims method is missing but is inherited
1305<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328969">328969</a>
1306[DOM] NPE retrieving a java element for an annotation binding
1307
Stephan Herrmanne880bb62010-11-06 15:10:25 +00001308<a name="v_B22"></a>
1309<hr><h1>
1310Eclipse Platform Build Notes<br>
1311Java development tools core</h1>
1312Eclipse SDK 3.7M3 - October 28, 2010 - 3.7.0 M3
1313<br>Project org.eclipse.jdt.core v_B22
1314(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B22">cvs</a>).
1315<h2>What's new in this drop</h2>
1316This build input simply reverts the change made for bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324850">324850</a>.
1317
1318<h3>Problem Reports Fixed</h3>
1319
1320<a name="v_B21"></a>
1321<hr><h1>
1322Eclipse Platform Build Notes<br>
1323Java development tools core</h1>
1324Eclipse SDK 3.7M3 - October 27, 2010
1325<br>Project org.eclipse.jdt.core v_B21
1326(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B21">cvs</a>).
1327<h2>What's new in this drop</h2>
1328
1329<h3>Problem Reports Fixed</h3>
1330<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328786">328786</a>
1331[search] NPE in field match locator
1332<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328744">328744</a>
1333Removed warnings related to fix for 185682
1334<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=229042">229042</a>
1335[buildpath] could create build path error in case of invalid external JAR format
1336
1337<a name="v_B20"></a>
1338<hr><h1>
1339Eclipse Platform Build Notes<br>
1340Java development tools core</h1>
1341Eclipse SDK 3.7M3 - October 25, 2010
1342<br>Project org.eclipse.jdt.core v_B20
1343(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B20">cvs</a>).
1344<h2>What's new in this drop</h2>
1345
1346<h3>Problem Reports Fixed</h3>
1347<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=282152">282152</a>
1348[1.5][compiler] Generics code rejected by Eclipse but accepted by javac
1349<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328240">328240</a>
1350org.eclipse.text.edits.MalformedTreeException: Overlapping text edits
1351
1352<a name="v_B19"></a>
1353<hr><h1>
1354Eclipse Platform Build Notes<br>
1355Java development tools core</h1>
1356Eclipse SDK 3.7M3 - October 24, 2010
1357<br>Project org.eclipse.jdt.core v_B19
1358(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B19">cvs</a>).
1359<h2>What's new in this drop</h2>
1360
1361<h3>Problem Reports Fixed</h3>
1362<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=185682">185682</a>
1363Increment/decrement operators mark local variables as read
1364<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328400">328400</a>
1365TextEdit computed incorrectly for inserting annotation before package declaration
1366<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=303511">303511</a>
1367Allow to specify encoding for source attachments
1368<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=326354">326354</a>
1369[3.6][compiler][regression] Compiler in 3.6 and 3.6.1 generates bad code
1370<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328361">328361</a>
1371[1.4][compiler] variable initialized within an assert expression are no longer reported as potential non initialized
1372<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328247">328247</a>
1373Disassemble fails to disassemble synthetic constructor with varargs arguments
1374<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328115">328115</a>
1375[DOM] All ASTNode APIs should specify types of property descriptors
1376
Stephan Herrmann016c4262010-10-20 22:02:18 +00001377<a name="v_B18"></a>
1378<hr><h1>
1379Eclipse Platform Build Notes<br>
1380Java development tools core</h1>
Stephan Herrmanne880bb62010-11-06 15:10:25 +00001381Eclipse SDK 3.7M3 - October 19, 2010
Stephan Herrmann016c4262010-10-20 22:02:18 +00001382<br>Project org.eclipse.jdt.core v_B18
1383(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B18">cvs</a>).
1384<h2>What's new in this drop</h2>
1385
1386<h3>Problem Reports Fixed</h3>
1387<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327429">327429</a>
1388Use Charset.name() instead of Charset.toString() to get the encoding
1389<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327817">327817</a>
1390ecjsrc.zip should be ecjsrc.jar
1391
1392<a name="v_B17"></a>
1393<hr><h1>
1394Eclipse Platform Build Notes<br>
1395Java development tools core</h1>
1396Eclipse SDK 3.7M3 - October 12, 2010
1397<br>Project org.eclipse.jdt.core v_B17
1398(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B17">cvs</a>).
1399<h2>What's new in this drop</h2>
1400<ul>
1401<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_MISSING_JAVADOC_TAGS_METHOD_TYPE_PARAMETERS added to enable or disable the missing Javadoc tag warning or error for a method
1402 paramater without a corresponding <code>@param</code> tag. (see details in bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322581">322581</a>):
1403<pre>
1404 /**
1405 * Compiler option ID: Reporting Missing Javadoc Tags for Method Type Parameters.
1406 * Specify whether a missing <code>@param</code> for a type parameter in a method declaration should be reported.
1407 * When enabled, the compiler will issue a missing Javadoc tag error or warning for a type parameter without a
1408 * corresponding <code>@param</code> tag.
1409 *
1410 * This option only has an effect if the compiler compliance is 1.5 or greater.
1411 *
1412 * Option id:<code>"org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters"</code>
1413 * Possible values:<code>{ "enabled", "disabled" }</code>
1414 * Default:<code>"disabled"</code>
1415 *
1416 * @since 3.7
1417 * @category CompilerOptionID
1418 */
1419 public static final String COMPILER_PB_MISSING_JAVADOC_TAGS_METHOD_TYPE_PARAMETERS = PLUGIN_ID + ".compiler.problem.missingJavadocTagsMethodTypeParameters";
1420</pre>
1421</li>
1422<li>Added new API on org.eclipse.jdt.core.dom.rewrite.ASTRewrite to store properties (See bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325131">325131</a>).
1423<pre>
1424 /**
1425 * Returns the value of the named property of this rewrite, or null if none.
1426 *
1427 * @param propertyName the property name
1428 * @return the property value, or <code>null</code> if none
1429 * @see #setProperty(String,Object)
1430 * @throws IllegalArgumentException if the given property name is null
1431 * @since 3.7
1432 */
1433 public final Object getProperty(String propertyName);
1434</pre>
1435<pre>
1436 /**
1437 * Sets the named property of this rewrite to the given value,
1438 * or to null to clear it.
1439 *
1440 * Clients should employ property names that are sufficiently unique
1441 * to avoid inadvertent conflicts with other clients that might also be
1442 * setting properties on the same rewrite.
1443 *
1444 *
1445 * Note that modifying a property is not considered a modification to the
1446 * AST itself. This is to allow clients to decorate existing rewrites with
1447 * their own properties without jeopardizing certain things (like the
1448 * validity of bindings), which rely on the underlying tree remaining static.
1449 *
1450 *
1451 * @param propertyName the property name
1452 * @param data the new property value, or null if none
1453 * @see #getProperty(String)
1454 * @throws IllegalArgumentException if the given property name is null
1455 * @since 3.7
1456 */
1457 public final void setProperty(String propertyName, Object data);
1458</pre>
1459</li>
1460</ul>
1461
1462<h3>Problem Reports Fixed</h3>
1463<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324367">324367</a>
1464IJavaProject.findPackageFragmentRoots(IClasspathEntry cpe) returns empty list
1465<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=311022">311022</a>
1466NPE in InternalExtendedCompletionContext.getVisibleElement
1467<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325131">325131</a>
1468ASTRewrite should offer get/setProperty() like ASTNode
1469<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322789">322789</a>
1470package-info.java Won't Build On First Compile Pass
1471<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322581">322581</a>
1472[5.0] Add Javadoc compiler option to (not) report missing tags for method type parameters
1473
1474<a name="v_B16"></a>
1475<hr><h1>
1476Eclipse Platform Build Notes<br>
1477Java development tools core</h1>
1478Eclipse SDK 3.7M3 - October 5, 2010 - 3.7.0 M3
1479<br>Project org.eclipse.jdt.core v_B16
1480(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B16">cvs</a>).
1481<h2>What's new in this drop</h2>
1482<ul>
Stephan Herrmannbb25a052011-01-27 11:59:20 +00001483<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_INCLUDE_ASSERTS_IN_NULL_ANALYSIS added to give the user flexibility to see null related warning arising because of assert statements (see details in <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325342">bug 325342</a>):
Stephan Herrmann016c4262010-10-20 22:02:18 +00001484<pre>
1485 /**
1486 * Compiler option ID: Raise null related errors or warnings arising because of assert statements.
1487 * When enabled, the compiler will flag all null related errors or warnings that have been enabled by the user,
1488 * irrespective of whether a variable occurred in an assert statement.
1489 * When disabled, the compiler will not flag null related errors or warnings on variables that got marked as maybe or definitely
1490 * <code>null</code> in an assert statement upstream.
1491 *
1492 * Option id:<code>"org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts"</code>
1493 * Possible values:<code>{ "enabled", "disabled" }</code>
1494 * Default:<code>"disabled"</code>
1495 *
1496 * @since 3.7
1497 * @category CompilerOptionID
1498 */
1499 public static final String COMPILER_PB_INCLUDE_ASSERTS_IN_NULL_ANALYSIS = PLUGIN_ID + ".compiler.problem.includeNullInfoFromAsserts";
1500</pre>
1501</li>
1502</ul>
1503
1504<h3>Problem Reports Fixed</h3>
1505<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323012">323012</a>
1506[jsr14][compiler] Class literal value is not cached when target is jsr14
1507<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325342">325342</a>
1508Add new option for null analysis based on assert result.
1509
1510<a name="v_B15"></a>
1511<hr><h1>
1512Eclipse Platform Build Notes<br>
1513Java development tools core</h1>
1514Eclipse SDK 3.7M3 - September 28, 2010
1515<br>Project org.eclipse.jdt.core v_B15
1516(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B15">cvs</a>).
1517<h2>What's new in this drop</h2>
1518
1519<h3>Problem Reports Fixed</h3>
1520<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=312603">312603</a>
1521[content assist] field being declared is proposed as a method argument inside initialization
1522<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325342">325342</a>
1523Add new option for null analysis based on assert result.
1524<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325481">325481</a>
1525[assist] fields declared after a particular field are proposed in its initialization
1526<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325633">325633</a>
15271.4 project confused when referencing a return type of generic array from 1.5 project
1528
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001529<a name="v_B14a"></a>
Stephan Herrmanne042d002010-06-05 13:49:29 +00001530<hr><h1>
1531Eclipse Platform Build Notes<br>
1532Java development tools core</h1>
Stephan Herrmann016c4262010-10-20 22:02:18 +00001533Eclipse SDK 3.7M3 - September 21, 2010
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001534<br>Project org.eclipse.jdt.core v_B14a
1535(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B14a">cvs</a>).
Stephan Herrmanne042d002010-06-05 13:49:29 +00001536<h2>What's new in this drop</h2>
1537
1538<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001539<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325567">325567</a>
1540A blocking &quot;java.lang.IllegalArgumentException: info cannot be null&quot; exception
Stephan Herrmanne042d002010-06-05 13:49:29 +00001541
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001542<a name="v_B13a"></a>
Stephan Herrmanne042d002010-06-05 13:49:29 +00001543<hr><h1>
1544Eclipse Platform Build Notes<br>
1545Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001546Eclipse SDK 3.7M2 - September 21, 2010 - 3.7.0 M2
1547<br>Project org.eclipse.jdt.core v_B13a
1548(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B13a">cvs</a>).
1549<h2>What's new in this drop</h2>
1550
1551<h3>Problem Reports Fixed</h3>
1552<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325755">325755</a>
1553[compiler] wrong initialization state after conditional expression
1554
1555<a name="v_B13"></a>
1556<hr><h1>
1557Eclipse Platform Build Notes<br>
1558Java development tools core</h1>
1559Eclipse SDK 3.7M2 - September 15, 2010
1560<br>Project org.eclipse.jdt.core v_B13
1561(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B13">cvs</a>).
1562<h2>What's new in this drop</h2>
1563
1564<h3>Problem Reports Fixed</h3>
1565<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325229">325229</a>
1566[compiler] eclipse compiler differs from javac when assert is present (FUP of bug 319510)
1567<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325270">325270</a>
1568[content assist] Parameter names are not displayed for static inner class of an external jar
1569<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325321">325321</a>
1570[compiler] Synthetic constructors for non-static inner classes can exceed 255 parameters -&gt; ClassFormatError
1571
1572<a name="v_B12a"></a>
1573<hr><h1>
1574Eclipse Platform Build Notes<br>
1575Java development tools core</h1>
1576Eclipse SDK 3.7M2 - September 13, 2010
1577<br>Project org.eclipse.jdt.core v_B12a
1578(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B12a">cvs</a>).
1579<h2>What's new in this drop</h2>
1580
1581<h3>Problem Reports Fixed</h3>
1582<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324840">324840</a>
1583[compiler] Improving debug strings for Break statement, IntLiteral and CaseStatement
1584<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324848">324848</a>
1585[1.6][compiler] NullPointerException when trying to synchronize on non-existing outer class instance
1586
1587<a name="v_B11"></a>
1588<hr><h1>
1589Eclipse Platform Build Notes<br>
1590Java development tools core</h1>
1591Eclipse SDK 3.7M2 - September 9, 2010 - 3.7.0 M2
1592<br>Project org.eclipse.jdt.core v_B11
1593(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B11">cvs</a>).
Stephan Herrmanne042d002010-06-05 13:49:29 +00001594<h2>What's new in this drop</h2>
1595<ul>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001596<li>Adding missing API methods on org.eclipse.jdt.core.ILocalVariable (see details in <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=48420">bug 48420</a>):
Stephan Herrmann8f4b3212010-05-22 16:38:56 +00001597<pre>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001598 /**
1599 * Returns true if this local variable is a method parameter, false otherwise.
1600 *
1601 * @return true if this local variable is a method parameter, false otherwise
1602 * @since 3.7
1603 */
1604 boolean isParameter();
Stephan Herrmann8f4b3212010-05-22 16:38:56 +00001605
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001606 /**
1607 * Returns the modifier flags for this local variable. The flags can be examined using class.
1608 *
1609 * Note that only flags as indicated in the source are returned.
1610 *
1611 * @return the modifier flags for this local variable
1612 * @see Flags
1613 * @since 3.7
1614 */
1615 int getFlags();
Stephan Herrmann8f4b3212010-05-22 16:38:56 +00001616
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001617 /**
1618 * Returns the declaring member of this local variable.
1619 *
1620 * This is a handle-only method.
1621 *
1622 * @return the declaring member of this local variable
1623 * @since 3.7
1624 */
1625 IMember getDeclaringMember();
Stephan Herrmann99004722010-05-17 20:32:50 +00001626
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001627 /**
1628 * Returns the Java type root in which this local variable is declared.
1629 *
1630 * This is a handle-only method.
1631 *
1632 * @return the Java type root in which this local variable is declared
1633 * @since 3.7
1634 */
1635 ITypeRoot getTypeRoot();
Stephan Herrmanne5d6be82010-04-02 03:29:32 +00001636</pre>
1637</li>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001638<li>Adding missing API method on org.eclipse.jdt.core.ITypeParameter (see details in <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=48420">bug 48420</a>):
Stephan Herrmanne5d6be82010-04-02 03:29:32 +00001639<pre>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001640 /**
1641 * Returns the Java type root in which this type parameter is declared.
1642 *
1643 * This is a handle-only method.
1644 *
1645 * @return the Java type root in which this type parameter is declared
1646 * @since 3.7
1647 */
1648 ITypeRoot getTypeRoot();
Stephan Herrmanne5d6be82010-04-02 03:29:32 +00001649</pre>
1650</li>
1651</ul>
1652
1653<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001654<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324762">324762</a>
1655Compiler thinks there is deadcode and removes it!
1656<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=292478">292478</a>
1657Report potentially null across variable assignment
1658<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324748">324748</a>
1659JDT core tests have restrictive range on com.ibm.icu
1660<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323633">323633</a>
1661[1.5][compiler] Reconciler issues mixing 1.4 projects with &amp; 1.5 project with generics.
1662<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317046">317046</a>
1663Exception during debugging when hover mouse over a field
1664<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=48420">48420</a>
1665[API] ILocalVariable and ITypeParameter should provide more methods
1666<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321414">321414</a>
1667Synthetic constructors can exceed 255 parameters -&gt; ClassFormatError
Stephan Herrmanne5d6be82010-04-02 03:29:32 +00001668
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001669<a name="v_B10"></a>
Stephan Herrmanne5d6be82010-04-02 03:29:32 +00001670<hr><h1>
1671Eclipse Platform Build Notes<br>
1672Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001673Eclipse SDK 3.7M2 - September 7, 2010
1674<br>Project org.eclipse.jdt.core v_B10
1675(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B10">cvs</a>).
Stephan Herrmanne5d6be82010-04-02 03:29:32 +00001676<h2>What's new in this drop</h2>
1677<ul>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001678<li>Code formatter: 4 new options were added to better handle the addition of
1679new lines after annotations.
Stephan Herrmanne5d6be82010-04-02 03:29:32 +00001680<pre>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001681 * FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_FIELD
1682 * FORMATTER / Option to insert a new line after an annotation on a field declaration
1683 * - option id: "org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field"
Stephan Herrmanne5d6be82010-04-02 03:29:32 +00001684 * - possible values: { INSERT, DO_NOT_INSERT }
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001685 * - default: INSERT
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001686 *
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001687 * FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_METHOD
1688 * FORMATTER / Option to insert a new line after an annotation on a method declaration
1689 * - option id: "org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method"
1690 * - possible values: { INSERT, DO_NOT_INSERT }
1691 * - default: INSERT
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001692 *
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001693 * FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_PACKAGE
1694 * FORMATTER / Option to insert a new line after an annotation on a package declaration
1695 * - option id: "org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package"
1696 * - possible values: { INSERT, DO_NOT_INSERT }
1697 * - default: INSERT
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001698 *
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001699 * FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_TYPE
1700 * FORMATTER / Option to insert a new line after an annotation on a type declaration
1701 * - option id: "org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type"
1702 * - possible values: { INSERT, DO_NOT_INSERT }
1703 * - default: INSERT
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001704</pre>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001705The addition of new lines after annotations has been discussed in <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=308000">bug 308000</a><br>
1706Also note that previously available code formatter constant FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_MEMBER has been deprecated.<br>
1707All new options must be enabled to activate old strategy.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001708</li>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001709<li>
1710The previously added new APIs:
1711<blockquote>
1712<code>org.eclipse.jdt.core.IImportDeclaration#getNameRange()</code>,<br>
1713<code>org.eclipse.jdt.core.IPackageDeclaration#getNameRange()</code>
1714</blockquote>
1715have been moved to the org.eclipse.jdt.core.ISourceReference interface. See bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321764">321764</a> for details:
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001716<pre>
1717/**
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001718 * Returns the name range associated with this element.
1719 *
1720 * If the element is an IMember, it returns
1721 * the source range of this member's simple name,
1722 * or null if this member does not have a name
1723 * (for example, an initializer), or if this member does not have
1724 * associated source code (for example, a binary type).
1725 *
1726 * If this element is an IImportDeclaration, the source range
1727 * of this import declaration's name, or null if this import
1728 * declaration does not have associated source code (for example, a binary type).
1729 * The source range for the name includes the trailing '*' if the call to
1730 * IImportDeclaration#isOnDemand() returns true.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001731 *
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001732 * If this element is an IPackageDeclaration, the source range of
1733 * this package declaration's name, or null if this package
1734 * declaration does not have associated source code (for example, a binary type).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001735 *
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001736 * If this element is an IAnnotation, the source range of
1737 * this annotation's name, or null if this annotation does not have
1738 * associated source code (for example, in a binary type).
1739 *
1740 * If this element is an ITypeParameter, the source range of this
1741 * type parameter's name, or null if this type parameter does not have
1742 * associated source code (for example, in a binary type).
1743 *
1744 * If this element is an ITypeRoot or IImportContainer, it
1745 * returns null.
1746 *
1747 * @return the name range associated with this element, or null if
1748 * not available
1749 *
1750 * @since 3.7
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001751 */
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001752ISourceRange getNameRange() throws JavaModelException;
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001753</pre>
1754</li>
1755</ul>
1756
1757<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001758<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322979">322979</a>
1759[search] use of IJavaSearchConstants.IMPLEMENTORS yields surprising results
1760<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316937">316937</a>
1761JavaElement.getElementInfo(..) throws JavaModelException when trying to get info for an inner class in an external jar
1762<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322531">322531</a>
1763[1.5][Generics] eclipse compiles code rejected by javac with incomparable types error.
1764<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=308000">308000</a>
1765[formatter] Formatter is missing options regarding Annotation Newlines
1766<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321276">321276</a>
1767JDT core apis dont recognize InnerClass constructor inside .class files
1768<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=252556">252556</a>
1769[formatter] Spaces removed before formatted region of a compilation unit.
1770<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323785">323785</a>
1771[builder] NPE when adding 'package-info.java' to default package
1772<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321358">321358</a>
1773NPE refreshing external folders
1774<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322596">322596</a>
1775[DOM] ASTNode APIs should specify types of property descriptors
1776<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324109">324109</a>
1777[search] Java search shows incorrect results as accurate matches
1778<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324154">324154</a>
1779NPE in FlowContext while building
1780<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=133125">133125</a>
1781[compiler][null] need to report the null status of expressions and analyze them simultaneously
1782<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321695">321695</a>
1783Test added for bug 319425 doesn't detect the bug
1784<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=258905">258905</a>
1785making java.lang.AssertionError accessible thru resolveWellKnownType method
1786<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321764">321764</a>
1787Add getNameRange() to ISourceReference
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001788
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001789<a name="v_B09"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001790<hr><h1>
1791Eclipse Platform Build Notes<br>
1792Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001793Eclipse SDK 3.7M2 - August 31, 2010 - 3.7.0 M2
1794<br>Project org.eclipse.jdt.core v_B09
1795(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B09">cvs</a>).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001796<h2>What's new in this drop</h2>
1797
1798<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001799<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=311578">311578</a>
1800[formatter] Enable/disable tag detection should include comment start/end tokens
1801<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320618">320618</a>
1802inconsistent initialization of classpath container backed by external class folder
1803<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323693">323693</a>
1804[1.5][compiler] Compiler fails to diagnose name clash
1805<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323558">323558</a>
1806Tests test0307a and test0307e under BatchCompilerTest failing
1807<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=308402">308402</a>
1808[index] PatternSearchJob ignores participant index entries
1809<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317264">317264</a>
1810[search] Refactoring is impossible with commons.lang added to project
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001811
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001812<a name="v_B08"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001813<hr><h1>
1814Eclipse Platform Build Notes<br>
1815Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001816Eclipse SDK 3.7M1 - August 24, 2010
1817<br>Project org.eclipse.jdt.core v_B08
1818(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B08">cvs</a>).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001819<h2>What's new in this drop</h2>
1820
1821<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001822<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321926">321926</a>
1823Erroneously deems null check conditional branch to be dead code, and produces incorrect bytecode
1824<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320170">320170</a>
1825[compiler] [null] Whitebox issues in null analysis
1826<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=305259">305259</a>
1827Strange error when referencing code produced with jsr14 target
1828<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321115">321115</a>
1829Compiler is not case sensitive with package names
1830<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=310427">310427</a>
1831[content assist] FUP of 236306: Variable proposed before definition.
1832<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320911">320911</a>
1833Not all redundant superinterface problems reported
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001834
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001835<a name="v_B07"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001836<hr><h1>
1837Eclipse Platform Build Notes<br>
1838Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001839Eclipse SDK 3.7M1 - August 17, 2010
1840<br>Project org.eclipse.jdt.core v_B07
1841(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B07">cvs</a>).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001842<h2>What's new in this drop</h2>
1843
1844<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001845<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319201">319201</a>
1846[null] no warning when unboxing SingleNameReference causes NPE
1847<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322154">322154</a>
1848Compiler bug that does not occur in Galileo 3.5.2
1849<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320754">320754</a>
1850[formatter] formatter:off/on tags does not work correctly
1851<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322001">322001</a>
1852[1.5][compiler] Name Clash error occurs
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001853
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001854<a name="v_B06"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001855<hr><h1>
1856Eclipse Platform Build Notes<br>
1857Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001858Eclipse SDK 3.7M1 - August 10, 2010
1859<br>Project org.eclipse.jdt.core v_B06
1860(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B06">cvs</a>).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001861<h2>What's new in this drop</h2>
1862
1863<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001864<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320167">320167</a>
1865Auto-Activation works only once
1866<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320809">320809</a>
1867ArrayIndexOutOfBoundsException in IndexManager.writeSavedIndexNamesFile - concurrency issue?
1868<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321085">321085</a>
1869Enhanced for loops need to implement type safety checks on array initializers
1870<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319626">319626</a>
1871Preferences-&gt;Java Compiler-&gt; Errors/Warnings -&gt; Undocumented Empty Block
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001872
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001873<a name="v_B05"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001874<hr><h1>
1875Eclipse Platform Build Notes<br>
1876Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001877Eclipse SDK 3.7M1 - July 30, 2010 - 3.7.0 M1
1878<br>Project org.eclipse.jdt.core v_B05
1879(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B05">cvs</a>).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001880<h2>What's new in this drop</h2>
1881<ul>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001882<li>
1883New API added to be able to retrieve the name range for <code>org.eclipse.jdt.core.IImportDeclaration</code>:
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001884<pre>
1885/**
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001886 * Returns the source range of this import declaration's name,
1887 * or null if this import declaration does not have
1888 * associated source code (for example, a binary type).
1889 *
1890 * The source range for the name includes the trailing '*' if the call to
1891 * isOnDemand() returns true.
1892 *
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001893 *
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001894 * @exception JavaModelException if this element does not exist or if an
1895 * exception occurs while accessing its corresponding resource.
1896 * @return the source range of this import declaration's name,
1897 * or null if this import declaration does not have
1898 * associated source code (for example, a binary type)
1899 * @since 3.7
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001900 */
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001901ISourceRange getNameRange() throws JavaModelException;
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001902</pre>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001903</li>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001904<li>
1905New API added to be able to retrieve the name range for <code>org.eclipse.jdt.core.IPackageDeclaration</code>:
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001906<pre>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001907/**
1908 * Returns the source range of this package declaration's name,
1909 * or null if this package declaration does not have
1910 * associated source code (for example, a binary type).
1911 *
1912 * @exception JavaModelException if this element does not exist or if an
1913 * exception occurs while accessing its corresponding resource.
1914 * @return the source range of this package declaration's name,
1915 * or null if this package declaration does not have
1916 * associated source code (for example, a binary type)
1917 * @since 3.7
1918 */
1919ISourceRange getNameRange() throws JavaModelException;
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001920</pre>
1921</li>
1922</ul>
1923
1924<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001925<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=306524">306524</a>
1926ASTRewriteAnalyzer uses wrong starting offset in case of comments before a node
1927<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=150980">150980</a>
1928[API] Selecting import declaration with space in outline highlights wrong range
1929<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320841">320841</a>
1930TypeConverters don't set enclosingType
1931<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320802">320802</a>
1932ASTParser.createASTs(..) fails silently on multiple missing parameter types.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001933
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001934<a name="v_B04"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001935<hr><h1>
1936Eclipse Platform Build Notes<br>
1937Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001938Eclipse SDK 3.7M1 - July 27, 2010
1939<br>Project org.eclipse.jdt.core v_B04
1940(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B04">cvs</a>).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001941<h2>What's new in this drop</h2>
1942
1943<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001944<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319425">319425</a>
1945[compiler] JDT outputs corrupt .class file for problem type
1946<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319885">319885</a>
1947Spurious 'cycle detected'/'hierarchy inconsistent' errors if a type that WOULD be cyclic is static-imported
1948<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=312076">312076</a>
1949[1.5][compiler] Eclipse compiler behaves differently from javac
1950<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320414">320414</a>
1951Compiler produces incorrect bytecode for null pointer check
1952<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=223225">223225</a>
1953[DOM] IMemberValuePairBinding does not desugar single values into one-element arrays
1954<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319603">319603</a>
1955[1.5][compiler] eclipse fails with 2 generics methods with the same name while javac succeeds
1956<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=318020">318020</a>
1957[compiler] wrong initialization flow info with if (true) throw... pattern in else block
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001958
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001959<a name="v_B03"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001960<hr><h1>
1961Eclipse Platform Build Notes<br>
1962Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001963Eclipse SDK 3.7M1 - July 20, 2010
1964<br>Project org.eclipse.jdt.core v_B03
1965(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B03">cvs</a>).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001966<h2>What's new in this drop</h2>
1967
1968<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001969<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320340">320340</a>
1970Test failures in debug mode
1971<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=307523">307523</a>
1972Differences between patch of bug 210422 and sources
1973<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319900">319900</a>
1974StringLiteral#setLiteralValue needlessly escapes apostrophes (')
1975<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=310264">310264</a>
1976Wrong warning: The assignment to variable has no effect
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001977
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001978<a name="v_B02"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001979<hr><h1>
1980Eclipse Platform Build Notes<br>
1981Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001982Eclipse SDK 3.7M1 - July 13, 2010
1983<br>Project org.eclipse.jdt.core v_B02
1984(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B02">cvs</a>).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001985<h2>What's new in this drop</h2>
1986
1987<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001988<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=314556">314556</a>
1989[1.5][compiler] compiler fails to report attempt to assign weaker access privileges
1990<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316956">316956</a>
1991[compiler] Private superclass and enclosing scope field names incorrectly reported as conflicting
1992<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=151500">151500</a>
1993[assist] Method parameter names are not displayed for inner classes
1994<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=304006">304006</a>
1995[code assist] Autocast after instanceof feature doesnt work in some cases.
1996<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=210419">210419</a>
1997[compiler] Invalid field initializer not flagged as error
1998<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=212713">212713</a>
1999Bad error message for static block inside an interface
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00002000
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00002001<a name="v_B01"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00002002<hr><h1>
2003Eclipse Platform Build Notes<br>
2004Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00002005Eclipse SDK 3.7M1 - July 6, 2010 - 3.7M1
2006<br>Project org.eclipse.jdt.core v_B01
2007(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B01">cvs</a>).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00002008<h2>What's new in this drop</h2>
2009
2010<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00002011<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313153">313153</a>
2012Too many blocked &quot;Refreshing external folders&quot; jobs (FUP of bug 302295)
2013<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316654">316654</a>
2014ITypeHierarchyChangedListener receive spurious callbacks
2015<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317858">317858</a>
2016Eclipse isn't accessing the correct field/class - causes compile error
2017<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=318171">318171</a>
2018fieldHiding-Warning does not appear if classes are in different packages
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00002019
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00002020<a name="v_B00"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00002021<hr><h1>
2022Eclipse Platform Build Notes<br>
2023Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00002024Eclipse SDK 3.7M1 - June 29, 2010
2025<br>Project org.eclipse.jdt.core v_B00
2026(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B00">cvs</a>).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00002027<h2>What's new in this drop</h2>
2028
2029<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00002030<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317841">317841</a>
2031[incremental build] unnecessary 'structural changes' due to annotation parameters
2032<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317468">317468</a>
2033Adding elements to an enum body with trailing comma generates bad code
2034<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313668">313668</a>
2035[search] Call hierarchy doesn't show all calls of the method in workspace
2036<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317972">317972</a>
2037Fix for wrong usages of affect* and effect*
2038<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313651">313651</a>
2039[formatter] format comments (differs between paste and save action)
2040<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316889">316889</a>
2041Internal compiler error: java.lang.NullPointerException with a specific use of recursive generics
2042<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=315978">315978</a>
2043Big regression, eclipse compiles my workspace in 3 mins instead of few seconds
2044<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=315577">315577</a>
2045[formatter] No line break after &lt;br&gt; if followed by {@link when formatting java source file
2046<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=306464">306464</a>
2047NPE in ProblemReporter.missingTypeInMethod(ProblemReporter.java:5113)
2048<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317212">317212</a>
2049[compiler] Illegal permission to invoke the constructor of a member class of an inaccessible type.
2050<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=195346">195346</a>
2051[assist] Array type should be filtered while completing in case of a switch
2052<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=315732">315732</a>
2053[formatter] NullPointerException (always) on inserting a custom template proposal into java code when &quot;Use code formatter&quot; is on
2054<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316456">316456</a>
2055[1.5][compiler] Annotation values can access private class members
2056<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=312989">312989</a>
2057Accepts illegal method-local classes if hidden by generics parameters
2058<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=310423">310423</a>
2059[content assist] After 'implements' annotation types should not be proposed
2060<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=314830">314830</a>
2061[compiler] Switching on a null expression doesn't always throw NullPointerException
2062<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313825">313825</a>
2063Erroneous local variable's problems reported at surrounding ParenthesizedExpression
2064<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=314898">314898</a>
2065Typo in org.eclipse.jdt.core.dom.NameEnviromentWithProgress
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00002066
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00002067
2068<hr>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00002069<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 +00002070<br>
2071 <p>
2072 <a href="http://validator.w3.org/check?uri=referer"><img
2073 src="http://www.w3.org/Icons/valid-html401"
2074 alt="Valid HTML 4.01 Transitional" height="31" width="88"></a>
2075 </p>
2076</body>
2077</html>
2078