blob: 9ee657a997a3e0c1c4cdb2991d3b61f23f617a28 [file] [log] [blame]
Stephan Herrmanndd780c62011-08-13 11:41:32 +00001<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3<head>
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5 <meta name="Author" content="IBM">
6 <title>JDT/Core Release Notes 3.7</title>
7 <link rel="stylesheet" href="jdt_core_style.css" charset="iso-8859-1" type="text/css">
8</head>
9<body text="#000000" bgcolor="#FFFFFF">
10<table border=0 cellspacing=5 cellpadding=2 width="100%" >
11 <tr>
12 <td align="left" width="72%" class="title1">
13 <font size="+3"><b>jdt core - build notes 3.7 stream</b></font>
14 </td>
15 </tr>
16 <tr><td align="left" width="72%" class="title2"><font size="-2">Java development tools core</font></td></tr>
17 <tr><td>&nbsp;</td></tr>
18 <tr>
19 <td class="title3">
20 <font size="-1">
21 Here are the build notes for the Eclipse JDT/Core plug-in project
22 <a href="http://www.eclipse.org/jdt/core/index.php"><b>org.eclipse.jdt.core</b></a>,
23 describing <a href="https://bugs.eclipse.org/bugs" target=new>bug</a> resolution and substantial changes in the <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core"><b>HEAD</b></a> branch.
24 For more information on 3.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>,
27 or the <a href="http://www.eclipse.org/eclipse/platform-releng/buildSchedule.html">build schedule</a>.
28 This present document covers all changes since Release 3.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>).
29 <br>Maintenance of previous releases of JDT/Core is performed in parallel branches:
30 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_6_maintenance">R3.6.x</a>,
31 <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>
44
45<a name="v_B61"></a>
46<hr><h1>
47Eclipse Platform Build Notes<br>
48Java development tools core</h1>
49Eclipse SDK 3.7 - June 7, 2011
50<br>Project org.eclipse.jdt.core v_B61
51(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B61">cvs</a>).
52<h2>What's new in this drop</h2>
53<ul>
54<li>Update batch compiler version to refer to 3.7.0 and not 3.7.0 RC2</li>
55</ul>
56<h3>Problem Reports Fixed</h3>
57
58<a name="v_B60"></a>
59<hr><h1>
60Eclipse Platform Build Notes<br>
61Java development tools core</h1>
62Eclipse SDK 3.7RC2 - May 19, 2011
63<br>Project org.eclipse.jdt.core v_B60
64(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B60">cvs</a>).
65<h2>What's new in this drop</h2>
66
67<h3>Problem Reports Fixed</h3>
68<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346002">346002</a>
69Import of User Library with invalid path hoses User Library Dialog -- can not fix
70<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340181">340181</a>
71Formatter from the command line breaks
72<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346029">346029</a>
73[1.7][compiler] Eclipse compiles code rejected by JDK7
74<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345628">345628</a>
75[1.7] Rename disjunctive type to union type
76<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345559">345559</a>
77[1.7][compiler] Type inference for generic allocation can be avoided for invalid constructor
78<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342819">342819</a>
79Code rejected by javac with name clash error compiles under eclipse.
80<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334306">334306</a>
81[1.7][compiler] name clash reported in javac 1.7 and not in javac 1.6
82<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345579">345579</a>
83[1.7][compiler] Weird error message in rethrow site
84
85<a name="v_B59"></a>
86<hr><h1>
87Eclipse Platform Build Notes<br>
88Java development tools core</h1>
89Eclipse SDK 3.7RC1 - May 12, 2011 - 3.7.0 RC1
90<br>Project org.eclipse.jdt.core v_B59
91(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B59">cvs</a>).
92<h2>What's new in this drop</h2>
93
94<h3>Problem Reports Fixed</h3>
95<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345569">345569</a>
96FUP of bug 345334: CodeSnippetTest has lot of failures
97<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345522">345522</a>
98[1.7][compiler] Compilers fails to compute precisely rethrown types
99
100<a name="v_B58"></a>
101<hr><h1>
102Eclipse Platform Build Notes<br>
103Java development tools core</h1>
104Eclipse SDK 3.7RC1 - May 11, 2011
105<br>Project org.eclipse.jdt.core v_B58
106(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B58">cvs</a>).
107<h2>What's new in this drop</h2>
108
109<h3>Problem Reports Fixed</h3>
110<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345334">345334</a>
111CodeSnippet's run method is missing @Override annotation
112<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=344824">344824</a>
113[1.7][compiler] Incorrect error range for unreachable catch block error in multi-catch
114<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340486">340486</a>
115[1.7][compiler] Missing error in multi catch scenario
116<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345359">345359</a>
117[1.7][compiler] AIOOB on diamond construct with argument error
118<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345239">345239</a>
119[1.7][compiler] Compiler should issue better diagnostics for use of &lt;&gt; with anonymous classes
120
121<a name="v_B57"></a>
122<hr><h1>
123Eclipse Platform Build Notes<br>
124Java development tools core</h1>
125Eclipse SDK 3.7RC1 - May 10, 2011
126<br>Project org.eclipse.jdt.core v_B57
127(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B57">cvs</a>).
128<h2>What's new in this drop</h2>
129
130<h3>Problem Reports Fixed</h3>
131<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336451">336451</a>
132&quot;Content Assist&quot; does not complete normally on certain types
133<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324987">324987</a>
134[formatter] API compatibility problem with Annotation Newline options
135<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=344655">344655</a>
136[1.7][compiler] Prohibit use of &lt;&gt; with explicit type arguments to generic constructor
137
138<a name="v_B56"></a>
139<hr><h1>
140Eclipse Platform Build Notes<br>
141Java development tools core</h1>
142Eclipse SDK 3.7RC1 - May 6, 2011
143<br>Project org.eclipse.jdt.core v_B56
144(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B56">cvs</a>).
145<h2>What's new in this drop</h2>
146<ul>
147<li>Reverting fix for bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336648">336648</a></li>
148</ul>
149
150<h3>Problem Reports Fixed</h3>
151<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328575">328575</a>
152Inheritance of annotation fails with generic classes
153
154<a name="v_B55"></a>
155<hr><h1>
156Eclipse Platform Build Notes<br>
157Java development tools core</h1>
158Eclipse SDK 3.7RC1 - May 5, 2011
159<br>Project org.eclipse.jdt.core v_B55
160(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B55">cvs</a>).
161<h2>What's new in this drop</h2>
162
163<h3>Problem Reports Fixed</h3>
164<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=90486">90486</a>
165Give more info when a dependency cycle is detected
166<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343865">343865</a>
167[assist] CompletionContext token start and end incorrectly returning 0
168
169<a name="v_B54"></a>
170<hr><h1>
171Eclipse Platform Build Notes<br>
172Java development tools core</h1>
173Eclipse SDK 3.7RC1 - May 4, 2011
174<br>Project org.eclipse.jdt.core v_B54
175(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B54">cvs</a>).
176<h2>What's new in this drop</h2>
177
178<h3>Problem Reports Fixed</h3>
179<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=264301">264301</a>
180AssertionFailedException resolving JavaProject classpath
181
182<a name="v_B53"></a>
183<hr><h1>
184Eclipse Platform Build Notes<br>
185Java development tools core</h1>
186Eclipse SDK 3.7M7 - April 27, 2011 - 3.7.0 M7
187<br>Project org.eclipse.jdt.core v_B53
188(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B53">cvs</a>).
189<h2>What's new in this drop</h2>
190<ul>
191<li>Reverting fix for bug 292087: anonymous class in array member initializer confuses content assist</li>
192</ul>
193
194<h3>Problem Reports Fixed</h3>
195
196<a name="v_B52"></a>
197<hr><h1>
198Eclipse Platform Build Notes<br>
199Java development tools core</h1>
200Eclipse SDK 3.7M7 - April 27, 2011
201<br>Project org.eclipse.jdt.core v_B52
202(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B52">cvs</a>).
203<h2>What's new in this drop</h2>
204<ul>
205<li>Update copyrights</li>
206</ul>
207<h3>Problem Reports Fixed</h3>
208<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343785">343785</a>
209[1.7] Incorrect line numbers in stack trace with try with resources
210
211<a name="v_B51"></a>
212<hr><h1>
213Eclipse Platform Build Notes<br>
214Java development tools core</h1>
215Eclipse SDK 3.7M7 - April 25, 2011
216<br>Project org.eclipse.jdt.core v_B51
217(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B51">cvs</a>).
218<h2>What's new in this drop</h2>
219
220<h3>Problem Reports Fixed</h3>
221<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339226">339226</a>
222Document assumptions about DefaultBindingResolver.newAstToOldAst
223<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343713">343713</a>
224[compiler] bogus line number in constructor of inner class in 1.5 compliance
225<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343687">343687</a>
226[1.7] IAE in NumberLiteral#setToken(String) for binary tokens and tokens with underscore
227<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339478">339478</a>
228[1.7][compiler] support for diamond case
229
230<a name="v_B50"></a>
231<hr><h1>
232Eclipse Platform Build Notes<br>
233Java development tools core</h1>
234Eclipse SDK 3.7M7 - April 21, 2011
235<br>Project org.eclipse.jdt.core v_B50
236(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B50">cvs</a>).
237<h2>What's new in this drop</h2>
238
239<h3>Problem Reports Fixed</h3>
240<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343607">343607</a>
241[APT] Improve output for javax.annotation.processing.Messager problems
242<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343476">343476</a>
243[1.7][assist] propose String variables and fields inside catch expression
244<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=292087">292087</a>
245anonymous class in array member initializer confuses content assist
246<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343475">343475</a>
247[1.7] Compiler warning for invalid type inside switch needs to be improved
248<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343342">343342</a>
249[assist] Non constant variables, strings and methods are proposed inside case statements
250
251<a name="v_B49"></a>
252<hr><h1>
253Eclipse Platform Build Notes<br>
254Java development tools core</h1>
255Eclipse SDK 3.7M7 - April 21, 2011
256<br>Project org.eclipse.jdt.core v_B49
257(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B49">cvs</a>).
258<h2>What's new in this drop</h2>
259
260<h3>Problem Reports Fixed</h3>
261<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328281">328281</a>
262visibility leaks not detected when analyzing unused field in private class
263<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=335986">335986</a>
264No expected event fired when removing a JAR file from a classpath container
265<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342671">342671</a>
266ClassCastException: org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding cannot be cast to org.eclipse.jdt.internal.compiler.lookup.ArrayBinding
267
268<a name="v_B48"></a>
269<hr><h1>
270Eclipse Platform Build Notes<br>
271Java development tools core</h1>
272Eclipse SDK 3.7M7 - April 19, 2011
273<br>Project org.eclipse.jdt.core v_B48
274(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B48">cvs</a>).
275<h2>What's new in this drop</h2>
276
277<h3>Problem Reports Fixed</h3>
278<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337415">337415</a>
279External folders project is not created
280<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342455">342455</a>
281AST swallows stars ('*') at end of {@code} and {@literal} Javadoc fragments
282<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342757">342757</a>
283ArrayIndexOutOfBoundsException in MethodInfoWithParameterAnnotations.getParameterAnnotations when generating method info for an inner class constructor with annotated parameter
284<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340691">340691</a>
285Syntax error leads to ClassCastException in ASTConverter
286<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342671">342671</a>
287ClassCastException: org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding cannot be cast to org.eclipse.jdt.internal.compiler.lookup.ArrayBinding
288
289<a name="v_B47"></a>
290<hr><h1>
291Eclipse Platform Build Notes<br>
292Java development tools core</h1>
293Eclipse SDK 3.7M7 - April 13, 2011
294<br>Project org.eclipse.jdt.core v_B47
295(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B47">cvs</a>).
296<h2>What's new in this drop</h2>
297
298<h3>Problem Reports Fixed</h3>
299<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342300">342300</a>
300[null]Spurious &quot;null pointer access&quot; warning on unboxing
301<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342416">342416</a>
302[1.7] Signature#createIntersectionTypeSignature(..) should take array of signatures
303<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340059">340059</a>
304[1.7] IAE when dealing with Signature of disjunctive type
305<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=341759">341759</a>
306NPE in ITypeBinding#getName() for intersection type
307<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=341499">341499</a>
308[compiler][null] allocate extra bits in all methods of UnconditionalFlowInfo
309<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342054">342054</a>
310ILocalVariable#isParameter() returns true for exception of catch clause
311
312<a name="v_B46"></a>
313<hr><h1>
314Eclipse Platform Build Notes<br>
315Java development tools core</h1>
316Eclipse SDK 3.7M7 - April 6, 2011
317<br>Project org.eclipse.jdt.core v_B46
318(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B46">cvs</a>).
319<h2>What's new in this drop</h2>
320
321<h3>Problem Reports Fixed</h3>
322<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=341475">341475</a>
323Eclipse doesn't show a &quot;never read locally&quot; warning if a private field serialVersionUID exists but the class does not implement Serializable
324<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334493">334493</a>
325[1.7][compiler] Difference in behavior with Javac7
326
327<a name="v_B45"></a>
328<hr><h1>
329Eclipse Platform Build Notes<br>
330Java development tools core</h1>
331Eclipse SDK 3.7M7 - April 6, 2011
332<br>Project org.eclipse.jdt.core v_B45
333(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B45">cvs</a>).
334<h2>What's new in this drop</h2>
335
336<h3>Problem Reports Fixed</h3>
337<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338789">338789</a>
338[1.7][assist] No proposal inside a multi catch statement after '|'
339<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=341333">341333</a>
340[1.7][compiler] DisjunctiveTypeReference#resolveType(..) does not set the value for DisjunctiveTypeReference$resolvedType
341<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340634">340634</a>
342[1.7][compiler][multicatch] Compiler accepts type variables as catch parameter type
343<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=200827">200827</a>
344[spec] IElementChangedListener should mention where to register
345<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340626">340626</a>
346[1.7][compiler] Inconsistent source pinpointing in multi-catch blocks
347<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340513">340513</a>
348[1.7][compiler] Unicode 6.0 characters work at compiler compliance level 1.5 and 1.6
349<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340445">340445</a>
350[1.7] ASTRewriteAnalyzer and ASTRewriteFlattener need updates
351
352<a name="v_B44"></a>
353<hr><h1>
354Eclipse Platform Build Notes<br>
355Java development tools core</h1>
356Eclipse SDK 3.7M7 - March 22, 2011
357<br>Project org.eclipse.jdt.core v_B44
358(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B44">cvs</a>).
359<h2>What's new in this drop</h2>
360
361<h3>Problem Reports Fixed</h3>
362<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339447">339447</a>
363synchronized access modifier retained on clone() bridge
364<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340372">340372</a>
365[1.7] NaiveASTFlattener needs to support the new AST nodes
366<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340365">340365</a>
367[1.7] Problems in new APIs (TryStatementWithResources, DisjunctiveType)
368<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340375">340375</a>
369[1.7] Merge TryStatementWithResources into TryStatement
370<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339891">339891</a>
371NPE when searching for method (with '*' wildcard character)
372<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340022">340022</a>
373[1.7][compiler] Support for precise rethrow
374<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340029">340029</a>
375[1.5][compiler] Enum constructor that throws Exception reports a confusing error message
376
377<a name="v_B43"></a>
378<hr><h1>
379Eclipse Platform Build Notes<br>
380Java development tools core</h1>
381Eclipse SDK 3.7M7 - March 15, 2011
382<br>Project org.eclipse.jdt.core v_B43
383(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B43">cvs</a>).
384<h2>What's new in this drop</h2>
385
386<h3>Problem Reports Fixed</h3>
387<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339337">339337</a>
388isLocal() in IType returns true for anonymous types
389<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339837">339837</a>
390[1.7][compiler] Multicatch syntax not rejected at 1.6-
391<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337962">337962</a>
392COMPILER_PB_UNAVOIDABLE_GENERIC_TYPE_PROBLEMS misses reference to field from supertype
393<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338011">338011</a>
394COMPILER_PB_UNAVOIDABLE_GENERIC_TYPE_PROBLEMS wrongly suppresses constructor parameter type
395<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337751">337751</a>
396COMPILER_PB_UNAVOIDABLE_GENERIC_TYPE_PROBLEMS misses references in conditional expression
397<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339870">339870</a>
398[1.7] Bad list of subclasses in Statement AST node
399<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339913">339913</a>
400[compiler] Misleading error message for annotations inside a method body
401<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339864">339864</a>
402[1.7] Add recovery in ASTConverter for all new constructs in JLS3 mode
403<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338402">338402</a>
404[1.7][compiler][enh] Open issues in try with resources implementation
405
406<a name="v_B42"></a>
407<hr><h1>
408Eclipse Platform Build Notes<br>
409Java development tools core</h1>
410Eclipse SDK 3.7M6 - March 9, 2011 - 3.7.0 M6
411<br>Project org.eclipse.jdt.core v_B42
412(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B42">cvs</a>).
413<h2>What's new in this drop</h2>
414
415<h3>Problem Reports Fixed</h3>
416<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339250">339250</a>
417[null] Incorrect redundant null check warning on a String
418
419<a name="v_B41"></a>
420<hr><h1>
421Eclipse Platform Build Notes<br>
422Java development tools core</h1>
423Eclipse SDK 3.7M6 - March 8, 2011
424<br>Project org.eclipse.jdt.core v_B41
425(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B41">cvs</a>).
426<h2>What's new in this drop</h2>
427
428<h3>Problem Reports Fixed</h3>
429<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339139">339139</a>
430[compiler] HEAD contents of org.eclipse.wst.jsdt.core doesn't compile anymore
431<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338649">338649</a>
432[perfs] Regression on FullSourceWorkspaceModelTests#testInitJDTPlugin
433<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339128">339128</a>
434[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
435
436<a name="v_B40"></a>
437<hr><h1>
438Eclipse Platform Build Notes<br>
439Java development tools core</h1>
440Eclipse SDK 3.7M6 - March 6, 2011
441<br>Project org.eclipse.jdt.core v_B40
442(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B40">cvs</a>).
443<h2>What's new in this drop</h2>
444
445<h3>Problem Reports Fixed</h3>
446<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=326950">326950</a>
447[compiler][null]Do not optimize code generation based on static analysis (dead code)
448<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324178">324178</a>
449[null] ConditionalExpression.nullStatus(..) doesn't take into account the analysis of condition itself
450<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338006">338006</a>
451IJavaProject#getPackageFragmentRoots() should return roots in order
452<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338234">338234</a>
453[compiler] Missing warning for uninitialized variable in dead code
454<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336428">336428</a>
455[compiler][null] bogus warning &quot;redundant null check&quot; in condition of do {} while() loop
456
457<a name="v_B39"></a>
458<hr><h1>
459Eclipse Platform Build Notes<br>
460Java development tools core</h1>
461Eclipse SDK 3.7M6 - March 1, 2011
462<br>Project org.eclipse.jdt.core v_B39
463(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B39">cvs</a>).
464<h2>What's new in this drop</h2>
465<ul>
466<li>Added new constant on org.eclipse.jdt.core.IJavaProject to provide the value of the classpath file path. See details in bug
467<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=241598">241598</a>.
468</li>
469</ul>
470
471<h3>Problem Reports Fixed</h3>
472<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338118">338118</a>
473[compiler] CastExpression type should be changed to be a type reference and not an expression
474<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=171019">171019</a>
475[javadoc][select] F3 on {@inheritDoc} tag should navigate to target javadoc
476<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=222188">222188</a>
477[javadoc] Incorrect usage of inner type not reported
478<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338303">338303</a>
479[compiler][null] Warning about Redundant assignment conflicts with definite assignment analysis
480<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337868">337868</a>
481[compiler][model] incomplete support for package-info.java when using SearchableEnvironment
482<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337964">337964</a>
483[DOM] code that would definitely cause NPE if executed
484<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=241598">241598</a>
485[API] Constant needed for .classpath
486<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337795">337795</a>
487[1.7][compiler] Missing unchecked warning at varargs method/ctor declaration site
488<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337802">337802</a>
489[1.7][compiler] Usage of 0x0ffffffff is being reported as out of range.
490
491<a name="v_B38"></a>
492<hr><h1>
493Eclipse Platform Build Notes<br>
494Java development tools core</h1>
495Eclipse SDK 3.7M6 - February 22, 2011
496<br>Project org.eclipse.jdt.core v_B38
497(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B38">cvs</a>).
498<h2>What's new in this drop</h2>
499<ul>
500<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):
501<pre>
502/**
503 * Returns the parameters of this method.
504 * An empty array is returned, if the method has no parameters.
505 * For binary types, associated source is used to retrieve the name range,
506 * source range and the flags.
507 * These local variables can be used to retrieve the parameter annotations.
508 *
509 * @return the parameters of this method
510 * @throws JavaModelException if this element does not exist or if an
511 * exception occurs while accessing its corresponding resource.
512 * @since 3.7
513 */
514ILocalVariable[] getParameters() throws JavaModelException;
515</pre>
516</li>
517</ul>
518
519<h3>Problem Reports Fixed</h3>
520<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337799">337799</a>
521[1.7][compiler][varargs] Eclipse fails to report error on incorrect SafeVarargs usage
522<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337738">337738</a>
523[1.7][content assist]Test CompletionParserTest#testEA_1 fails
524<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334783">334783</a>
525[API] Add new API to ease the retrieval of the parameter annotations for an IMethod
526<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336046">336046</a>
527Source attachment not recovered when importing Projects
528<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336782">336782</a>
529[1.7][recovery]Extra error tokens with invalid unary operator
530<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313870">313870</a>
531Wrong warnings on Java.Compiler.Errors/Warnings &quot;Redundant null check&quot;
532<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337275">337275</a>
533Incorrect/outdated javadoc for org.eclipse.jdt.core.dom.Expression
534<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337093">337093</a>
535[compiler][generics] Javac-warning on vararg missing in Eclipse
536<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336934">336934</a>
537[compiler] NPE in Scope.getTypeOrPackage
538
539<a name="v_B37"></a>
540<hr><h1>
541Eclipse Platform Build Notes<br>
542Java development tools core</h1>
543Eclipse SDK 3.7M6 - February 15, 2011
544<br>Project org.eclipse.jdt.core v_B37
545(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B37">cvs</a>).
546<h2>What's new in this drop</h2>
547<ul>
548<li>Adding a new token "javadoc" for @suppressWarnings to remove all warnings related to javadoc.</li>
549</ul>
550
551<h3>Problem Reports Fixed</h3>
552<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=335751">335751</a>
553[1.7][compiler] Cycle inheritance in type arguments is not detected
554<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=335309">335309</a>
555[formatter] FUP of bug 332843: add regression test
556<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334622">334622</a>
557Eclipse compiler allows access to private fields for typed variables
558<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=274737">274737</a>
559Relative Classpath entries should not be resolved relative to the workspace
560<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=179566">179566</a>
561[compiler] Support of @SuppressWarnings for JavaDoc Warnings
562<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336821">336821</a>
563Javadoc reference to constructor does not work without parameter list
564<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331138">331138</a>
565ASTRewrite#replace(..) does not consider the TargetSourceRangeComputer
566
567<a name="v_B36"></a>
568<hr><h1>
569Eclipse Platform Build Notes<br>
570Java development tools core</h1>
571Eclipse SDK 3.7M6 - February 11, 2011
572<br>Project org.eclipse.jdt.core v_B36
573(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B36">cvs</a>).
574<h2>What's new in this drop</h2>
575<ul>
576<li>All JDT/Core projects (tests included) have been set to force strict compatibility between the JRE used for the project
577and the BREE defined for the project.</li>
578</ul>
579
580<h3>Problem Reports Fixed</h3>
581<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336544">336544</a>
582[regression][compiler] Source flagged as dead code incorrectly.
583<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=189459">189459</a>
584[1.6][compiler] Doc comment support should not be systematically activated while processing annotations
585<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332838">332838</a>
586Bogus potential null pointer access warning (regression; works with 3.6)
587<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334377">334377</a>
588[1.5][compiler] Invalid 'type mismatch' error in conditional expression (if-else construct behaves correct)
589<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336322">336322</a>
590[1.7][search]CCE while searching for a type reference in multiple catch parameters
591<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=335780">335780</a>
592Compiler says a method can be potentially static but this method contains 'this'
593<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=310747">310747</a>
594[content assist] Irrelevant proposals while completing inside array initializer.
595<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=335845">335845</a>
596[compiler] compiler wrongly suggests to add a static qualifier to a method
597<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=335602">335602</a>
598[search] Java indexing thread can index data outside of workspace
599
600<a name="v_B35"></a>
601<hr><h1>
602Eclipse Platform Build Notes<br>
603Java development tools core</h1>
604Eclipse SDK 3.7M5 - January 25, 2011 - 3.7.0 M5
605<br>Project org.eclipse.jdt.core v_B35
606(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B35">cvs</a>).
607<h2>What's new in this drop</h2>
608
609<h3>Problem Reports Fixed</h3>
610<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324189">324189</a>
611 [search] Method declaration search returns false results (suffix match on type name)
612<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327143">327143</a>
613IndexManager should not accept new jobs if the processing thread is null
614
615<a name="v_B34"></a>
616<hr><h1>
617Eclipse Platform Build Notes<br>
618Java development tools core</h1>
619Eclipse SDK 3.7M5 - January 24, 2011
620<br>Project org.eclipse.jdt.core v_B34
621(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B34">cvs</a>).
622<h2>What's new in this drop</h2>
623<ul>
624<li>New code formatter option to preserve existing white space between code and line comments.
625<br>See details in bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=282988">282988</a>:
626<pre>
627 /**
628 * FORMATTER / Option to control whether the white space between code and line comments should be preserved or replaced with a single space
629 * - option id: "org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments"
630 * - possible values: { TRUE, FALSE }
631 * - default: FALSE
632 *
633 * @see #TRUE
634 * @see #FALSE
635 * @since 3.7
636 */
637 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";
638</pre>
639</li>
640</ul>
641<h3>Problem Reports Fixed</h3>
642<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=335093">335093</a>
643[compiler][null] minimal hook for future null annotation support
644<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334119">334119</a>
645AIOOBE in BindingKeyParser.parseInnerType (was: Copy Qualified Name throws ArrayIndexOutOfBoundsException)
646<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=282988">282988</a>
647[formatter] Option to align single-line comments in a column
648<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334652">334652</a>
649Javadoc content not found for non-static inner class constructors
650<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=136091">136091</a>
651Cannot access Javadoc location over http
652<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=333089">333089</a>
653[compiler][null]AIOOBE while assigning variable a potentially null value in try/finally
654
655<a name="v_B33"></a>
656<hr><h1>
657Eclipse Platform Build Notes<br>
658Java development tools core</h1>
659Eclipse SDK 3.7M5 - January 18, 2011
660<br>Project org.eclipse.jdt.core v_B33
661(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B33">cvs</a>).
662<h2>What's new in this drop</h2>
663
664<h3>Problem Reports Fixed</h3>
665<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325418">325418</a>
666[search] Search for method declarations returns spurious potential matches for anonymous classes
667<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332744">332744</a>
668Generated model code doesn't compile with J2SE-1.4 execution environment
669<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334315">334315</a>
670[compiler] Problem types with missing superclass or superinterfaces should use Object for missing types
671<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=333956">333956</a>
672CompilerOptions#warningOptionNames(): OPTION_ReportRawTypeReference missing
673
674<a name="v_B32"></a>
675<hr><h1>
676Eclipse Platform Build Notes<br>
677Java development tools core</h1>
678Eclipse SDK 3.7M5 - January 11, 2011
679<br>Project org.eclipse.jdt.core v_B32
680(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B32">cvs</a>).
681<h2>What's new in this drop</h2>
682
683<h3>Problem Reports Fixed</h3>
684<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327654">327654</a>
685FUP of bug 317264: Refactoring is not possible if the commons-lang.jar is in the path
686<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=333710">333710</a>
687[DOM] wrong JavaElement for recovered ITypeBinding
688<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=333669">333669</a>
689[DOM] Incorrect signature for type arguments in test case from bug 333360
690<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=333360">333360</a>
691[DOM] eclipse fails to create array binding in this situation
692<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332423">332423</a>
693[1.5][compiler] ClassCastException when compiling against scala-libary.jar
694<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332268">332268</a>
695[assist] Allow proposals for static fields in initializers of fields being declared textually in advance
696<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331334">331334</a>
697[1.5][compiler] &quot;The code for the static initializer is exceeding the 65535 bytes limit&quot; in enum
698<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=333487">333487</a>
699[formatter] Incorrectly ordered method arguments in Scribe
700<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332843">332843</a>
701[formatter] format save action fails with SIOOBE
702
703<a name="v_B31"></a>
704<hr><h1>
705Eclipse Platform Build Notes<br>
706Java development tools core</h1>
707Eclipse SDK 3.7M5 - January 4, 2011
708<br>Project org.eclipse.jdt.core v_B31
709(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B31">cvs</a>).
710<h2>What's new in this drop</h2>
711
712<h3>Problem Reports Fixed</h3>
713<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317039">317039</a>
714[formatter] Code Formatter fails on inner class source indentation
715<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330313">330313</a>
716[formatter] 'Never join already wrapped lines' formatter option does correctly indent
717<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329227">329227</a>
718Usage of broken quicksort algorithm in jdt.internal.compiler.util.Util
719<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332359">332359</a>
720org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding should return number of fields directly
721<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332818">332818</a>
722[formatter] Java formatter, Blank Lines tab, only 1st line indented when multiple lines is set
723<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332877">332877</a>
724[formatter] line comment wrongly put on a new line
725
726<a name="v_B30"></a>
727<hr><h1>
728Eclipse Platform Build Notes<br>
729Java development tools core</h1>
730Eclipse SDK 3.7M5 - December 21, 2010
731<br>Project org.eclipse.jdt.core v_B30
732(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B30">cvs</a>).
733<h2>What's new in this drop</h2>
734<ul>
735<li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_MISSING_STATIC_ON_METHOD added to raise warning or error for a method
736 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>):
737<pre>
738 /**
739 * Compiler option ID: Reporting a method that qualifies as static, but not declared static.
740 * When enabled, the compiler will issue an error or a warning if a method has
741 * not been declared as <code>static</code>, even though it qualifies as one.
742 *
743 * Option id:<code>"org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic"</code>
744 * Possible values:<code>{ "error", "warning", "ignore" }</code>
745 * Default:<code>"ignore"</code>
746 *
747 * @since 3.7
748 * @category CompilerOptionID
749 */
750 public static final String COMPILER_PB_MISSING_STATIC_ON_METHOD = PLUGIN_ID + ".compiler.problem.reportMethodCanBeStatic";
751 </pre>
752</li>
753<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
754 which may qualify to be declared as <code>static</code> when another method doesn't override it,
755 but not been declared as one.(see details in bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322581">318682</a>):
756<pre>
757 /**
758 * Compiler option ID: Reporting a method that may qualify as static, but not declared static.
759 * When enabled, the compiler will issue an error or a warning if a method has
760 * not been declared as <code>static</code>, even though it may qualify as one,
761 * when another method doesn't override it.
762 *
763 * Option id:<code>"org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic"</code>
764 * Possible values:<code>{ "error", "warning", "ignore" }</code>
765 * Default:<code>"ignore"</code>
766 *
767 * @since 3.7
768 * @category CompilerOptionID
769 */
770 public static final String COMPILER_PB_POTENTIALLY_MISSING_STATIC_ON_METHOD = PLUGIN_ID + ".compiler.problem.reportMethodCanBePotentiallyStatic";
771</pre>
772</li>
773<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>):
774<pre>
775 /**
776 * Compiler option ID: Reporting of Unavoidable Generic Type Problems.
777 * When enabled, the compiler will issue an error or warning even when it detects a generic type problem
778 * that could not have been avoided by the programmer. As an example, a type may be forced to use raw types
779 * in its method signatures and return types because the methods it overrides from a super type are declared to
780 * use raw types in the first place.
781 *
782 * Option id:<code>"org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems"</code>
783 * Possible values:<code>{ "enabled", "disabled" }</code>
784 * Default:<code>"enabled"</code>
785 *
786 * @since 3.7
787 * @category CompilerOptionID
788 */
789 public static final String COMPILER_PB_UNAVOIDABLE_GENERIC_TYPE_PROBLEMS = PLUGIN_ID + ".compiler.problem.unavoidableGenericTypeProblems";
790</pre>
791</li>
792</ul>
793
794<h3>Problem Reports Fixed</h3>
795<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327471">327471</a>
796java.io.EOFException at java.io.DataInputStream.readInt(Unknown Source)
797<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332619">332619</a>
798Small error in IType#codeComplete Javadoc example
799<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=318682">318682</a>
800Enhancement request: Warning if no fields are used and the method is still not static
801<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322817">322817</a>
802Compiler option to ignore unavoidable type safety problems due to raw APIs
803<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332451">332451</a>
804Javadoc cleanup in SearchEngine#createJavaSearchScope(IJavaElement[], int)
805<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=332637">332637</a>
806Dead Code detection removing code that isn't dead
807
808<a name="v_B29"></a>
809<hr><h1>
810Eclipse Platform Build Notes<br>
811Java development tools core</h1>
812Eclipse SDK 3.7M5 - December 14, 2010
813<br>Project org.eclipse.jdt.core v_B29
814(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B29">cvs</a>).
815<h2>What's new in this drop</h2>
816
817<h3>Problem Reports Fixed</h3>
818<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331736">331736</a>
819[dom] tests should check for malformed nodes - may catch a parser bug
820
821<a name="v_B28"></a>
822<hr><h1>
823Eclipse Platform Build Notes<br>
824Java development tools core</h1>
825Eclipse SDK 3.7M4 - December 6, 2010 - 3.7.0 M4
826<br>Project org.eclipse.jdt.core v_B28
827(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B28">cvs</a>).
828<h2>What's new in this drop</h2>
829
830<h3>Problem Reports Fixed</h3>
831<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331872">331872</a>
832[compiler] NPE in Scope.createArrayType when attempting qualified access from type parameter
833<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331770">331770</a>
834org.eclipse.jdt.core.tests.model.JavaSearchBugsTests.testBug323514a() is failing in N20101202-2000
835<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331632">331632</a>
836FUP of 323514: Add performance tracking test for scenario
837
838<a name="v_B27"></a>
839<hr><h1>
840Eclipse Platform Build Notes<br>
841Java development tools core</h1>
842Eclipse SDK 3.7M4 - December 4, 2010 - 3.7.0 M4
843<br>Project org.eclipse.jdt.core v_B27
844(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B27">cvs</a>).
845<h2>What's new in this drop</h2>
846
847<h3>Problem Reports Fixed</h3>
848<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324367">324367</a>
849IJavaProject.findPackageFragmentRoots(IClasspathEntry cpe) returns empty list
850<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327899">327899</a>
851include the Ant compiler adapter in ecj JAR
852<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331446">331446</a>
853[1.4/1.5] Unexpected ambiguous error for 1.4 project
854<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323514">323514</a>
855[indexing] The Java Indexer is taking longer to run in eclipse 3.6 when opening projects
856<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329671">329671</a>
857Regression: arg0,1,2... parameter names are cached
858<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=305172">305172</a>
859[common navigator] Project Explorer not fully updating with jar classpath container changes.
860
861<a name="v_B26"></a>
862<hr><h1>
863Eclipse Platform Build Notes<br>
864Java development tools core</h1>
865Eclipse SDK 3.7M4 - November 30, 2010
866<br>Project org.eclipse.jdt.core v_B26
867(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B26">cvs</a>).
868<h2>What's new in this drop</h2>
869
870<h3>Problem Reports Fixed</h3>
871<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331271">331271</a>
872[assist] Reconsider assumption to filter not yet declared fields from being proposed
873<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329663">329663</a>
874[type hierarchy] Interfaces duplicated in type hierarchy on two packages from multiple projects
875<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328362">328362</a>
876[formatter] Format regions does not format as expected
877<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331120">331120</a>
878Improvements to Signature API
879<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=299384">299384</a>
880codeSelect does not find declaration of constructor with generic parameter type when referenced from 1.4 code
881<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329822">329822</a>
882[1.7][compiler] Stackoverflow error if compiled in 1.7 compliance mode
883<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330869">330869</a>
884Bogus error reported for Incompatible operand types Class&lt;capture#2-of ? extends T&gt; and Class&lt;Bug.Bar&gt;
885<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330845">330845</a>
886[Model] Possible bug in Member class
887
888<a name="v_B25"></a>
889<hr><h1>
890Eclipse Platform Build Notes<br>
891Java development tools core</h1>
892Eclipse SDK 3.7M4 - November 23, 2010
893<br>Project org.eclipse.jdt.core v_B25
894(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B25">cvs</a>).
895<h2>What's new in this drop</h2>
896<ul>
897<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>):
898<pre>
899 /**
900 * Answers true if the given name, starting from the given index, starts with the given prefix,
901 * false otherwise. isCaseSensitive is used to find out whether or not the comparison should be
902 * case sensitive.
903 *
904 *
905 * For example:
906 *
907 * 1. prefix = { 'a' , 'B' }
908 * name = { 'c', 'd', 'a' , 'b', 'b', 'a', 'b', 'a' }
909 * startIndex = 2
910 * isCaseSensitive = false
911 * result => true
912 *
913 * 2. prefix = { 'a' , 'B' }
914 * name = { 'c', 'd', 'a' , 'b', 'b', 'a', 'b', 'a' }
915 * startIndex = 2
916 * isCaseSensitive = true
917 * result => false
918 *
919 *
920 * @param prefix the given prefix
921 * @param name the given name
922 * @param isCaseSensitive to find out whether or not the comparison should be case sensitive
923 * @param startIndex index from which the prefix should be searched in the name
924 * @return true if the given name starts with the given prefix, false otherwise
925 * @throws NullPointerException if the given name is null or if the given prefix is null
926 * @since 3.7
927 */
928 public static final boolean prefixEquals(char[] prefix, char[] name, boolean isCaseSensitive, int startIndex)
929</pre>
930</li>
931</ul>
932
933<h3>Problem Reports Fixed</h3>
934<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325481">325481</a>
935[assist] fields declared after a particular field are proposed in its initialization
936<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329727">329727</a>
937Invalid check in the isConstructor() method of the IMethod implementation.
938<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329288">329288</a>
939Fetching parameter names literally hangs on a class with a lot of methods
940<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330435">330435</a>
941[1.4][1.5][compiler] Wrong handling of parameterized methods in 1.4 mode with generified JDK
942<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330445">330445</a>
943[1.4][1.5][compiler] Properties doesn't match Map&lt;String, String&gt; in 1.4 compliance mode
944<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330347">330347</a>
945[1.4][1.5][compiler] The performance test FullSourceWorkspaceBuildTests#testFullBuildDefault() fails
946<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329156">329156</a>
947[compiler][APT] Source generated in last round not compiled
948
949<a name="v_B24"></a>
950<hr><h1>
951Eclipse Platform Build Notes<br>
952Java development tools core</h1>
953Eclipse SDK 3.7M4 - November 16, 2010
954<br>Project org.eclipse.jdt.core v_B24
955(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B24">cvs</a>).
956<h2>What's new in this drop</h2>
957
958<h3>Problem Reports Fixed</h3>
959<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329998">329998</a>
960[content assist] override method proposal in anonymous class inserts bad stub
961<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330081">330081</a>
962[compiler] ArrayIndexOutOfBoundsException when Switched from C/C++ Perspective to Java Perspective
963<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328519">328519</a>
964[compiler] local variable cannot be optimized out despite warning &quot;not used&quot;
965<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329709">329709</a>
966[formatter] Formatter fails to format enum with extra semicolon and body
967
968<a name="v_B23"></a>
969<hr><h1>
970Eclipse Platform Build Notes<br>
971Java development tools core</h1>
972Eclipse SDK 3.7M4 - November 9, 2010
973<br>Project org.eclipse.jdt.core v_B23
974(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B23">cvs</a>).
975<h2>What's new in this drop</h2>
976
977<h3>Problem Reports Fixed</h3>
978<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329593">329593</a>
979[1.4/1.5] [compiler] incorrect error about incompatible operand
980<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329588">329588</a>
981[1.4/1.5][compiler] Class cast issue with java.lang.Class and the 1.4/1.5 mixed mode
982<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329584">329584</a>
983[1.4/1.5][compiler] Compiler is confused about name clashes in 1.4 project
984<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328674">328674</a>
985[assist] local being declared proposed inside its initialization
986<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=329344">329344</a>
987[compiler] Batch compiler should not removed some duplicated entries on the classpath
988<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186565">186565</a>
989[1.5][compiler] 1.4/1.5 .class file interaction
990<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328689">328689</a>
991[1.4][compiler] &quot;Incompatible conditional operand types Class and Class&quot;
992<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328775">328775</a>
993[compiler] Compiler fails to warn about invalid cast when using J2SE 1.4 compiler settings
994<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328827">328827</a>
995Compiler fails to recognize a Map when using J2SE 1.4 compiler settings
996<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324850">324850</a>
997Compile error claims method is missing but is inherited
998<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328969">328969</a>
999[DOM] NPE retrieving a java element for an annotation binding
1000
1001<a name="v_B22"></a>
1002<hr><h1>
1003Eclipse Platform Build Notes<br>
1004Java development tools core</h1>
1005Eclipse SDK 3.7M3 - October 28, 2010 - 3.7.0 M3
1006<br>Project org.eclipse.jdt.core v_B22
1007(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B22">cvs</a>).
1008<h2>What's new in this drop</h2>
1009This build input simply reverts the change made for bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324850">324850</a>.
1010
1011<h3>Problem Reports Fixed</h3>
1012
1013<a name="v_B21"></a>
1014<hr><h1>
1015Eclipse Platform Build Notes<br>
1016Java development tools core</h1>
1017Eclipse SDK 3.7M3 - October 27, 2010
1018<br>Project org.eclipse.jdt.core v_B21
1019(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B21">cvs</a>).
1020<h2>What's new in this drop</h2>
1021
1022<h3>Problem Reports Fixed</h3>
1023<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328786">328786</a>
1024[search] NPE in field match locator
1025<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328744">328744</a>
1026Removed warnings related to fix for 185682
1027<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=229042">229042</a>
1028[buildpath] could create build path error in case of invalid external JAR format
1029
1030<a name="v_B20"></a>
1031<hr><h1>
1032Eclipse Platform Build Notes<br>
1033Java development tools core</h1>
1034Eclipse SDK 3.7M3 - October 25, 2010
1035<br>Project org.eclipse.jdt.core v_B20
1036(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B20">cvs</a>).
1037<h2>What's new in this drop</h2>
1038
1039<h3>Problem Reports Fixed</h3>
1040<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=282152">282152</a>
1041[1.5][compiler] Generics code rejected by Eclipse but accepted by javac
1042<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328240">328240</a>
1043org.eclipse.text.edits.MalformedTreeException: Overlapping text edits
1044
1045<a name="v_B19"></a>
1046<hr><h1>
1047Eclipse Platform Build Notes<br>
1048Java development tools core</h1>
1049Eclipse SDK 3.7M3 - October 24, 2010
1050<br>Project org.eclipse.jdt.core v_B19
1051(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B19">cvs</a>).
1052<h2>What's new in this drop</h2>
1053
1054<h3>Problem Reports Fixed</h3>
1055<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=185682">185682</a>
1056Increment/decrement operators mark local variables as read
1057<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328400">328400</a>
1058TextEdit computed incorrectly for inserting annotation before package declaration
1059<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=303511">303511</a>
1060Allow to specify encoding for source attachments
1061<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=326354">326354</a>
1062[3.6][compiler][regression] Compiler in 3.6 and 3.6.1 generates bad code
1063<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328361">328361</a>
1064[1.4][compiler] variable initialized within an assert expression are no longer reported as potential non initialized
1065<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328247">328247</a>
1066Disassemble fails to disassemble synthetic constructor with varargs arguments
1067<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328115">328115</a>
1068[DOM] All ASTNode APIs should specify types of property descriptors
1069
1070<a name="v_B18"></a>
1071<hr><h1>
1072Eclipse Platform Build Notes<br>
1073Java development tools core</h1>
1074Eclipse SDK 3.7M3 - October 19, 2010
1075<br>Project org.eclipse.jdt.core v_B18
1076(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B18">cvs</a>).
1077<h2>What's new in this drop</h2>
1078
1079<h3>Problem Reports Fixed</h3>
1080<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327429">327429</a>
1081Use Charset.name() instead of Charset.toString() to get the encoding
1082<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327817">327817</a>
1083ecjsrc.zip should be ecjsrc.jar
1084
1085<a name="v_B17"></a>
1086<hr><h1>
1087Eclipse Platform Build Notes<br>
1088Java development tools core</h1>
1089Eclipse SDK 3.7M3 - October 12, 2010
1090<br>Project org.eclipse.jdt.core v_B17
1091(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B17">cvs</a>).
1092<h2>What's new in this drop</h2>
1093<ul>
1094<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
1095 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>):
1096<pre>
1097 /**
1098 * Compiler option ID: Reporting Missing Javadoc Tags for Method Type Parameters.
1099 * Specify whether a missing <code>@param</code> for a type parameter in a method declaration should be reported.
1100 * When enabled, the compiler will issue a missing Javadoc tag error or warning for a type parameter without a
1101 * corresponding <code>@param</code> tag.
1102 *
1103 * This option only has an effect if the compiler compliance is 1.5 or greater.
1104 *
1105 * Option id:<code>"org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters"</code>
1106 * Possible values:<code>{ "enabled", "disabled" }</code>
1107 * Default:<code>"disabled"</code>
1108 *
1109 * @since 3.7
1110 * @category CompilerOptionID
1111 */
1112 public static final String COMPILER_PB_MISSING_JAVADOC_TAGS_METHOD_TYPE_PARAMETERS = PLUGIN_ID + ".compiler.problem.missingJavadocTagsMethodTypeParameters";
1113</pre>
1114</li>
1115<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>).
1116<pre>
1117 /**
1118 * Returns the value of the named property of this rewrite, or null if none.
1119 *
1120 * @param propertyName the property name
1121 * @return the property value, or <code>null</code> if none
1122 * @see #setProperty(String,Object)
1123 * @throws IllegalArgumentException if the given property name is null
1124 * @since 3.7
1125 */
1126 public final Object getProperty(String propertyName);
1127</pre>
1128<pre>
1129 /**
1130 * Sets the named property of this rewrite to the given value,
1131 * or to null to clear it.
1132 *
1133 * Clients should employ property names that are sufficiently unique
1134 * to avoid inadvertent conflicts with other clients that might also be
1135 * setting properties on the same rewrite.
1136 *
1137 *
1138 * Note that modifying a property is not considered a modification to the
1139 * AST itself. This is to allow clients to decorate existing rewrites with
1140 * their own properties without jeopardizing certain things (like the
1141 * validity of bindings), which rely on the underlying tree remaining static.
1142 *
1143 *
1144 * @param propertyName the property name
1145 * @param data the new property value, or null if none
1146 * @see #getProperty(String)
1147 * @throws IllegalArgumentException if the given property name is null
1148 * @since 3.7
1149 */
1150 public final void setProperty(String propertyName, Object data);
1151</pre>
1152</li>
1153</ul>
1154
1155<h3>Problem Reports Fixed</h3>
1156<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324367">324367</a>
1157IJavaProject.findPackageFragmentRoots(IClasspathEntry cpe) returns empty list
1158<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=311022">311022</a>
1159NPE in InternalExtendedCompletionContext.getVisibleElement
1160<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325131">325131</a>
1161ASTRewrite should offer get/setProperty() like ASTNode
1162<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322789">322789</a>
1163package-info.java Won't Build On First Compile Pass
1164<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322581">322581</a>
1165[5.0] Add Javadoc compiler option to (not) report missing tags for method type parameters
1166
1167<a name="v_B16"></a>
1168<hr><h1>
1169Eclipse Platform Build Notes<br>
1170Java development tools core</h1>
1171Eclipse SDK 3.7M3 - October 5, 2010 - 3.7.0 M3
1172<br>Project org.eclipse.jdt.core v_B16
1173(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B16">cvs</a>).
1174<h2>What's new in this drop</h2>
1175<ul>
1176<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>):
1177<pre>
1178 /**
1179 * Compiler option ID: Raise null related errors or warnings arising because of assert statements.
1180 * When enabled, the compiler will flag all null related errors or warnings that have been enabled by the user,
1181 * irrespective of whether a variable occurred in an assert statement.
1182 * When disabled, the compiler will not flag null related errors or warnings on variables that got marked as maybe or definitely
1183 * <code>null</code> in an assert statement upstream.
1184 *
1185 * Option id:<code>"org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts"</code>
1186 * Possible values:<code>{ "enabled", "disabled" }</code>
1187 * Default:<code>"disabled"</code>
1188 *
1189 * @since 3.7
1190 * @category CompilerOptionID
1191 */
1192 public static final String COMPILER_PB_INCLUDE_ASSERTS_IN_NULL_ANALYSIS = PLUGIN_ID + ".compiler.problem.includeNullInfoFromAsserts";
1193</pre>
1194</li>
1195</ul>
1196
1197<h3>Problem Reports Fixed</h3>
1198<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323012">323012</a>
1199[jsr14][compiler] Class literal value is not cached when target is jsr14
1200<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325342">325342</a>
1201Add new option for null analysis based on assert result.
1202
1203<a name="v_B15"></a>
1204<hr><h1>
1205Eclipse Platform Build Notes<br>
1206Java development tools core</h1>
1207Eclipse SDK 3.7M3 - September 28, 2010
1208<br>Project org.eclipse.jdt.core v_B15
1209(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B15">cvs</a>).
1210<h2>What's new in this drop</h2>
1211
1212<h3>Problem Reports Fixed</h3>
1213<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=312603">312603</a>
1214[content assist] field being declared is proposed as a method argument inside initialization
1215<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325342">325342</a>
1216Add new option for null analysis based on assert result.
1217<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325481">325481</a>
1218[assist] fields declared after a particular field are proposed in its initialization
1219<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325633">325633</a>
12201.4 project confused when referencing a return type of generic array from 1.5 project
1221
1222<a name="v_B14a"></a>
1223<hr><h1>
1224Eclipse Platform Build Notes<br>
1225Java development tools core</h1>
1226Eclipse SDK 3.7M3 - September 21, 2010
1227<br>Project org.eclipse.jdt.core v_B14a
1228(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B14a">cvs</a>).
1229<h2>What's new in this drop</h2>
1230
1231<h3>Problem Reports Fixed</h3>
1232<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325567">325567</a>
1233A blocking &quot;java.lang.IllegalArgumentException: info cannot be null&quot; exception
1234
1235<a name="v_B13a"></a>
1236<hr><h1>
1237Eclipse Platform Build Notes<br>
1238Java development tools core</h1>
1239Eclipse SDK 3.7M2 - September 21, 2010 - 3.7.0 M2
1240<br>Project org.eclipse.jdt.core v_B13a
1241(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B13a">cvs</a>).
1242<h2>What's new in this drop</h2>
1243
1244<h3>Problem Reports Fixed</h3>
1245<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325755">325755</a>
1246[compiler] wrong initialization state after conditional expression
1247
1248<a name="v_B13"></a>
1249<hr><h1>
1250Eclipse Platform Build Notes<br>
1251Java development tools core</h1>
1252Eclipse SDK 3.7M2 - September 15, 2010
1253<br>Project org.eclipse.jdt.core v_B13
1254(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B13">cvs</a>).
1255<h2>What's new in this drop</h2>
1256
1257<h3>Problem Reports Fixed</h3>
1258<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325229">325229</a>
1259[compiler] eclipse compiler differs from javac when assert is present (FUP of bug 319510)
1260<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325270">325270</a>
1261[content assist] Parameter names are not displayed for static inner class of an external jar
1262<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325321">325321</a>
1263[compiler] Synthetic constructors for non-static inner classes can exceed 255 parameters -&gt; ClassFormatError
1264
1265<a name="v_B12a"></a>
1266<hr><h1>
1267Eclipse Platform Build Notes<br>
1268Java development tools core</h1>
1269Eclipse SDK 3.7M2 - September 13, 2010
1270<br>Project org.eclipse.jdt.core v_B12a
1271(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B12a">cvs</a>).
1272<h2>What's new in this drop</h2>
1273
1274<h3>Problem Reports Fixed</h3>
1275<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324840">324840</a>
1276[compiler] Improving debug strings for Break statement, IntLiteral and CaseStatement
1277<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324848">324848</a>
1278[1.6][compiler] NullPointerException when trying to synchronize on non-existing outer class instance
1279
1280<a name="v_B11"></a>
1281<hr><h1>
1282Eclipse Platform Build Notes<br>
1283Java development tools core</h1>
1284Eclipse SDK 3.7M2 - September 9, 2010 - 3.7.0 M2
1285<br>Project org.eclipse.jdt.core v_B11
1286(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B11">cvs</a>).
1287<h2>What's new in this drop</h2>
1288<ul>
1289<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>):
1290<pre>
1291 /**
1292 * Returns true if this local variable is a method parameter, false otherwise.
1293 *
1294 * @return true if this local variable is a method parameter, false otherwise
1295 * @since 3.7
1296 */
1297 boolean isParameter();
1298
1299 /**
1300 * Returns the modifier flags for this local variable. The flags can be examined using class.
1301 *
1302 * Note that only flags as indicated in the source are returned.
1303 *
1304 * @return the modifier flags for this local variable
1305 * @see Flags
1306 * @since 3.7
1307 */
1308 int getFlags();
1309
1310 /**
1311 * Returns the declaring member of this local variable.
1312 *
1313 * This is a handle-only method.
1314 *
1315 * @return the declaring member of this local variable
1316 * @since 3.7
1317 */
1318 IMember getDeclaringMember();
1319
1320 /**
1321 * Returns the Java type root in which this local variable is declared.
1322 *
1323 * This is a handle-only method.
1324 *
1325 * @return the Java type root in which this local variable is declared
1326 * @since 3.7
1327 */
1328 ITypeRoot getTypeRoot();
1329</pre>
1330</li>
1331<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>):
1332<pre>
1333 /**
1334 * Returns the Java type root in which this type parameter is declared.
1335 *
1336 * This is a handle-only method.
1337 *
1338 * @return the Java type root in which this type parameter is declared
1339 * @since 3.7
1340 */
1341 ITypeRoot getTypeRoot();
1342</pre>
1343</li>
1344</ul>
1345
1346<h3>Problem Reports Fixed</h3>
1347<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324762">324762</a>
1348Compiler thinks there is deadcode and removes it!
1349<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=292478">292478</a>
1350Report potentially null across variable assignment
1351<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324748">324748</a>
1352JDT core tests have restrictive range on com.ibm.icu
1353<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323633">323633</a>
1354[1.5][compiler] Reconciler issues mixing 1.4 projects with &amp; 1.5 project with generics.
1355<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317046">317046</a>
1356Exception during debugging when hover mouse over a field
1357<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=48420">48420</a>
1358[API] ILocalVariable and ITypeParameter should provide more methods
1359<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321414">321414</a>
1360Synthetic constructors can exceed 255 parameters -&gt; ClassFormatError
1361
1362<a name="v_B10"></a>
1363<hr><h1>
1364Eclipse Platform Build Notes<br>
1365Java development tools core</h1>
1366Eclipse SDK 3.7M2 - September 7, 2010
1367<br>Project org.eclipse.jdt.core v_B10
1368(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B10">cvs</a>).
1369<h2>What's new in this drop</h2>
1370<ul>
1371<li>Code formatter: 4 new options were added to better handle the addition of
1372new lines after annotations.
1373<pre>
1374 * FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_FIELD
1375 * FORMATTER / Option to insert a new line after an annotation on a field declaration
1376 * - option id: "org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field"
1377 * - possible values: { INSERT, DO_NOT_INSERT }
1378 * - default: INSERT
1379 *
1380 * FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_METHOD
1381 * FORMATTER / Option to insert a new line after an annotation on a method declaration
1382 * - option id: "org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method"
1383 * - possible values: { INSERT, DO_NOT_INSERT }
1384 * - default: INSERT
1385 *
1386 * FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_PACKAGE
1387 * FORMATTER / Option to insert a new line after an annotation on a package declaration
1388 * - option id: "org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package"
1389 * - possible values: { INSERT, DO_NOT_INSERT }
1390 * - default: INSERT
1391 *
1392 * FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_TYPE
1393 * FORMATTER / Option to insert a new line after an annotation on a type declaration
1394 * - option id: "org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type"
1395 * - possible values: { INSERT, DO_NOT_INSERT }
1396 * - default: INSERT
1397</pre>
1398The 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>
1399Also note that previously available code formatter constant FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_MEMBER has been deprecated.<br>
1400All new options must be enabled to activate old strategy.
1401</li>
1402<li>
1403The previously added new APIs:
1404<blockquote>
1405<code>org.eclipse.jdt.core.IImportDeclaration#getNameRange()</code>,<br>
1406<code>org.eclipse.jdt.core.IPackageDeclaration#getNameRange()</code>
1407</blockquote>
1408have 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:
1409<pre>
1410/**
1411 * Returns the name range associated with this element.
1412 *
1413 * If the element is an IMember, it returns
1414 * the source range of this member's simple name,
1415 * or null if this member does not have a name
1416 * (for example, an initializer), or if this member does not have
1417 * associated source code (for example, a binary type).
1418 *
1419 * If this element is an IImportDeclaration, the source range
1420 * of this import declaration's name, or null if this import
1421 * declaration does not have associated source code (for example, a binary type).
1422 * The source range for the name includes the trailing '*' if the call to
1423 * IImportDeclaration#isOnDemand() returns true.
1424 *
1425 * If this element is an IPackageDeclaration, the source range of
1426 * this package declaration's name, or null if this package
1427 * declaration does not have associated source code (for example, a binary type).
1428 *
1429 * If this element is an IAnnotation, the source range of
1430 * this annotation's name, or null if this annotation does not have
1431 * associated source code (for example, in a binary type).
1432 *
1433 * If this element is an ITypeParameter, the source range of this
1434 * type parameter's name, or null if this type parameter does not have
1435 * associated source code (for example, in a binary type).
1436 *
1437 * If this element is an ITypeRoot or IImportContainer, it
1438 * returns null.
1439 *
1440 * @return the name range associated with this element, or null if
1441 * not available
1442 *
1443 * @since 3.7
1444 */
1445ISourceRange getNameRange() throws JavaModelException;
1446</pre>
1447</li>
1448</ul>
1449
1450<h3>Problem Reports Fixed</h3>
1451<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322979">322979</a>
1452[search] use of IJavaSearchConstants.IMPLEMENTORS yields surprising results
1453<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316937">316937</a>
1454JavaElement.getElementInfo(..) throws JavaModelException when trying to get info for an inner class in an external jar
1455<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322531">322531</a>
1456[1.5][Generics] eclipse compiles code rejected by javac with incomparable types error.
1457<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=308000">308000</a>
1458[formatter] Formatter is missing options regarding Annotation Newlines
1459<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321276">321276</a>
1460JDT core apis dont recognize InnerClass constructor inside .class files
1461<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=252556">252556</a>
1462[formatter] Spaces removed before formatted region of a compilation unit.
1463<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323785">323785</a>
1464[builder] NPE when adding 'package-info.java' to default package
1465<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321358">321358</a>
1466NPE refreshing external folders
1467<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322596">322596</a>
1468[DOM] ASTNode APIs should specify types of property descriptors
1469<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324109">324109</a>
1470[search] Java search shows incorrect results as accurate matches
1471<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324154">324154</a>
1472NPE in FlowContext while building
1473<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=133125">133125</a>
1474[compiler][null] need to report the null status of expressions and analyze them simultaneously
1475<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321695">321695</a>
1476Test added for bug 319425 doesn't detect the bug
1477<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=258905">258905</a>
1478making java.lang.AssertionError accessible thru resolveWellKnownType method
1479<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321764">321764</a>
1480Add getNameRange() to ISourceReference
1481
1482<a name="v_B09"></a>
1483<hr><h1>
1484Eclipse Platform Build Notes<br>
1485Java development tools core</h1>
1486Eclipse SDK 3.7M2 - August 31, 2010 - 3.7.0 M2
1487<br>Project org.eclipse.jdt.core v_B09
1488(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B09">cvs</a>).
1489<h2>What's new in this drop</h2>
1490
1491<h3>Problem Reports Fixed</h3>
1492<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=311578">311578</a>
1493[formatter] Enable/disable tag detection should include comment start/end tokens
1494<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320618">320618</a>
1495inconsistent initialization of classpath container backed by external class folder
1496<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323693">323693</a>
1497[1.5][compiler] Compiler fails to diagnose name clash
1498<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323558">323558</a>
1499Tests test0307a and test0307e under BatchCompilerTest failing
1500<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=308402">308402</a>
1501[index] PatternSearchJob ignores participant index entries
1502<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317264">317264</a>
1503[search] Refactoring is impossible with commons.lang added to project
1504
1505<a name="v_B08"></a>
1506<hr><h1>
1507Eclipse Platform Build Notes<br>
1508Java development tools core</h1>
1509Eclipse SDK 3.7M1 - August 24, 2010
1510<br>Project org.eclipse.jdt.core v_B08
1511(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B08">cvs</a>).
1512<h2>What's new in this drop</h2>
1513
1514<h3>Problem Reports Fixed</h3>
1515<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321926">321926</a>
1516Erroneously deems null check conditional branch to be dead code, and produces incorrect bytecode
1517<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320170">320170</a>
1518[compiler] [null] Whitebox issues in null analysis
1519<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=305259">305259</a>
1520Strange error when referencing code produced with jsr14 target
1521<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321115">321115</a>
1522Compiler is not case sensitive with package names
1523<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=310427">310427</a>
1524[content assist] FUP of 236306: Variable proposed before definition.
1525<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320911">320911</a>
1526Not all redundant superinterface problems reported
1527
1528<a name="v_B07"></a>
1529<hr><h1>
1530Eclipse Platform Build Notes<br>
1531Java development tools core</h1>
1532Eclipse SDK 3.7M1 - August 17, 2010
1533<br>Project org.eclipse.jdt.core v_B07
1534(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B07">cvs</a>).
1535<h2>What's new in this drop</h2>
1536
1537<h3>Problem Reports Fixed</h3>
1538<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319201">319201</a>
1539[null] no warning when unboxing SingleNameReference causes NPE
1540<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322154">322154</a>
1541Compiler bug that does not occur in Galileo 3.5.2
1542<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320754">320754</a>
1543[formatter] formatter:off/on tags does not work correctly
1544<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322001">322001</a>
1545[1.5][compiler] Name Clash error occurs
1546
1547<a name="v_B06"></a>
1548<hr><h1>
1549Eclipse Platform Build Notes<br>
1550Java development tools core</h1>
1551Eclipse SDK 3.7M1 - August 10, 2010
1552<br>Project org.eclipse.jdt.core v_B06
1553(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B06">cvs</a>).
1554<h2>What's new in this drop</h2>
1555
1556<h3>Problem Reports Fixed</h3>
1557<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320167">320167</a>
1558Auto-Activation works only once
1559<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320809">320809</a>
1560ArrayIndexOutOfBoundsException in IndexManager.writeSavedIndexNamesFile - concurrency issue?
1561<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321085">321085</a>
1562Enhanced for loops need to implement type safety checks on array initializers
1563<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319626">319626</a>
1564Preferences-&gt;Java Compiler-&gt; Errors/Warnings -&gt; Undocumented Empty Block
1565
1566<a name="v_B05"></a>
1567<hr><h1>
1568Eclipse Platform Build Notes<br>
1569Java development tools core</h1>
1570Eclipse SDK 3.7M1 - July 30, 2010 - 3.7.0 M1
1571<br>Project org.eclipse.jdt.core v_B05
1572(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B05">cvs</a>).
1573<h2>What's new in this drop</h2>
1574<ul>
1575<li>
1576New API added to be able to retrieve the name range for <code>org.eclipse.jdt.core.IImportDeclaration</code>:
1577<pre>
1578/**
1579 * Returns the source range of this import declaration's name,
1580 * or null if this import declaration does not have
1581 * associated source code (for example, a binary type).
1582 *
1583 * The source range for the name includes the trailing '*' if the call to
1584 * isOnDemand() returns true.
1585 *
1586 *
1587 * @exception JavaModelException if this element does not exist or if an
1588 * exception occurs while accessing its corresponding resource.
1589 * @return the source range of this import declaration's name,
1590 * or null if this import declaration does not have
1591 * associated source code (for example, a binary type)
1592 * @since 3.7
1593 */
1594ISourceRange getNameRange() throws JavaModelException;
1595</pre>
1596</li>
1597<li>
1598New API added to be able to retrieve the name range for <code>org.eclipse.jdt.core.IPackageDeclaration</code>:
1599<pre>
1600/**
1601 * Returns the source range of this package declaration's name,
1602 * or null if this package declaration does not have
1603 * associated source code (for example, a binary type).
1604 *
1605 * @exception JavaModelException if this element does not exist or if an
1606 * exception occurs while accessing its corresponding resource.
1607 * @return the source range of this package declaration's name,
1608 * or null if this package declaration does not have
1609 * associated source code (for example, a binary type)
1610 * @since 3.7
1611 */
1612ISourceRange getNameRange() throws JavaModelException;
1613</pre>
1614</li>
1615</ul>
1616
1617<h3>Problem Reports Fixed</h3>
1618<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=306524">306524</a>
1619ASTRewriteAnalyzer uses wrong starting offset in case of comments before a node
1620<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=150980">150980</a>
1621[API] Selecting import declaration with space in outline highlights wrong range
1622<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320841">320841</a>
1623TypeConverters don't set enclosingType
1624<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320802">320802</a>
1625ASTParser.createASTs(..) fails silently on multiple missing parameter types.
1626
1627<a name="v_B04"></a>
1628<hr><h1>
1629Eclipse Platform Build Notes<br>
1630Java development tools core</h1>
1631Eclipse SDK 3.7M1 - July 27, 2010
1632<br>Project org.eclipse.jdt.core v_B04
1633(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B04">cvs</a>).
1634<h2>What's new in this drop</h2>
1635
1636<h3>Problem Reports Fixed</h3>
1637<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319425">319425</a>
1638[compiler] JDT outputs corrupt .class file for problem type
1639<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319885">319885</a>
1640Spurious 'cycle detected'/'hierarchy inconsistent' errors if a type that WOULD be cyclic is static-imported
1641<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=312076">312076</a>
1642[1.5][compiler] Eclipse compiler behaves differently from javac
1643<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320414">320414</a>
1644Compiler produces incorrect bytecode for null pointer check
1645<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=223225">223225</a>
1646[DOM] IMemberValuePairBinding does not desugar single values into one-element arrays
1647<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319603">319603</a>
1648[1.5][compiler] eclipse fails with 2 generics methods with the same name while javac succeeds
1649<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=318020">318020</a>
1650[compiler] wrong initialization flow info with if (true) throw... pattern in else block
1651
1652<a name="v_B03"></a>
1653<hr><h1>
1654Eclipse Platform Build Notes<br>
1655Java development tools core</h1>
1656Eclipse SDK 3.7M1 - July 20, 2010
1657<br>Project org.eclipse.jdt.core v_B03
1658(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B03">cvs</a>).
1659<h2>What's new in this drop</h2>
1660
1661<h3>Problem Reports Fixed</h3>
1662<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320340">320340</a>
1663Test failures in debug mode
1664<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=307523">307523</a>
1665Differences between patch of bug 210422 and sources
1666<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319900">319900</a>
1667StringLiteral#setLiteralValue needlessly escapes apostrophes (')
1668<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=310264">310264</a>
1669Wrong warning: The assignment to variable has no effect
1670
1671<a name="v_B02"></a>
1672<hr><h1>
1673Eclipse Platform Build Notes<br>
1674Java development tools core</h1>
1675Eclipse SDK 3.7M1 - July 13, 2010
1676<br>Project org.eclipse.jdt.core v_B02
1677(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B02">cvs</a>).
1678<h2>What's new in this drop</h2>
1679
1680<h3>Problem Reports Fixed</h3>
1681<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=314556">314556</a>
1682[1.5][compiler] compiler fails to report attempt to assign weaker access privileges
1683<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316956">316956</a>
1684[compiler] Private superclass and enclosing scope field names incorrectly reported as conflicting
1685<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=151500">151500</a>
1686[assist] Method parameter names are not displayed for inner classes
1687<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=304006">304006</a>
1688[code assist] Autocast after instanceof feature doesnt work in some cases.
1689<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=210419">210419</a>
1690[compiler] Invalid field initializer not flagged as error
1691<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=212713">212713</a>
1692Bad error message for static block inside an interface
1693
1694<a name="v_B01"></a>
1695<hr><h1>
1696Eclipse Platform Build Notes<br>
1697Java development tools core</h1>
1698Eclipse SDK 3.7M1 - July 6, 2010 - 3.7M1
1699<br>Project org.eclipse.jdt.core v_B01
1700(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B01">cvs</a>).
1701<h2>What's new in this drop</h2>
1702
1703<h3>Problem Reports Fixed</h3>
1704<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313153">313153</a>
1705Too many blocked &quot;Refreshing external folders&quot; jobs (FUP of bug 302295)
1706<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316654">316654</a>
1707ITypeHierarchyChangedListener receive spurious callbacks
1708<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317858">317858</a>
1709Eclipse isn't accessing the correct field/class - causes compile error
1710<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=318171">318171</a>
1711fieldHiding-Warning does not appear if classes are in different packages
1712
1713<a name="v_B00"></a>
1714<hr><h1>
1715Eclipse Platform Build Notes<br>
1716Java development tools core</h1>
1717Eclipse SDK 3.7M1 - June 29, 2010
1718<br>Project org.eclipse.jdt.core v_B00
1719(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B00">cvs</a>).
1720<h2>What's new in this drop</h2>
1721
1722<h3>Problem Reports Fixed</h3>
1723<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317841">317841</a>
1724[incremental build] unnecessary 'structural changes' due to annotation parameters
1725<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317468">317468</a>
1726Adding elements to an enum body with trailing comma generates bad code
1727<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313668">313668</a>
1728[search] Call hierarchy doesn't show all calls of the method in workspace
1729<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317972">317972</a>
1730Fix for wrong usages of affect* and effect*
1731<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313651">313651</a>
1732[formatter] format comments (differs between paste and save action)
1733<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316889">316889</a>
1734Internal compiler error: java.lang.NullPointerException with a specific use of recursive generics
1735<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=315978">315978</a>
1736Big regression, eclipse compiles my workspace in 3 mins instead of few seconds
1737<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=315577">315577</a>
1738[formatter] No line break after &lt;br&gt; if followed by {@link when formatting java source file
1739<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=306464">306464</a>
1740NPE in ProblemReporter.missingTypeInMethod(ProblemReporter.java:5113)
1741<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317212">317212</a>
1742[compiler] Illegal permission to invoke the constructor of a member class of an inaccessible type.
1743<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=195346">195346</a>
1744[assist] Array type should be filtered while completing in case of a switch
1745<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=315732">315732</a>
1746[formatter] NullPointerException (always) on inserting a custom template proposal into java code when &quot;Use code formatter&quot; is on
1747<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316456">316456</a>
1748[1.5][compiler] Annotation values can access private class members
1749<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=312989">312989</a>
1750Accepts illegal method-local classes if hidden by generics parameters
1751<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=310423">310423</a>
1752[content assist] After 'implements' annotation types should not be proposed
1753<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=314830">314830</a>
1754[compiler] Switching on a null expression doesn't always throw NullPointerException
1755<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313825">313825</a>
1756Erroneous local variable's problems reported at surrounding ParenthesizedExpression
1757<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=314898">314898</a>
1758Typo in org.eclipse.jdt.core.dom.NameEnviromentWithProgress
1759
1760
1761<hr>
1762<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>
1763<br>
1764 <p>
1765 <a href="http://validator.w3.org/check?uri=referer"><img
1766 src="http://www.w3.org/Icons/valid-html401"
1767 alt="Valid HTML 4.01 Transitional" height="31" width="88"></a>
1768 </p>
1769</body>
1770</html>
1771