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