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