blob: cf7c3ea5baef92820b3543cc31945d1f336d3928 [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 Herrmann3db42762011-03-03 19:17:16 +000044<a name="v_B39"></a>
45<hr><h1>
46Eclipse Platform Build Notes<br>
47Java development tools core</h1>
48Eclipse SDK 3.7M6 - March 1, 2011 - 3.7.0 M6
49<br>Project org.eclipse.jdt.core v_B39
50(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B39">cvs</a>).
51<h2>What's new in this drop</h2>
52<ul>
53<li>Added new constant on org.eclipse.jdt.core.IJavaProject to provide the value of the classpath file path. See details in bug
54<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=241598">241598</a>.
55</li>
56</ul>
57
58<h3>Problem Reports Fixed</h3>
59<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338118">338118</a>
60[compiler] CastExpression type should be changed to be a type reference and not an expression
61<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=171019">171019</a>
62[javadoc][select] F3 on {@inheritDoc} tag should navigate to target javadoc
63<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=222188">222188</a>
64[javadoc] Incorrect usage of inner type not reported
65<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338303">338303</a>
66[compiler][null] Warning about Redundant assignment conflicts with definite assignment analysis
67<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337868">337868</a>
68[compiler][model] incomplete support for package-info.java when using SearchableEnvironment
69<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337964">337964</a>
70[DOM] code that would definitely cause NPE if executed
71<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=241598">241598</a>
72[API] Constant needed for .classpath
73
Stephan Herrmanna1bf6562011-03-01 21:59:07 +000074<a name="v_B38"></a>
75<hr><h1>
76Eclipse Platform Build Notes<br>
77Java development tools core</h1>
Stephan Herrmann3db42762011-03-03 19:17:16 +000078Eclipse SDK 3.7M6 - February 22, 2011
Stephan Herrmanna1bf6562011-03-01 21:59:07 +000079<br>Project org.eclipse.jdt.core v_B38
80(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B38">cvs</a>).
81<h2>What's new in this drop</h2>
82<ul>
83<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):
84<pre>
85/**
86 * Returns the parameters of this method.
87 * An empty array is returned, if the method has no parameters.
88 * For binary types, associated source is used to retrieve the name range,
89 * source range and the flags.
90 * These local variables can be used to retrieve the parameter annotations.
91 *
92 * @return the parameters of this method
93 * @throws JavaModelException if this element does not exist or if an
94 * exception occurs while accessing its corresponding resource.
95 * @since 3.7
96 */
97ILocalVariable[] getParameters() throws JavaModelException;
98</pre>
99</li>
100</ul>
101<h3>Problem Reports Fixed</h3>
102<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334783">334783</a>
103[API] Add new API to ease the retrieval of the parameter annotations for an IMethod
104<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336046">336046</a>
105Source attachment not recovered when importing Projects
106<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313870">313870</a>
107Wrong warnings on Java.Compiler.Errors/Warnings &quot;Redundant null check&quot;
108<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337275">337275</a>
109Incorrect/outdated javadoc for org.eclipse.jdt.core.dom.Expression
110<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337093">337093</a>
111[compiler][generics] Javac-warning on vararg missing in Eclipse
112<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336648">336648</a>
113wrong compiler problem &quot;The value of the local variable xxx is not used&quot;
114<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336934">336934</a>
115[compiler] NPE in Scope.getTypeOrPackage
116
117<a name="v_B37"></a>
118<hr><h1>
119Eclipse Platform Build Notes<br>
120Java development tools core</h1>
121Eclipse SDK 3.7M6 - February 15, 2011
122<br>Project org.eclipse.jdt.core v_B37
123(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B37">cvs</a>).
124<h2>What's new in this drop</h2>
125<ul>
126<li>Adding a new token "javadoc" for @suppressWarnings to remove all warnings related to javadoc.</li>
127</ul>
128
129<h3>Problem Reports Fixed</h3>
130<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=335751">335751</a>
131[1.7][compiler] Cycle inheritance in type arguments is not detected
132<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=335309">335309</a>
133[formatter] FUP of bug 332843: add regression test
134<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334622">334622</a>
135Eclipse compiler allows access to private fields for typed variables
136<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=274737">274737</a>
137Relative Classpath entries should not be resolved relative to the workspace
138<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=179566">179566</a>
139[compiler] Support of @SuppressWarnings for JavaDoc Warnings
140<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336821">336821</a>
141Javadoc reference to constructor does not work without parameter list
142<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331138">331138</a>
143ASTRewrite#replace(..) does not consider the TargetSourceRangeComputer
144
145<a name="v_B36"></a>
146<hr><h1>
147Eclipse Platform Build Notes<br>
148Java development tools core</h1>
149Eclipse SDK 3.7M6 - February 8, 2011
150<br>Project org.eclipse.jdt.core v_B36
151(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B36">cvs</a>).
152<h2>What's new in this drop</h2>
153<ul>
154<li>All JDT/Core projects (tests included) have been set to force strict compatibility between the JRE used for the project
155and the BREE defined for the project.</li>
156</ul>
157
158<h3>Problem Reports Fixed</h3>
159<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336544">336544</a>
160[regression][compiler] Source flagged as dead code incorrectly.
161<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=189459">189459</a>
162[1.6][compiler] Doc comment support should not be systematically activated while processing annotations
163<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332838">332838</a>
164Bogus potential null pointer access warning (regression; works with 3.6)
165<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334377">334377</a>
166[1.5][compiler] Invalid 'type mismatch' error in conditional expression (if-else construct behaves correct)
167<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=335780">335780</a>
168Compiler says a method can be potentially static but this method contains 'this'
169<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=310747">310747</a>
170[content assist] Irrelevant proposals while completing inside array initializer.
171<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=335845">335845</a>
172[compiler] compiler wrongly suggests to add a static qualifier to a method
173<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=335602">335602</a>
174[search] Java indexing thread can index data outside of workspace
175
Stephan Herrmannbb25a052011-01-27 11:59:20 +0000176<a name="v_B35"></a>
177<hr><h1>
178Eclipse Platform Build Notes<br>
179Java development tools core</h1>
180Eclipse SDK 3.7M5 - January 25, 2011 - 3.7.0 M5
181<br>Project org.eclipse.jdt.core v_B35
182(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B35">cvs</a>).
183<h2>What's new in this drop</h2>
184
185<h3>Problem Reports Fixed</h3>
186<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324189">324189</a>
187 [search] Method declaration search returns false results (suffix match on type name)
188<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327143">327143</a>
189IndexManager should not accept new jobs if the processing thread is null
190
191<a name="v_B34"></a>
192<hr><h1>
193Eclipse Platform Build Notes<br>
194Java development tools core</h1>
195Eclipse SDK 3.7M5 - January 24, 2011
196<br>Project org.eclipse.jdt.core v_B34
197(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B34">cvs</a>).
198<h2>What's new in this drop</h2>
199<ul>
200<li>New code formatter option to preserve existing white space between code and line comments.
201<br>See details in bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=282988">282988</a>:
202<pre>
203 /**
204 * FORMATTER / Option to control whether the white space between code and line comments should be preserved or replaced with a single space
205 * - option id: "org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments"
206 * - possible values: { TRUE, FALSE }
207 * - default: FALSE
208 *
209 * @see #TRUE
210 * @see #FALSE
211 * @since 3.7
212 */
213 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";
214</pre>
215</li>
216</ul>
217<h3>Problem Reports Fixed</h3>
218<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=335093">335093</a>
219[compiler][null] minimal hook for future null annotation support
220<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334119">334119</a>
221AIOOBE in BindingKeyParser.parseInnerType (was: Copy Qualified Name throws ArrayIndexOutOfBoundsException)
222<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=282988">282988</a>
223[formatter] Option to align single-line comments in a column
224<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334652">334652</a>
225Javadoc content not found for non-static inner class constructors
226<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=136091">136091</a>
227Cannot access Javadoc location over http
228<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=333089">333089</a>
229[compiler][null]AIOOBE while assigning variable a potentially null value in try/finally
230
231<a name="v_B33"></a>
232<hr><h1>
233Eclipse Platform Build Notes<br>
234Java development tools core</h1>
235Eclipse SDK 3.7M5 - January 18, 2011
236<br>Project org.eclipse.jdt.core v_B33
237(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B33">cvs</a>).
238<h2>What's new in this drop</h2>
239
240<h3>Problem Reports Fixed</h3>
241<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325418">325418</a>
242[search] Search for method declarations returns spurious potential matches for anonymous classes
243<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332744">332744</a>
244Generated model code doesn't compile with J2SE-1.4 execution environment
245<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334315">334315</a>
246[compiler] Problem types with missing superclass or superinterfaces should use Object for missing types
247<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=333956">333956</a>
248CompilerOptions#warningOptionNames(): OPTION_ReportRawTypeReference missing
249
250<a name="v_B32"></a>
251<hr><h1>
252Eclipse Platform Build Notes<br>
253Java development tools core</h1>
254Eclipse SDK 3.7M5 - January 11, 2011
255<br>Project org.eclipse.jdt.core v_B32
256(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B32">cvs</a>).
257<h2>What's new in this drop</h2>
258
259<h3>Problem Reports Fixed</h3>
260<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327654">327654</a>
261FUP of bug 317264: Refactoring is not possible if the commons-lang.jar is in the path
262<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=333710">333710</a>
263[DOM] wrong JavaElement for recovered ITypeBinding
264<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=333669">333669</a>
265[DOM] Incorrect signature for type arguments in test case from bug 333360
266<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=333360">333360</a>
267[DOM] eclipse fails to create array binding in this situation
268<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332423">332423</a>
269[1.5][compiler] ClassCastException when compiling against scala-libary.jar
270<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332268">332268</a>
271[assist] Allow proposals for static fields in initializers of fields being declared textually in advance
272<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331334">331334</a>
273[1.5][compiler] &quot;The code for the static initializer is exceeding the 65535 bytes limit&quot; in enum
274<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=333487">333487</a>
275[formatter] Incorrectly ordered method arguments in Scribe
276<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332843">332843</a>
277[formatter] format save action fails with SIOOBE
278
279<a name="v_B31"></a>
280<hr><h1>
281Eclipse Platform Build Notes<br>
282Java development tools core</h1>
283Eclipse SDK 3.7M5 - January 4, 2011
284<br>Project org.eclipse.jdt.core v_B31
285(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B31">cvs</a>).
286<h2>What's new in this drop</h2>
287
288<h3>Problem Reports Fixed</h3>
289<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317039">317039</a>
290[formatter] Code Formatter fails on inner class source indentation
291<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330313">330313</a>
292[formatter] 'Never join already wrapped lines' formatter option does correctly indent
293<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329227">329227</a>
294Usage of broken quicksort algorithm in jdt.internal.compiler.util.Util
295<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332359">332359</a>
296org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding should return number of fields directly
297<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332818">332818</a>
298[formatter] Java formatter, Blank Lines tab, only 1st line indented when multiple lines is set
299<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332877">332877</a>
300[formatter] line comment wrongly put on a new line
301
302<a name="v_B30"></a>
303<hr><h1>
304Eclipse Platform Build Notes<br>
305Java development tools core</h1>
306Eclipse SDK 3.7M5 - December 21, 2010
307<br>Project org.eclipse.jdt.core v_B30
308(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B30">cvs</a>).
309<h2>What's new in this drop</h2>
310<ul>
311<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_MISSING_STATIC_ON_METHOD added to raise warning or error for a method
312 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>):
313<pre>
314 /**
315 * Compiler option ID: Reporting a method that qualifies as static, but not declared static.
316 * When enabled, the compiler will issue an error or a warning if a method has
317 * not been declared as <code>static</code>, even though it qualifies as one.
318 *
319 * Option id:<code>"org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic"</code>
320 * Possible values:<code>{ "error", "warning", "ignore" }</code>
321 * Default:<code>"ignore"</code>
322 *
323 * @since 3.7
324 * @category CompilerOptionID
325 */
326 public static final String COMPILER_PB_MISSING_STATIC_ON_METHOD = PLUGIN_ID + ".compiler.problem.reportMethodCanBeStatic";
327 </pre>
328</li>
329<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
330 which may qualify to be declared as <code>static</code> when another method doesn't override it,
331 but not been declared as one.(see details in bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322581">318682</a>):
332<pre>
333 /**
334 * Compiler option ID: Reporting a method that may qualify as static, but not declared static.
335 * When enabled, the compiler will issue an error or a warning if a method has
336 * not been declared as <code>static</code>, even though it may qualify as one,
337 * when another method doesn't override it.
338 *
339 * Option id:<code>"org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic"</code>
340 * Possible values:<code>{ "error", "warning", "ignore" }</code>
341 * Default:<code>"ignore"</code>
342 *
343 * @since 3.7
344 * @category CompilerOptionID
345 */
346 public static final String COMPILER_PB_POTENTIALLY_MISSING_STATIC_ON_METHOD = PLUGIN_ID + ".compiler.problem.reportMethodCanBePotentiallyStatic";
347</pre>
348</li>
349<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>):
350<pre>
351 /**
352 * Compiler option ID: Reporting of Unavoidable Generic Type Problems.
353 * When enabled, the compiler will issue an error or warning even when it detects a generic type problem
354 * that could not have been avoided by the programmer. As an example, a type may be forced to use raw types
355 * in its method signatures and return types because the methods it overrides from a super type are declared to
356 * use raw types in the first place.
357 *
358 * Option id:<code>"org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems"</code>
359 * Possible values:<code>{ "enabled", "disabled" }</code>
360 * Default:<code>"enabled"</code>
361 *
362 * @since 3.7
363 * @category CompilerOptionID
364 */
365 public static final String COMPILER_PB_UNAVOIDABLE_GENERIC_TYPE_PROBLEMS = PLUGIN_ID + ".compiler.problem.unavoidableGenericTypeProblems";
366</pre>
367</li>
368</ul>
369
370<h3>Problem Reports Fixed</h3>
371<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327471">327471</a>
372java.io.EOFException at java.io.DataInputStream.readInt(Unknown Source)
373<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332619">332619</a>
374Small error in IType#codeComplete Javadoc example
375<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=318682">318682</a>
376Enhancement request: Warning if no fields are used and the method is still not static
377<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322817">322817</a>
378Compiler option to ignore unavoidable type safety problems due to raw APIs
379<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332451">332451</a>
380Javadoc cleanup in SearchEngine#createJavaSearchScope(IJavaElement[], int)
381<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332637">332637</a>
382Dead Code detection removing code that isn't dead
383
384<a name="v_B29"></a>
385<hr><h1>
386Eclipse Platform Build Notes<br>
387Java development tools core</h1>
388Eclipse SDK 3.7M5 - December 14, 2010
389<br>Project org.eclipse.jdt.core v_B29
390(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B29">cvs</a>).
391<h2>What's new in this drop</h2>
392
393<h3>Problem Reports Fixed</h3>
394<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331736">331736</a>
395[dom] tests should check for malformed nodes - may catch a parser bug
396
Stephan Herrmannd3c1c6a2010-12-11 19:33:00 +0000397<a name="v_B28"></a>
398<hr><h1>
399Eclipse Platform Build Notes<br>
400Java development tools core</h1>
401Eclipse SDK 3.7M4 - December 6, 2010 - 3.7.0 M4
402<br>Project org.eclipse.jdt.core v_B28
403(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B28">cvs</a>).
404<h2>What's new in this drop</h2>
405
406<h3>Problem Reports Fixed</h3>
407<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331872">331872</a>
408[compiler] NPE in Scope.createArrayType when attempting qualified access from type parameter
409<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331770">331770</a>
410org.eclipse.jdt.core.tests.model.JavaSearchBugsTests.testBug323514a() is failing in N20101202-2000
411<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331632">331632</a>
412FUP of 323514: Add performance tracking test for scenario
413
414<a name="v_B27"></a>
415<hr><h1>
416Eclipse Platform Build Notes<br>
417Java development tools core</h1>
418Eclipse SDK 3.7M4 - December 4, 2010 - 3.7.0 M4
419<br>Project org.eclipse.jdt.core v_B27
420(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B27">cvs</a>).
421<h2>What's new in this drop</h2>
422
423<h3>Problem Reports Fixed</h3>
424<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324367">324367</a>
425IJavaProject.findPackageFragmentRoots(IClasspathEntry cpe) returns empty list
426<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327899">327899</a>
427include the Ant compiler adapter in ecj JAR
428<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331446">331446</a>
429[1.4/1.5] Unexpected ambiguous error for 1.4 project
430<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323514">323514</a>
431[indexing] The Java Indexer is taking longer to run in eclipse 3.6 when opening projects
432<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329671">329671</a>
433Regression: arg0,1,2... parameter names are cached
434<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=305172">305172</a>
435[common navigator] Project Explorer not fully updating with jar classpath container changes.
436
437<a name="v_B26"></a>
438<hr><h1>
439Eclipse Platform Build Notes<br>
440Java development tools core</h1>
441Eclipse SDK 3.7M4 - November 30, 2010
442<br>Project org.eclipse.jdt.core v_B26
443(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B26">cvs</a>).
444<h2>What's new in this drop</h2>
445
446<h3>Problem Reports Fixed</h3>
447<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331271">331271</a>
448[assist] Reconsider assumption to filter not yet declared fields from being proposed
449<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329663">329663</a>
450[type hierarchy] Interfaces duplicated in type hierarchy on two packages from multiple projects
451<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328362">328362</a>
452[formatter] Format regions does not format as expected
453<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331120">331120</a>
454Improvements to Signature API
455<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=299384">299384</a>
456codeSelect does not find declaration of constructor with generic parameter type when referenced from 1.4 code
457<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329822">329822</a>
458[1.7][compiler] Stackoverflow error if compiled in 1.7 compliance mode
459<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330869">330869</a>
460Bogus error reported for Incompatible operand types Class&lt;capture#2-of ? extends T&gt; and Class&lt;Bug.Bar&gt;
461<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330845">330845</a>
462[Model] Possible bug in Member class
463
464<a name="v_B25"></a>
465<hr><h1>
466Eclipse Platform Build Notes<br>
467Java development tools core</h1>
468Eclipse SDK 3.7M4 - November 23, 2010
469<br>Project org.eclipse.jdt.core v_B25
470(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B25">cvs</a>).
471<h2>What's new in this drop</h2>
472<ul>
473<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>):
474<pre>
475 /**
476 * Answers true if the given name, starting from the given index, starts with the given prefix,
477 * false otherwise. isCaseSensitive is used to find out whether or not the comparison should be
478 * case sensitive.
479 *
480 *
481 * For example:
482 *
483 * 1. prefix = { 'a' , 'B' }
484 * name = { 'c', 'd', 'a' , 'b', 'b', 'a', 'b', 'a' }
485 * startIndex = 2
486 * isCaseSensitive = false
487 * result => true
488 *
489 * 2. prefix = { 'a' , 'B' }
490 * name = { 'c', 'd', 'a' , 'b', 'b', 'a', 'b', 'a' }
491 * startIndex = 2
492 * isCaseSensitive = true
493 * result => false
494 *
495 *
496 * @param prefix the given prefix
497 * @param name the given name
498 * @param isCaseSensitive to find out whether or not the comparison should be case sensitive
499 * @param startIndex index from which the prefix should be searched in the name
500 * @return true if the given name starts with the given prefix, false otherwise
501 * @throws NullPointerException if the given name is null or if the given prefix is null
502 * @since 3.7
503 */
504 public static final boolean prefixEquals(char[] prefix, char[] name, boolean isCaseSensitive, int startIndex)
505</pre>
506</li>
507</ul>
508
509<h3>Problem Reports Fixed</h3>
510<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325481">325481</a>
511[assist] fields declared after a particular field are proposed in its initialization
512<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329727">329727</a>
513Invalid check in the isConstructor() method of the IMethod implementation.
514<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329288">329288</a>
515Fetching parameter names literally hangs on a class with a lot of methods
516<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330435">330435</a>
517[1.4][1.5][compiler] Wrong handling of parameterized methods in 1.4 mode with generified JDK
518<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330445">330445</a>
519[1.4][1.5][compiler] Properties doesn't match Map&lt;String, String&gt; in 1.4 compliance mode
520<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330347">330347</a>
521[1.4][1.5][compiler] The performance test FullSourceWorkspaceBuildTests#testFullBuildDefault() fails
522<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329156">329156</a>
523[compiler][APT] Source generated in last round not compiled
524
525<a name="v_B24"></a>
526<hr><h1>
527Eclipse Platform Build Notes<br>
528Java development tools core</h1>
529Eclipse SDK 3.7M4 - November 16, 2010
530<br>Project org.eclipse.jdt.core v_B24
531(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B24">cvs</a>).
532<h2>What's new in this drop</h2>
533
534<h3>Problem Reports Fixed</h3>
535<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329998">329998</a>
536[content assist] override method proposal in anonymous class inserts bad stub
537<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330081">330081</a>
538[compiler] ArrayIndexOutOfBoundsException when Switched from C/C++ Perspective to Java Perspective
539<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328519">328519</a>
540[compiler] local variable cannot be optimized out despite warning &quot;not used&quot;
541<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329709">329709</a>
542[formatter] Formatter fails to format enum with extra semicolon and body
543
544<a name="v_B23"></a>
545<hr><h1>
546Eclipse Platform Build Notes<br>
547Java development tools core</h1>
548Eclipse SDK 3.7M4 - November 9, 2010
549<br>Project org.eclipse.jdt.core v_B23
550(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B23">cvs</a>).
551<h2>What's new in this drop</h2>
552
553<h3>Problem Reports Fixed</h3>
554<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329593">329593</a>
555[1.4/1.5] [compiler] incorrect error about incompatible operand
556<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329588">329588</a>
557[1.4/1.5][compiler] Class cast issue with java.lang.Class and the 1.4/1.5 mixed mode
558<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329584">329584</a>
559[1.4/1.5][compiler] Compiler is confused about name clashes in 1.4 project
560<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328674">328674</a>
561[assist] local being declared proposed inside its initialization
562<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329344">329344</a>
563[compiler] Batch compiler should not removed some duplicated entries on the classpath
564<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186565">186565</a>
565[1.5][compiler] 1.4/1.5 .class file interaction
566<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328689">328689</a>
567[1.4][compiler] &quot;Incompatible conditional operand types Class and Class&quot;
568<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328775">328775</a>
569[compiler] Compiler fails to warn about invalid cast when using J2SE 1.4 compiler settings
570<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328827">328827</a>
571Compiler fails to recognize a Map when using J2SE 1.4 compiler settings
572<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324850">324850</a>
573Compile error claims method is missing but is inherited
574<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328969">328969</a>
575[DOM] NPE retrieving a java element for an annotation binding
576
Stephan Herrmanne880bb62010-11-06 15:10:25 +0000577<a name="v_B22"></a>
578<hr><h1>
579Eclipse Platform Build Notes<br>
580Java development tools core</h1>
581Eclipse SDK 3.7M3 - October 28, 2010 - 3.7.0 M3
582<br>Project org.eclipse.jdt.core v_B22
583(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B22">cvs</a>).
584<h2>What's new in this drop</h2>
585This build input simply reverts the change made for bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324850">324850</a>.
586
587<h3>Problem Reports Fixed</h3>
588
589<a name="v_B21"></a>
590<hr><h1>
591Eclipse Platform Build Notes<br>
592Java development tools core</h1>
593Eclipse SDK 3.7M3 - October 27, 2010
594<br>Project org.eclipse.jdt.core v_B21
595(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B21">cvs</a>).
596<h2>What's new in this drop</h2>
597
598<h3>Problem Reports Fixed</h3>
599<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328786">328786</a>
600[search] NPE in field match locator
601<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328744">328744</a>
602Removed warnings related to fix for 185682
603<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=229042">229042</a>
604[buildpath] could create build path error in case of invalid external JAR format
605
606<a name="v_B20"></a>
607<hr><h1>
608Eclipse Platform Build Notes<br>
609Java development tools core</h1>
610Eclipse SDK 3.7M3 - October 25, 2010
611<br>Project org.eclipse.jdt.core v_B20
612(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B20">cvs</a>).
613<h2>What's new in this drop</h2>
614
615<h3>Problem Reports Fixed</h3>
616<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=282152">282152</a>
617[1.5][compiler] Generics code rejected by Eclipse but accepted by javac
618<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328240">328240</a>
619org.eclipse.text.edits.MalformedTreeException: Overlapping text edits
620
621<a name="v_B19"></a>
622<hr><h1>
623Eclipse Platform Build Notes<br>
624Java development tools core</h1>
625Eclipse SDK 3.7M3 - October 24, 2010
626<br>Project org.eclipse.jdt.core v_B19
627(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B19">cvs</a>).
628<h2>What's new in this drop</h2>
629
630<h3>Problem Reports Fixed</h3>
631<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=185682">185682</a>
632Increment/decrement operators mark local variables as read
633<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328400">328400</a>
634TextEdit computed incorrectly for inserting annotation before package declaration
635<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=303511">303511</a>
636Allow to specify encoding for source attachments
637<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=326354">326354</a>
638[3.6][compiler][regression] Compiler in 3.6 and 3.6.1 generates bad code
639<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328361">328361</a>
640[1.4][compiler] variable initialized within an assert expression are no longer reported as potential non initialized
641<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328247">328247</a>
642Disassemble fails to disassemble synthetic constructor with varargs arguments
643<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328115">328115</a>
644[DOM] All ASTNode APIs should specify types of property descriptors
645
Stephan Herrmann016c4262010-10-20 22:02:18 +0000646<a name="v_B18"></a>
647<hr><h1>
648Eclipse Platform Build Notes<br>
649Java development tools core</h1>
Stephan Herrmanne880bb62010-11-06 15:10:25 +0000650Eclipse SDK 3.7M3 - October 19, 2010
Stephan Herrmann016c4262010-10-20 22:02:18 +0000651<br>Project org.eclipse.jdt.core v_B18
652(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B18">cvs</a>).
653<h2>What's new in this drop</h2>
654
655<h3>Problem Reports Fixed</h3>
656<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327429">327429</a>
657Use Charset.name() instead of Charset.toString() to get the encoding
658<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327817">327817</a>
659ecjsrc.zip should be ecjsrc.jar
660
661<a name="v_B17"></a>
662<hr><h1>
663Eclipse Platform Build Notes<br>
664Java development tools core</h1>
665Eclipse SDK 3.7M3 - October 12, 2010
666<br>Project org.eclipse.jdt.core v_B17
667(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B17">cvs</a>).
668<h2>What's new in this drop</h2>
669<ul>
670<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
671 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>):
672<pre>
673 /**
674 * Compiler option ID: Reporting Missing Javadoc Tags for Method Type Parameters.
675 * Specify whether a missing <code>@param</code> for a type parameter in a method declaration should be reported.
676 * When enabled, the compiler will issue a missing Javadoc tag error or warning for a type parameter without a
677 * corresponding <code>@param</code> tag.
678 *
679 * This option only has an effect if the compiler compliance is 1.5 or greater.
680 *
681 * Option id:<code>"org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters"</code>
682 * Possible values:<code>{ "enabled", "disabled" }</code>
683 * Default:<code>"disabled"</code>
684 *
685 * @since 3.7
686 * @category CompilerOptionID
687 */
688 public static final String COMPILER_PB_MISSING_JAVADOC_TAGS_METHOD_TYPE_PARAMETERS = PLUGIN_ID + ".compiler.problem.missingJavadocTagsMethodTypeParameters";
689</pre>
690</li>
691<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>).
692<pre>
693 /**
694 * Returns the value of the named property of this rewrite, or null if none.
695 *
696 * @param propertyName the property name
697 * @return the property value, or <code>null</code> if none
698 * @see #setProperty(String,Object)
699 * @throws IllegalArgumentException if the given property name is null
700 * @since 3.7
701 */
702 public final Object getProperty(String propertyName);
703</pre>
704<pre>
705 /**
706 * Sets the named property of this rewrite to the given value,
707 * or to null to clear it.
708 *
709 * Clients should employ property names that are sufficiently unique
710 * to avoid inadvertent conflicts with other clients that might also be
711 * setting properties on the same rewrite.
712 *
713 *
714 * Note that modifying a property is not considered a modification to the
715 * AST itself. This is to allow clients to decorate existing rewrites with
716 * their own properties without jeopardizing certain things (like the
717 * validity of bindings), which rely on the underlying tree remaining static.
718 *
719 *
720 * @param propertyName the property name
721 * @param data the new property value, or null if none
722 * @see #getProperty(String)
723 * @throws IllegalArgumentException if the given property name is null
724 * @since 3.7
725 */
726 public final void setProperty(String propertyName, Object data);
727</pre>
728</li>
729</ul>
730
731<h3>Problem Reports Fixed</h3>
732<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324367">324367</a>
733IJavaProject.findPackageFragmentRoots(IClasspathEntry cpe) returns empty list
734<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=311022">311022</a>
735NPE in InternalExtendedCompletionContext.getVisibleElement
736<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325131">325131</a>
737ASTRewrite should offer get/setProperty() like ASTNode
738<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322789">322789</a>
739package-info.java Won't Build On First Compile Pass
740<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322581">322581</a>
741[5.0] Add Javadoc compiler option to (not) report missing tags for method type parameters
742
743<a name="v_B16"></a>
744<hr><h1>
745Eclipse Platform Build Notes<br>
746Java development tools core</h1>
747Eclipse SDK 3.7M3 - October 5, 2010 - 3.7.0 M3
748<br>Project org.eclipse.jdt.core v_B16
749(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B16">cvs</a>).
750<h2>What's new in this drop</h2>
751<ul>
Stephan Herrmannbb25a052011-01-27 11:59:20 +0000752<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 +0000753<pre>
754 /**
755 * Compiler option ID: Raise null related errors or warnings arising because of assert statements.
756 * When enabled, the compiler will flag all null related errors or warnings that have been enabled by the user,
757 * irrespective of whether a variable occurred in an assert statement.
758 * When disabled, the compiler will not flag null related errors or warnings on variables that got marked as maybe or definitely
759 * <code>null</code> in an assert statement upstream.
760 *
761 * Option id:<code>"org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts"</code>
762 * Possible values:<code>{ "enabled", "disabled" }</code>
763 * Default:<code>"disabled"</code>
764 *
765 * @since 3.7
766 * @category CompilerOptionID
767 */
768 public static final String COMPILER_PB_INCLUDE_ASSERTS_IN_NULL_ANALYSIS = PLUGIN_ID + ".compiler.problem.includeNullInfoFromAsserts";
769</pre>
770</li>
771</ul>
772
773<h3>Problem Reports Fixed</h3>
774<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323012">323012</a>
775[jsr14][compiler] Class literal value is not cached when target is jsr14
776<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325342">325342</a>
777Add new option for null analysis based on assert result.
778
779<a name="v_B15"></a>
780<hr><h1>
781Eclipse Platform Build Notes<br>
782Java development tools core</h1>
783Eclipse SDK 3.7M3 - September 28, 2010
784<br>Project org.eclipse.jdt.core v_B15
785(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B15">cvs</a>).
786<h2>What's new in this drop</h2>
787
788<h3>Problem Reports Fixed</h3>
789<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=312603">312603</a>
790[content assist] field being declared is proposed as a method argument inside initialization
791<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325342">325342</a>
792Add new option for null analysis based on assert result.
793<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325481">325481</a>
794[assist] fields declared after a particular field are proposed in its initialization
795<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325633">325633</a>
7961.4 project confused when referencing a return type of generic array from 1.5 project
797
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000798<a name="v_B14a"></a>
Stephan Herrmanne042d002010-06-05 13:49:29 +0000799<hr><h1>
800Eclipse Platform Build Notes<br>
801Java development tools core</h1>
Stephan Herrmann016c4262010-10-20 22:02:18 +0000802Eclipse SDK 3.7M3 - September 21, 2010
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000803<br>Project org.eclipse.jdt.core v_B14a
804(<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 +0000805<h2>What's new in this drop</h2>
806
807<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000808<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325567">325567</a>
809A blocking &quot;java.lang.IllegalArgumentException: info cannot be null&quot; exception
Stephan Herrmanne042d002010-06-05 13:49:29 +0000810
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000811<a name="v_B13a"></a>
Stephan Herrmanne042d002010-06-05 13:49:29 +0000812<hr><h1>
813Eclipse Platform Build Notes<br>
814Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000815Eclipse SDK 3.7M2 - September 21, 2010 - 3.7.0 M2
816<br>Project org.eclipse.jdt.core v_B13a
817(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B13a">cvs</a>).
818<h2>What's new in this drop</h2>
819
820<h3>Problem Reports Fixed</h3>
821<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325755">325755</a>
822[compiler] wrong initialization state after conditional expression
823
824<a name="v_B13"></a>
825<hr><h1>
826Eclipse Platform Build Notes<br>
827Java development tools core</h1>
828Eclipse SDK 3.7M2 - September 15, 2010
829<br>Project org.eclipse.jdt.core v_B13
830(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B13">cvs</a>).
831<h2>What's new in this drop</h2>
832
833<h3>Problem Reports Fixed</h3>
834<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325229">325229</a>
835[compiler] eclipse compiler differs from javac when assert is present (FUP of bug 319510)
836<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325270">325270</a>
837[content assist] Parameter names are not displayed for static inner class of an external jar
838<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325321">325321</a>
839[compiler] Synthetic constructors for non-static inner classes can exceed 255 parameters -&gt; ClassFormatError
840
841<a name="v_B12a"></a>
842<hr><h1>
843Eclipse Platform Build Notes<br>
844Java development tools core</h1>
845Eclipse SDK 3.7M2 - September 13, 2010
846<br>Project org.eclipse.jdt.core v_B12a
847(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B12a">cvs</a>).
848<h2>What's new in this drop</h2>
849
850<h3>Problem Reports Fixed</h3>
851<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324840">324840</a>
852[compiler] Improving debug strings for Break statement, IntLiteral and CaseStatement
853<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324848">324848</a>
854[1.6][compiler] NullPointerException when trying to synchronize on non-existing outer class instance
855
856<a name="v_B11"></a>
857<hr><h1>
858Eclipse Platform Build Notes<br>
859Java development tools core</h1>
860Eclipse SDK 3.7M2 - September 9, 2010 - 3.7.0 M2
861<br>Project org.eclipse.jdt.core v_B11
862(<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 +0000863<h2>What's new in this drop</h2>
864<ul>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000865<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 +0000866<pre>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000867 /**
868 * Returns true if this local variable is a method parameter, false otherwise.
869 *
870 * @return true if this local variable is a method parameter, false otherwise
871 * @since 3.7
872 */
873 boolean isParameter();
Stephan Herrmann8f4b3212010-05-22 16:38:56 +0000874
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000875 /**
876 * Returns the modifier flags for this local variable. The flags can be examined using class.
877 *
878 * Note that only flags as indicated in the source are returned.
879 *
880 * @return the modifier flags for this local variable
881 * @see Flags
882 * @since 3.7
883 */
884 int getFlags();
Stephan Herrmann8f4b3212010-05-22 16:38:56 +0000885
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000886 /**
887 * Returns the declaring member of this local variable.
888 *
889 * This is a handle-only method.
890 *
891 * @return the declaring member of this local variable
892 * @since 3.7
893 */
894 IMember getDeclaringMember();
Stephan Herrmann99004722010-05-17 20:32:50 +0000895
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000896 /**
897 * Returns the Java type root in which this local variable is declared.
898 *
899 * This is a handle-only method.
900 *
901 * @return the Java type root in which this local variable is declared
902 * @since 3.7
903 */
904 ITypeRoot getTypeRoot();
Stephan Herrmanne5d6be82010-04-02 03:29:32 +0000905</pre>
906</li>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000907<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 +0000908<pre>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000909 /**
910 * Returns the Java type root in which this type parameter is declared.
911 *
912 * This is a handle-only method.
913 *
914 * @return the Java type root in which this type parameter is declared
915 * @since 3.7
916 */
917 ITypeRoot getTypeRoot();
Stephan Herrmanne5d6be82010-04-02 03:29:32 +0000918</pre>
919</li>
920</ul>
921
922<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000923<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324762">324762</a>
924Compiler thinks there is deadcode and removes it!
925<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=292478">292478</a>
926Report potentially null across variable assignment
927<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324748">324748</a>
928JDT core tests have restrictive range on com.ibm.icu
929<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323633">323633</a>
930[1.5][compiler] Reconciler issues mixing 1.4 projects with &amp; 1.5 project with generics.
931<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317046">317046</a>
932Exception during debugging when hover mouse over a field
933<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=48420">48420</a>
934[API] ILocalVariable and ITypeParameter should provide more methods
935<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321414">321414</a>
936Synthetic constructors can exceed 255 parameters -&gt; ClassFormatError
Stephan Herrmanne5d6be82010-04-02 03:29:32 +0000937
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000938<a name="v_B10"></a>
Stephan Herrmanne5d6be82010-04-02 03:29:32 +0000939<hr><h1>
940Eclipse Platform Build Notes<br>
941Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000942Eclipse SDK 3.7M2 - September 7, 2010
943<br>Project org.eclipse.jdt.core v_B10
944(<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 +0000945<h2>What's new in this drop</h2>
946<ul>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000947<li>Code formatter: 4 new options were added to better handle the addition of
948new lines after annotations.
Stephan Herrmanne5d6be82010-04-02 03:29:32 +0000949<pre>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000950 * FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_FIELD
951 * FORMATTER / Option to insert a new line after an annotation on a field declaration
952 * - option id: "org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field"
Stephan Herrmanne5d6be82010-04-02 03:29:32 +0000953 * - possible values: { INSERT, DO_NOT_INSERT }
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000954 * - default: INSERT
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000955 *
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000956 * FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_METHOD
957 * FORMATTER / Option to insert a new line after an annotation on a method declaration
958 * - option id: "org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method"
959 * - possible values: { INSERT, DO_NOT_INSERT }
960 * - default: INSERT
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000961 *
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000962 * FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_PACKAGE
963 * FORMATTER / Option to insert a new line after an annotation on a package declaration
964 * - option id: "org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package"
965 * - possible values: { INSERT, DO_NOT_INSERT }
966 * - default: INSERT
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000967 *
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000968 * FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_TYPE
969 * FORMATTER / Option to insert a new line after an annotation on a type declaration
970 * - option id: "org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type"
971 * - possible values: { INSERT, DO_NOT_INSERT }
972 * - default: INSERT
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000973</pre>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000974The 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>
975Also note that previously available code formatter constant FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_MEMBER has been deprecated.<br>
976All new options must be enabled to activate old strategy.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000977</li>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000978<li>
979The previously added new APIs:
980<blockquote>
981<code>org.eclipse.jdt.core.IImportDeclaration#getNameRange()</code>,<br>
982<code>org.eclipse.jdt.core.IPackageDeclaration#getNameRange()</code>
983</blockquote>
984have 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 +0000985<pre>
986/**
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000987 * Returns the name range associated with this element.
988 *
989 * If the element is an IMember, it returns
990 * the source range of this member's simple name,
991 * or null if this member does not have a name
992 * (for example, an initializer), or if this member does not have
993 * associated source code (for example, a binary type).
994 *
995 * If this element is an IImportDeclaration, the source range
996 * of this import declaration's name, or null if this import
997 * declaration does not have associated source code (for example, a binary type).
998 * The source range for the name includes the trailing '*' if the call to
999 * IImportDeclaration#isOnDemand() returns true.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001000 *
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001001 * If this element is an IPackageDeclaration, the source range of
1002 * this package declaration's name, or null if this package
1003 * declaration does not have associated source code (for example, a binary type).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001004 *
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001005 * If this element is an IAnnotation, the source range of
1006 * this annotation's name, or null if this annotation does not have
1007 * associated source code (for example, in a binary type).
1008 *
1009 * If this element is an ITypeParameter, the source range of this
1010 * type parameter's name, or null if this type parameter does not have
1011 * associated source code (for example, in a binary type).
1012 *
1013 * If this element is an ITypeRoot or IImportContainer, it
1014 * returns null.
1015 *
1016 * @return the name range associated with this element, or null if
1017 * not available
1018 *
1019 * @since 3.7
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001020 */
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001021ISourceRange getNameRange() throws JavaModelException;
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001022</pre>
1023</li>
1024</ul>
1025
1026<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001027<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322979">322979</a>
1028[search] use of IJavaSearchConstants.IMPLEMENTORS yields surprising results
1029<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316937">316937</a>
1030JavaElement.getElementInfo(..) throws JavaModelException when trying to get info for an inner class in an external jar
1031<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322531">322531</a>
1032[1.5][Generics] eclipse compiles code rejected by javac with incomparable types error.
1033<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=308000">308000</a>
1034[formatter] Formatter is missing options regarding Annotation Newlines
1035<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321276">321276</a>
1036JDT core apis dont recognize InnerClass constructor inside .class files
1037<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=252556">252556</a>
1038[formatter] Spaces removed before formatted region of a compilation unit.
1039<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323785">323785</a>
1040[builder] NPE when adding 'package-info.java' to default package
1041<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321358">321358</a>
1042NPE refreshing external folders
1043<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322596">322596</a>
1044[DOM] ASTNode APIs should specify types of property descriptors
1045<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324109">324109</a>
1046[search] Java search shows incorrect results as accurate matches
1047<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324154">324154</a>
1048NPE in FlowContext while building
1049<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=133125">133125</a>
1050[compiler][null] need to report the null status of expressions and analyze them simultaneously
1051<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321695">321695</a>
1052Test added for bug 319425 doesn't detect the bug
1053<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=258905">258905</a>
1054making java.lang.AssertionError accessible thru resolveWellKnownType method
1055<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321764">321764</a>
1056Add getNameRange() to ISourceReference
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001057
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001058<a name="v_B09"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001059<hr><h1>
1060Eclipse Platform Build Notes<br>
1061Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001062Eclipse SDK 3.7M2 - August 31, 2010 - 3.7.0 M2
1063<br>Project org.eclipse.jdt.core v_B09
1064(<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 +00001065<h2>What's new in this drop</h2>
1066
1067<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001068<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=311578">311578</a>
1069[formatter] Enable/disable tag detection should include comment start/end tokens
1070<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320618">320618</a>
1071inconsistent initialization of classpath container backed by external class folder
1072<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323693">323693</a>
1073[1.5][compiler] Compiler fails to diagnose name clash
1074<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323558">323558</a>
1075Tests test0307a and test0307e under BatchCompilerTest failing
1076<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=308402">308402</a>
1077[index] PatternSearchJob ignores participant index entries
1078<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317264">317264</a>
1079[search] Refactoring is impossible with commons.lang added to project
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001080
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001081<a name="v_B08"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001082<hr><h1>
1083Eclipse Platform Build Notes<br>
1084Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001085Eclipse SDK 3.7M1 - August 24, 2010
1086<br>Project org.eclipse.jdt.core v_B08
1087(<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 +00001088<h2>What's new in this drop</h2>
1089
1090<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001091<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321926">321926</a>
1092Erroneously deems null check conditional branch to be dead code, and produces incorrect bytecode
1093<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320170">320170</a>
1094[compiler] [null] Whitebox issues in null analysis
1095<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=305259">305259</a>
1096Strange error when referencing code produced with jsr14 target
1097<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321115">321115</a>
1098Compiler is not case sensitive with package names
1099<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=310427">310427</a>
1100[content assist] FUP of 236306: Variable proposed before definition.
1101<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320911">320911</a>
1102Not all redundant superinterface problems reported
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001103
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001104<a name="v_B07"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001105<hr><h1>
1106Eclipse Platform Build Notes<br>
1107Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001108Eclipse SDK 3.7M1 - August 17, 2010
1109<br>Project org.eclipse.jdt.core v_B07
1110(<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 +00001111<h2>What's new in this drop</h2>
1112
1113<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001114<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319201">319201</a>
1115[null] no warning when unboxing SingleNameReference causes NPE
1116<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322154">322154</a>
1117Compiler bug that does not occur in Galileo 3.5.2
1118<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320754">320754</a>
1119[formatter] formatter:off/on tags does not work correctly
1120<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322001">322001</a>
1121[1.5][compiler] Name Clash error occurs
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001122
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001123<a name="v_B06"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001124<hr><h1>
1125Eclipse Platform Build Notes<br>
1126Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001127Eclipse SDK 3.7M1 - August 10, 2010
1128<br>Project org.eclipse.jdt.core v_B06
1129(<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 +00001130<h2>What's new in this drop</h2>
1131
1132<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001133<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320167">320167</a>
1134Auto-Activation works only once
1135<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320809">320809</a>
1136ArrayIndexOutOfBoundsException in IndexManager.writeSavedIndexNamesFile - concurrency issue?
1137<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321085">321085</a>
1138Enhanced for loops need to implement type safety checks on array initializers
1139<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319626">319626</a>
1140Preferences-&gt;Java Compiler-&gt; Errors/Warnings -&gt; Undocumented Empty Block
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001141
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001142<a name="v_B05"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001143<hr><h1>
1144Eclipse Platform Build Notes<br>
1145Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001146Eclipse SDK 3.7M1 - July 30, 2010 - 3.7.0 M1
1147<br>Project org.eclipse.jdt.core v_B05
1148(<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 +00001149<h2>What's new in this drop</h2>
1150<ul>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001151<li>
1152New 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 +00001153<pre>
1154/**
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001155 * Returns the source range of this import declaration's name,
1156 * or null if this import declaration does not have
1157 * associated source code (for example, a binary type).
1158 *
1159 * The source range for the name includes the trailing '*' if the call to
1160 * isOnDemand() returns true.
1161 *
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001162 *
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001163 * @exception JavaModelException if this element does not exist or if an
1164 * exception occurs while accessing its corresponding resource.
1165 * @return the source range of this import declaration's name,
1166 * or null if this import declaration does not have
1167 * associated source code (for example, a binary type)
1168 * @since 3.7
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001169 */
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001170ISourceRange getNameRange() throws JavaModelException;
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001171</pre>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001172</li>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001173<li>
1174New 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 +00001175<pre>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001176/**
1177 * Returns the source range of this package declaration's name,
1178 * or null if this package declaration does not have
1179 * associated source code (for example, a binary type).
1180 *
1181 * @exception JavaModelException if this element does not exist or if an
1182 * exception occurs while accessing its corresponding resource.
1183 * @return the source range of this package declaration's name,
1184 * or null if this package declaration does not have
1185 * associated source code (for example, a binary type)
1186 * @since 3.7
1187 */
1188ISourceRange getNameRange() throws JavaModelException;
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001189</pre>
1190</li>
1191</ul>
1192
1193<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001194<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=306524">306524</a>
1195ASTRewriteAnalyzer uses wrong starting offset in case of comments before a node
1196<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=150980">150980</a>
1197[API] Selecting import declaration with space in outline highlights wrong range
1198<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320841">320841</a>
1199TypeConverters don't set enclosingType
1200<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320802">320802</a>
1201ASTParser.createASTs(..) fails silently on multiple missing parameter types.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001202
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001203<a name="v_B04"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001204<hr><h1>
1205Eclipse Platform Build Notes<br>
1206Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001207Eclipse SDK 3.7M1 - July 27, 2010
1208<br>Project org.eclipse.jdt.core v_B04
1209(<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 +00001210<h2>What's new in this drop</h2>
1211
1212<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001213<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319425">319425</a>
1214[compiler] JDT outputs corrupt .class file for problem type
1215<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319885">319885</a>
1216Spurious 'cycle detected'/'hierarchy inconsistent' errors if a type that WOULD be cyclic is static-imported
1217<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=312076">312076</a>
1218[1.5][compiler] Eclipse compiler behaves differently from javac
1219<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320414">320414</a>
1220Compiler produces incorrect bytecode for null pointer check
1221<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=223225">223225</a>
1222[DOM] IMemberValuePairBinding does not desugar single values into one-element arrays
1223<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319603">319603</a>
1224[1.5][compiler] eclipse fails with 2 generics methods with the same name while javac succeeds
1225<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=318020">318020</a>
1226[compiler] wrong initialization flow info with if (true) throw... pattern in else block
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001227
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001228<a name="v_B03"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001229<hr><h1>
1230Eclipse Platform Build Notes<br>
1231Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001232Eclipse SDK 3.7M1 - July 20, 2010
1233<br>Project org.eclipse.jdt.core v_B03
1234(<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 +00001235<h2>What's new in this drop</h2>
1236
1237<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001238<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320340">320340</a>
1239Test failures in debug mode
1240<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=307523">307523</a>
1241Differences between patch of bug 210422 and sources
1242<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319900">319900</a>
1243StringLiteral#setLiteralValue needlessly escapes apostrophes (')
1244<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=310264">310264</a>
1245Wrong warning: The assignment to variable has no effect
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001246
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001247<a name="v_B02"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001248<hr><h1>
1249Eclipse Platform Build Notes<br>
1250Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001251Eclipse SDK 3.7M1 - July 13, 2010
1252<br>Project org.eclipse.jdt.core v_B02
1253(<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 +00001254<h2>What's new in this drop</h2>
1255
1256<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001257<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=314556">314556</a>
1258[1.5][compiler] compiler fails to report attempt to assign weaker access privileges
1259<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316956">316956</a>
1260[compiler] Private superclass and enclosing scope field names incorrectly reported as conflicting
1261<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=151500">151500</a>
1262[assist] Method parameter names are not displayed for inner classes
1263<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=304006">304006</a>
1264[code assist] Autocast after instanceof feature doesnt work in some cases.
1265<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=210419">210419</a>
1266[compiler] Invalid field initializer not flagged as error
1267<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=212713">212713</a>
1268Bad error message for static block inside an interface
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001269
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001270<a name="v_B01"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001271<hr><h1>
1272Eclipse Platform Build Notes<br>
1273Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001274Eclipse SDK 3.7M1 - July 6, 2010 - 3.7M1
1275<br>Project org.eclipse.jdt.core v_B01
1276(<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 +00001277<h2>What's new in this drop</h2>
1278
1279<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001280<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313153">313153</a>
1281Too many blocked &quot;Refreshing external folders&quot; jobs (FUP of bug 302295)
1282<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316654">316654</a>
1283ITypeHierarchyChangedListener receive spurious callbacks
1284<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317858">317858</a>
1285Eclipse isn't accessing the correct field/class - causes compile error
1286<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=318171">318171</a>
1287fieldHiding-Warning does not appear if classes are in different packages
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001288
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001289<a name="v_B00"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001290<hr><h1>
1291Eclipse Platform Build Notes<br>
1292Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001293Eclipse SDK 3.7M1 - June 29, 2010
1294<br>Project org.eclipse.jdt.core v_B00
1295(<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 +00001296<h2>What's new in this drop</h2>
1297
1298<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001299<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317841">317841</a>
1300[incremental build] unnecessary 'structural changes' due to annotation parameters
1301<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317468">317468</a>
1302Adding elements to an enum body with trailing comma generates bad code
1303<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313668">313668</a>
1304[search] Call hierarchy doesn't show all calls of the method in workspace
1305<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317972">317972</a>
1306Fix for wrong usages of affect* and effect*
1307<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313651">313651</a>
1308[formatter] format comments (differs between paste and save action)
1309<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316889">316889</a>
1310Internal compiler error: java.lang.NullPointerException with a specific use of recursive generics
1311<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=315978">315978</a>
1312Big regression, eclipse compiles my workspace in 3 mins instead of few seconds
1313<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=315577">315577</a>
1314[formatter] No line break after &lt;br&gt; if followed by {@link when formatting java source file
1315<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=306464">306464</a>
1316NPE in ProblemReporter.missingTypeInMethod(ProblemReporter.java:5113)
1317<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317212">317212</a>
1318[compiler] Illegal permission to invoke the constructor of a member class of an inaccessible type.
1319<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=195346">195346</a>
1320[assist] Array type should be filtered while completing in case of a switch
1321<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=315732">315732</a>
1322[formatter] NullPointerException (always) on inserting a custom template proposal into java code when &quot;Use code formatter&quot; is on
1323<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316456">316456</a>
1324[1.5][compiler] Annotation values can access private class members
1325<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=312989">312989</a>
1326Accepts illegal method-local classes if hidden by generics parameters
1327<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=310423">310423</a>
1328[content assist] After 'implements' annotation types should not be proposed
1329<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=314830">314830</a>
1330[compiler] Switching on a null expression doesn't always throw NullPointerException
1331<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313825">313825</a>
1332Erroneous local variable's problems reported at surrounding ParenthesizedExpression
1333<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=314898">314898</a>
1334Typo in org.eclipse.jdt.core.dom.NameEnviromentWithProgress
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001335
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001336
1337<hr>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +00001338<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 +00001339<br>
1340 <p>
1341 <a href="http://validator.w3.org/check?uri=referer"><img
1342 src="http://www.w3.org/Icons/valid-html401"
1343 alt="Valid HTML 4.01 Transitional" height="31" width="88"></a>
1344 </p>
1345</body>
1346</html>
1347