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