blob: 7137c5e40cae1d2b5fc455c5cd8102d6198feac9 [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 Herrmann66cc2b62010-09-26 15:38:59 +000024 For more information on 3.7 planning, please refer to <a href="http://www.eclipse.org/jdt/core/r3.7/index.php#release-plan">JDT/Core release plan</a>,
25 the next <a href="http://www.eclipse.org/jdt/core/r3.7/index.php#milestone-plan">milestone plan</a>,
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000026 the overall <a href="http://www.eclipse.org/eclipse/development/eclipse_project_plan_3_6.html">official plan</a>,
27 or the <a href="http://www.eclipse.org/eclipse/platform-releng/buildSchedule.html">build schedule</a>.
28 This present document covers all changes since Release 3.5 (also see a summary of <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.jdt.core/notes/API_changes.html">API changes</a>).
29 <br>Maintenance of previous releases of JDT/Core is performed in parallel branches:
30 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_5_maintenance">R3.5.x</a>,
31 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_4_maintenance">R3.4.x</a>,
32 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_3_maintenance">R3.3.x</a>,
33 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_2_maintenance">R3.2.x</a>,
34 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_1_maintenance">R3.1.x</a>,
35 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_0_maintenance">R3.0.x</a>,
36 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R2_1_maintenance">R2.1.x</a>,
37 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R2_0_1">R2.0.x</a>,
38 <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=ECLIPSE_1_0">R1.0.x</a>.
39 </font>
40 </td>
41 </tr>
42</table>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +000043<a name="v_B14a"></a>
Stephan Herrmanne042d002010-06-05 13:49:29 +000044<hr><h1>
45Eclipse Platform Build Notes<br>
46Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +000047Eclipse SDK 3.7M3 - September 21, 2010 - 3.7.0 M3
48<br>Project org.eclipse.jdt.core v_B14a
49(<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 +000050<h2>What's new in this drop</h2>
51
52<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +000053<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325567">325567</a>
54A blocking &quot;java.lang.IllegalArgumentException: info cannot be null&quot; exception
Stephan Herrmanne042d002010-06-05 13:49:29 +000055
Stephan Herrmann66cc2b62010-09-26 15:38:59 +000056<a name="v_B13a"></a>
Stephan Herrmanne042d002010-06-05 13:49:29 +000057<hr><h1>
58Eclipse Platform Build Notes<br>
59Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +000060Eclipse SDK 3.7M2 - September 21, 2010 - 3.7.0 M2
61<br>Project org.eclipse.jdt.core v_B13a
62(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B13a">cvs</a>).
63<h2>What's new in this drop</h2>
64
65<h3>Problem Reports Fixed</h3>
66<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325755">325755</a>
67[compiler] wrong initialization state after conditional expression
68
69<a name="v_B13"></a>
70<hr><h1>
71Eclipse Platform Build Notes<br>
72Java development tools core</h1>
73Eclipse SDK 3.7M2 - September 15, 2010
74<br>Project org.eclipse.jdt.core v_B13
75(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B13">cvs</a>).
76<h2>What's new in this drop</h2>
77
78<h3>Problem Reports Fixed</h3>
79<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325229">325229</a>
80[compiler] eclipse compiler differs from javac when assert is present (FUP of bug 319510)
81<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325270">325270</a>
82[content assist] Parameter names are not displayed for static inner class of an external jar
83<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325321">325321</a>
84[compiler] Synthetic constructors for non-static inner classes can exceed 255 parameters -&gt; ClassFormatError
85
86<a name="v_B12a"></a>
87<hr><h1>
88Eclipse Platform Build Notes<br>
89Java development tools core</h1>
90Eclipse SDK 3.7M2 - September 13, 2010
91<br>Project org.eclipse.jdt.core v_B12a
92(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_B12a">cvs</a>).
93<h2>What's new in this drop</h2>
94
95<h3>Problem Reports Fixed</h3>
96<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324840">324840</a>
97[compiler] Improving debug strings for Break statement, IntLiteral and CaseStatement
98<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324848">324848</a>
99[1.6][compiler] NullPointerException when trying to synchronize on non-existing outer class instance
100
101<a name="v_B11"></a>
102<hr><h1>
103Eclipse Platform Build Notes<br>
104Java development tools core</h1>
105Eclipse SDK 3.7M2 - September 9, 2010 - 3.7.0 M2
106<br>Project org.eclipse.jdt.core v_B11
107(<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 +0000108<h2>What's new in this drop</h2>
109<ul>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000110<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 +0000111<pre>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000112 /**
113 * Returns true if this local variable is a method parameter, false otherwise.
114 *
115 * @return true if this local variable is a method parameter, false otherwise
116 * @since 3.7
117 */
118 boolean isParameter();
Stephan Herrmann8f4b3212010-05-22 16:38:56 +0000119
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000120 /**
121 * Returns the modifier flags for this local variable. The flags can be examined using class.
122 *
123 * Note that only flags as indicated in the source are returned.
124 *
125 * @return the modifier flags for this local variable
126 * @see Flags
127 * @since 3.7
128 */
129 int getFlags();
Stephan Herrmann8f4b3212010-05-22 16:38:56 +0000130
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000131 /**
132 * Returns the declaring member of this local variable.
133 *
134 * This is a handle-only method.
135 *
136 * @return the declaring member of this local variable
137 * @since 3.7
138 */
139 IMember getDeclaringMember();
Stephan Herrmann99004722010-05-17 20:32:50 +0000140
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000141 /**
142 * Returns the Java type root in which this local variable is declared.
143 *
144 * This is a handle-only method.
145 *
146 * @return the Java type root in which this local variable is declared
147 * @since 3.7
148 */
149 ITypeRoot getTypeRoot();
Stephan Herrmanne5d6be82010-04-02 03:29:32 +0000150</pre>
151</li>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000152<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 +0000153<pre>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000154 /**
155 * Returns the Java type root in which this type parameter is declared.
156 *
157 * This is a handle-only method.
158 *
159 * @return the Java type root in which this type parameter is declared
160 * @since 3.7
161 */
162 ITypeRoot getTypeRoot();
Stephan Herrmanne5d6be82010-04-02 03:29:32 +0000163</pre>
164</li>
165</ul>
166
167<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000168<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324762">324762</a>
169Compiler thinks there is deadcode and removes it!
170<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=292478">292478</a>
171Report potentially null across variable assignment
172<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324748">324748</a>
173JDT core tests have restrictive range on com.ibm.icu
174<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323633">323633</a>
175[1.5][compiler] Reconciler issues mixing 1.4 projects with &amp; 1.5 project with generics.
176<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317046">317046</a>
177Exception during debugging when hover mouse over a field
178<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=48420">48420</a>
179[API] ILocalVariable and ITypeParameter should provide more methods
180<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321414">321414</a>
181Synthetic constructors can exceed 255 parameters -&gt; ClassFormatError
Stephan Herrmanne5d6be82010-04-02 03:29:32 +0000182
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000183<a name="v_B10"></a>
Stephan Herrmanne5d6be82010-04-02 03:29:32 +0000184<hr><h1>
185Eclipse Platform Build Notes<br>
186Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000187Eclipse SDK 3.7M2 - September 7, 2010
188<br>Project org.eclipse.jdt.core v_B10
189(<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 +0000190<h2>What's new in this drop</h2>
191<ul>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000192<li>Code formatter: 4 new options were added to better handle the addition of
193new lines after annotations.
Stephan Herrmanne5d6be82010-04-02 03:29:32 +0000194<pre>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000195 * FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_FIELD
196 * FORMATTER / Option to insert a new line after an annotation on a field declaration
197 * - option id: "org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field"
Stephan Herrmanne5d6be82010-04-02 03:29:32 +0000198 * - possible values: { INSERT, DO_NOT_INSERT }
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000199 * - default: INSERT
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000200 *
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000201 * FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_METHOD
202 * FORMATTER / Option to insert a new line after an annotation on a method declaration
203 * - option id: "org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method"
204 * - possible values: { INSERT, DO_NOT_INSERT }
205 * - default: INSERT
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000206 *
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000207 * FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_PACKAGE
208 * FORMATTER / Option to insert a new line after an annotation on a package declaration
209 * - option id: "org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package"
210 * - possible values: { INSERT, DO_NOT_INSERT }
211 * - default: INSERT
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000212 *
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000213 * FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_TYPE
214 * FORMATTER / Option to insert a new line after an annotation on a type declaration
215 * - option id: "org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type"
216 * - possible values: { INSERT, DO_NOT_INSERT }
217 * - default: INSERT
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000218</pre>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000219The 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>
220Also note that previously available code formatter constant FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_MEMBER has been deprecated.<br>
221All new options must be enabled to activate old strategy.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000222</li>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000223<li>
224The previously added new APIs:
225<blockquote>
226<code>org.eclipse.jdt.core.IImportDeclaration#getNameRange()</code>,<br>
227<code>org.eclipse.jdt.core.IPackageDeclaration#getNameRange()</code>
228</blockquote>
229have 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 +0000230<pre>
231/**
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000232 * Returns the name range associated with this element.
233 *
234 * If the element is an IMember, it returns
235 * the source range of this member's simple name,
236 * or null if this member does not have a name
237 * (for example, an initializer), or if this member does not have
238 * associated source code (for example, a binary type).
239 *
240 * If this element is an IImportDeclaration, the source range
241 * of this import declaration's name, or null if this import
242 * declaration does not have associated source code (for example, a binary type).
243 * The source range for the name includes the trailing '*' if the call to
244 * IImportDeclaration#isOnDemand() returns true.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000245 *
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000246 * If this element is an IPackageDeclaration, the source range of
247 * this package declaration's name, or null if this package
248 * declaration does not have associated source code (for example, a binary type).
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000249 *
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000250 * If this element is an IAnnotation, the source range of
251 * this annotation's name, or null if this annotation does not have
252 * associated source code (for example, in a binary type).
253 *
254 * If this element is an ITypeParameter, the source range of this
255 * type parameter's name, or null if this type parameter does not have
256 * associated source code (for example, in a binary type).
257 *
258 * If this element is an ITypeRoot or IImportContainer, it
259 * returns null.
260 *
261 * @return the name range associated with this element, or null if
262 * not available
263 *
264 * @since 3.7
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000265 */
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000266ISourceRange getNameRange() throws JavaModelException;
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000267</pre>
268</li>
269</ul>
270
271<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000272<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322979">322979</a>
273[search] use of IJavaSearchConstants.IMPLEMENTORS yields surprising results
274<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316937">316937</a>
275JavaElement.getElementInfo(..) throws JavaModelException when trying to get info for an inner class in an external jar
276<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322531">322531</a>
277[1.5][Generics] eclipse compiles code rejected by javac with incomparable types error.
278<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=308000">308000</a>
279[formatter] Formatter is missing options regarding Annotation Newlines
280<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321276">321276</a>
281JDT core apis dont recognize InnerClass constructor inside .class files
282<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=252556">252556</a>
283[formatter] Spaces removed before formatted region of a compilation unit.
284<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323785">323785</a>
285[builder] NPE when adding 'package-info.java' to default package
286<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321358">321358</a>
287NPE refreshing external folders
288<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322596">322596</a>
289[DOM] ASTNode APIs should specify types of property descriptors
290<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324109">324109</a>
291[search] Java search shows incorrect results as accurate matches
292<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324154">324154</a>
293NPE in FlowContext while building
294<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=133125">133125</a>
295[compiler][null] need to report the null status of expressions and analyze them simultaneously
296<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321695">321695</a>
297Test added for bug 319425 doesn't detect the bug
298<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=258905">258905</a>
299making java.lang.AssertionError accessible thru resolveWellKnownType method
300<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321764">321764</a>
301Add getNameRange() to ISourceReference
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000302
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000303<a name="v_B09"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000304<hr><h1>
305Eclipse Platform Build Notes<br>
306Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000307Eclipse SDK 3.7M2 - August 31, 2010 - 3.7.0 M2
308<br>Project org.eclipse.jdt.core v_B09
309(<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 +0000310<h2>What's new in this drop</h2>
311
312<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000313<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=311578">311578</a>
314[formatter] Enable/disable tag detection should include comment start/end tokens
315<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320618">320618</a>
316inconsistent initialization of classpath container backed by external class folder
317<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323693">323693</a>
318[1.5][compiler] Compiler fails to diagnose name clash
319<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=323558">323558</a>
320Tests test0307a and test0307e under BatchCompilerTest failing
321<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=308402">308402</a>
322[index] PatternSearchJob ignores participant index entries
323<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317264">317264</a>
324[search] Refactoring is impossible with commons.lang added to project
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000325
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000326<a name="v_B08"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000327<hr><h1>
328Eclipse Platform Build Notes<br>
329Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000330Eclipse SDK 3.7M1 - August 24, 2010
331<br>Project org.eclipse.jdt.core v_B08
332(<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 +0000333<h2>What's new in this drop</h2>
334
335<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000336<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321926">321926</a>
337Erroneously deems null check conditional branch to be dead code, and produces incorrect bytecode
338<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320170">320170</a>
339[compiler] [null] Whitebox issues in null analysis
340<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=305259">305259</a>
341Strange error when referencing code produced with jsr14 target
342<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321115">321115</a>
343Compiler is not case sensitive with package names
344<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=310427">310427</a>
345[content assist] FUP of 236306: Variable proposed before definition.
346<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320911">320911</a>
347Not all redundant superinterface problems reported
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000348
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000349<a name="v_B07"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000350<hr><h1>
351Eclipse Platform Build Notes<br>
352Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000353Eclipse SDK 3.7M1 - August 17, 2010
354<br>Project org.eclipse.jdt.core v_B07
355(<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 +0000356<h2>What's new in this drop</h2>
357
358<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000359<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319201">319201</a>
360[null] no warning when unboxing SingleNameReference causes NPE
361<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322154">322154</a>
362Compiler bug that does not occur in Galileo 3.5.2
363<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320754">320754</a>
364[formatter] formatter:off/on tags does not work correctly
365<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322001">322001</a>
366[1.5][compiler] Name Clash error occurs
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000367
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000368<a name="v_B06"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000369<hr><h1>
370Eclipse Platform Build Notes<br>
371Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000372Eclipse SDK 3.7M1 - August 10, 2010
373<br>Project org.eclipse.jdt.core v_B06
374(<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 +0000375<h2>What's new in this drop</h2>
376
377<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000378<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320167">320167</a>
379Auto-Activation works only once
380<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320809">320809</a>
381ArrayIndexOutOfBoundsException in IndexManager.writeSavedIndexNamesFile - concurrency issue?
382<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=321085">321085</a>
383Enhanced for loops need to implement type safety checks on array initializers
384<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319626">319626</a>
385Preferences-&gt;Java Compiler-&gt; Errors/Warnings -&gt; Undocumented Empty Block
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000386
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000387<a name="v_B05"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000388<hr><h1>
389Eclipse Platform Build Notes<br>
390Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000391Eclipse SDK 3.7M1 - July 30, 2010 - 3.7.0 M1
392<br>Project org.eclipse.jdt.core v_B05
393(<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 +0000394<h2>What's new in this drop</h2>
395<ul>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000396<li>
397New 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 +0000398<pre>
399/**
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000400 * Returns the source range of this import declaration's name,
401 * or null if this import declaration does not have
402 * associated source code (for example, a binary type).
403 *
404 * The source range for the name includes the trailing '*' if the call to
405 * isOnDemand() returns true.
406 *
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000407 *
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000408 * @exception JavaModelException if this element does not exist or if an
409 * exception occurs while accessing its corresponding resource.
410 * @return the source range of this import declaration's name,
411 * or null if this import declaration does not have
412 * associated source code (for example, a binary type)
413 * @since 3.7
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000414 */
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000415ISourceRange getNameRange() throws JavaModelException;
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000416</pre>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000417</li>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000418<li>
419New 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 +0000420<pre>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000421/**
422 * Returns the source range of this package declaration's name,
423 * or null if this package declaration does not have
424 * associated source code (for example, a binary type).
425 *
426 * @exception JavaModelException if this element does not exist or if an
427 * exception occurs while accessing its corresponding resource.
428 * @return the source range of this package declaration's name,
429 * or null if this package declaration does not have
430 * associated source code (for example, a binary type)
431 * @since 3.7
432 */
433ISourceRange getNameRange() throws JavaModelException;
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000434</pre>
435</li>
436</ul>
437
438<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000439<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=306524">306524</a>
440ASTRewriteAnalyzer uses wrong starting offset in case of comments before a node
441<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=150980">150980</a>
442[API] Selecting import declaration with space in outline highlights wrong range
443<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320841">320841</a>
444TypeConverters don't set enclosingType
445<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320802">320802</a>
446ASTParser.createASTs(..) fails silently on multiple missing parameter types.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000447
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000448<a name="v_B04"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000449<hr><h1>
450Eclipse Platform Build Notes<br>
451Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000452Eclipse SDK 3.7M1 - July 27, 2010
453<br>Project org.eclipse.jdt.core v_B04
454(<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 +0000455<h2>What's new in this drop</h2>
456
457<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000458<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319425">319425</a>
459[compiler] JDT outputs corrupt .class file for problem type
460<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319885">319885</a>
461Spurious 'cycle detected'/'hierarchy inconsistent' errors if a type that WOULD be cyclic is static-imported
462<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=312076">312076</a>
463[1.5][compiler] Eclipse compiler behaves differently from javac
464<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320414">320414</a>
465Compiler produces incorrect bytecode for null pointer check
466<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=223225">223225</a>
467[DOM] IMemberValuePairBinding does not desugar single values into one-element arrays
468<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319603">319603</a>
469[1.5][compiler] eclipse fails with 2 generics methods with the same name while javac succeeds
470<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=318020">318020</a>
471[compiler] wrong initialization flow info with if (true) throw... pattern in else block
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000472
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000473<a name="v_B03"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000474<hr><h1>
475Eclipse Platform Build Notes<br>
476Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000477Eclipse SDK 3.7M1 - July 20, 2010
478<br>Project org.eclipse.jdt.core v_B03
479(<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 +0000480<h2>What's new in this drop</h2>
481
482<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000483<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=320340">320340</a>
484Test failures in debug mode
485<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=307523">307523</a>
486Differences between patch of bug 210422 and sources
487<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=319900">319900</a>
488StringLiteral#setLiteralValue needlessly escapes apostrophes (')
489<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=310264">310264</a>
490Wrong warning: The assignment to variable has no effect
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000491
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000492<a name="v_B02"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000493<hr><h1>
494Eclipse Platform Build Notes<br>
495Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000496Eclipse SDK 3.7M1 - July 13, 2010
497<br>Project org.eclipse.jdt.core v_B02
498(<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 +0000499<h2>What's new in this drop</h2>
500
501<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000502<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=314556">314556</a>
503[1.5][compiler] compiler fails to report attempt to assign weaker access privileges
504<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316956">316956</a>
505[compiler] Private superclass and enclosing scope field names incorrectly reported as conflicting
506<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=151500">151500</a>
507[assist] Method parameter names are not displayed for inner classes
508<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=304006">304006</a>
509[code assist] Autocast after instanceof feature doesnt work in some cases.
510<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=210419">210419</a>
511[compiler] Invalid field initializer not flagged as error
512<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=212713">212713</a>
513Bad error message for static block inside an interface
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000514
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000515<a name="v_B01"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000516<hr><h1>
517Eclipse Platform Build Notes<br>
518Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000519Eclipse SDK 3.7M1 - July 6, 2010 - 3.7M1
520<br>Project org.eclipse.jdt.core v_B01
521(<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 +0000522<h2>What's new in this drop</h2>
523
524<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000525<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313153">313153</a>
526Too many blocked &quot;Refreshing external folders&quot; jobs (FUP of bug 302295)
527<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316654">316654</a>
528ITypeHierarchyChangedListener receive spurious callbacks
529<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317858">317858</a>
530Eclipse isn't accessing the correct field/class - causes compile error
531<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=318171">318171</a>
532fieldHiding-Warning does not appear if classes are in different packages
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000533
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000534<a name="v_B00"></a>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000535<hr><h1>
536Eclipse Platform Build Notes<br>
537Java development tools core</h1>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000538Eclipse SDK 3.7M1 - June 29, 2010
539<br>Project org.eclipse.jdt.core v_B00
540(<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 +0000541<h2>What's new in this drop</h2>
542
543<h3>Problem Reports Fixed</h3>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000544<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317841">317841</a>
545[incremental build] unnecessary 'structural changes' due to annotation parameters
546<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317468">317468</a>
547Adding elements to an enum body with trailing comma generates bad code
548<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313668">313668</a>
549[search] Call hierarchy doesn't show all calls of the method in workspace
550<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317972">317972</a>
551Fix for wrong usages of affect* and effect*
552<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313651">313651</a>
553[formatter] format comments (differs between paste and save action)
554<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316889">316889</a>
555Internal compiler error: java.lang.NullPointerException with a specific use of recursive generics
556<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=315978">315978</a>
557Big regression, eclipse compiles my workspace in 3 mins instead of few seconds
558<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=315577">315577</a>
559[formatter] No line break after &lt;br&gt; if followed by {@link when formatting java source file
560<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=306464">306464</a>
561NPE in ProblemReporter.missingTypeInMethod(ProblemReporter.java:5113)
562<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317212">317212</a>
563[compiler] Illegal permission to invoke the constructor of a member class of an inaccessible type.
564<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=195346">195346</a>
565[assist] Array type should be filtered while completing in case of a switch
566<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=315732">315732</a>
567[formatter] NullPointerException (always) on inserting a custom template proposal into java code when &quot;Use code formatter&quot; is on
568<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=316456">316456</a>
569[1.5][compiler] Annotation values can access private class members
570<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=312989">312989</a>
571Accepts illegal method-local classes if hidden by generics parameters
572<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=310423">310423</a>
573[content assist] After 'implements' annotation types should not be proposed
574<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=314830">314830</a>
575[compiler] Switching on a null expression doesn't always throw NullPointerException
576<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=313825">313825</a>
577Erroneous local variable's problems reported at surrounding ParenthesizedExpression
578<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=314898">314898</a>
579Typo in org.eclipse.jdt.core.dom.NameEnviromentWithProgress
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000580
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000581
582<hr>
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000583<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 +0000584<br>
585 <p>
586 <a href="http://validator.w3.org/check?uri=referer"><img
587 src="http://www.w3.org/Icons/valid-html401"
588 alt="Valid HTML 4.01 Transitional" height="31" width="88"></a>
589 </p>
590</body>
591</html>
592