blob: 87fe4e6dbd6800bf66b0c381baa083da6f297fbb [file] [log] [blame]
Stephan Herrmann7b7062f2010-04-01 19:56:59 +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.5</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.5 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.5 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.4 (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.4.x</a>,
31 <a href="">R3.3.x</a>,
32 <a href="">R3.2.x</a>,
33 <a href="">R3.1.x</a>,
34 <a href="">R3.0.x</a>,
35 <a href="">R2.1.x</a>,
36 <a href="">R2.0.x</a>,
37 <a href="">R1.0.x</a>.
38 </font>
39 </td>
40 </tr>
42<a name="v_963"></a>
44Eclipse Platform Build Notes<br>
45Java development tools core</h1>
46Eclipse SDK 3.5RC3 - May 27, 2009 - 3.5 RC3
47<br>Project org.eclipse.jdt.core v_963
48(<a href="">cvs</a>).
49<h2>What's new in this drop</h2>
50Reverting change for bug <a href="">236818</a>.
52<h3>Problem Reports Fixed</h3>
54<a name="v_962"></a>
56Eclipse Platform Build Notes<br>
57Java development tools core</h1>
58Eclipse SDK 3.5RC3 - May 26, 2009
59<br>Project org.eclipse.jdt.core v_962
60(<a href="">cvs</a>).
61<h2>What's new in this drop</h2>
63<h3>Problem Reports Fixed</h3>
64<a href="">234194</a>
65Run copyright tool
66<br><a href="">277669</a>
67IBinding.getJavaElement() returns 'null' where it should not
69<a name="v_961"></a>
71Eclipse Platform Build Notes<br>
72Java development tools core</h1>
73Eclipse SDK 3.5RC2 - May 21, 2009 - 3.5 RC2
74<br>Project org.eclipse.jdt.core v_961
75(<a href="">cvs</a>).
76<h2>What's new in this drop</h2>
78<h3>Problem Reports Fixed</h3>
79<a href="">277372</a>
80[1.5][compiler] Signature attribute should not be generated with target jsr14
82<a name="v_960"></a>
84Eclipse Platform Build Notes<br>
85Java development tools core</h1>
86Eclipse SDK 3.5RC2 - May 20, 2009
87<br>Project org.eclipse.jdt.core v_960
88(<a href="">cvs</a>).
89<h2>What's new in this drop</h2>
91<h3>Problem Reports Fixed</h3>
92<a href="">273991</a>
93[assist] Wrong relevance for some proposals which are not compatible with the expected type
94<br><a href="">276890</a>
95[content assist] proposes nothing for generic type with non-trivial constructor
97<a name="v_959"></a>
99Eclipse Platform Build Notes<br>
100Java development tools core</h1>
101Eclipse SDK 3.5RC1 - May 14, 2009 - 3.5 RC1
102<br>Project org.eclipse.jdt.core v_959
103(<a href="">cvs</a>).
104<h2>What's new in this drop</h2>
106<h3>Problem Reports Fixed</h3>
107<a href="">275471</a>
108Eclipse Compiler needs a compile dependency to a plug-in, but javac does not need that dependency
109<br><a href="">170197</a>
110[model] JavaCore.newLibraryEntry(.., IClasspathAttribute[], ..) should check for null
112<a name="v_958"></a>
114Eclipse Platform Build Notes<br>
115Java development tools core</h1>
116Eclipse SDK 3.5RC1 - May 12, 2009
117<br>Project org.eclipse.jdt.core v_958
118(<a href="">cvs</a>).
119<h2>What's new in this drop</h2>
121<h3>Problem Reports Fixed</h3>
122<a href="">275381</a>
123[1.5][compiler] Missing innerClass attribute for inner types used as type arguments
124<br><a href="">255752</a>
125[javadoc][assist] Inappropriate completion proposals for javadoc at compilation unit level
126<br><a href="">275467</a>
127Batch compiler writes log using default encoding instead of UTF-8
129<a name="v_957"></a>
131Eclipse Platform Build Notes<br>
132Java development tools core</h1>
133Eclipse SDK 3.5RC1 - May 7, 2009
134<br>Project org.eclipse.jdt.core v_957
135(<a href="">cvs</a>).
136<h2>What's new in this drop</h2>
138<h3>Problem Reports Fixed</h3>
139<a href="">273157</a>
140[performance] ManifestAnalyzer is causing a 2x performance drop in the updating of classpath of JavaProjects in comparison with 3.4
141<br><a href="">268879</a>
142External folders project not cleaned up
143<br><a href="">275215</a>
144org.eclipse.jdt.internal.core.util.KeyToSignature#consumeType() uses a method not available in J2SE-1.4 EE
145<br><a href="">275244</a>
146org.eclipse.jdt.internal.compiler.util.Util.getZipEntryByteContent(ZipEntry, ZipFile) should use BufferedInputStream
147<br><a href="">132679</a>
148[assist] Completion fails within non-static anonymous inner class
150<a name="v_956"></a>
152Eclipse Platform Build Notes<br>
153Java development tools core</h1>
154Eclipse SDK 3.5RC1 - May 6, 2009
155<br>Project org.eclipse.jdt.core v_956
156(<a href="">cvs</a>).
157<h2>What's new in this drop</h2>
159<h3>Problem Reports Fixed</h3>
160<a href="">274114</a>
161org.eclipse.jdt.internal.compiler.tool.Options must be updated with latest compiler options
162<br><a href="">185422</a>
163[1.5][compiler] Incorrectly allows generic use of private inner classes
164<br><a href="">274917</a>
165Incorrect &quot;empty block&quot; warning underlining on annotations
166<br><a href="">274557</a>
167CompletionContext problem with annotation value element
168<br><a href="">274332</a>
169jdt.core.model tests take 2 hours to finish on the mac
171<a name="v_955"></a>
173Eclipse Platform Build Notes<br>
174Java development tools core</h1>
175Eclipse SDK 3.5M7 - April 29, 2009 - 3.5 MILESTONE 7
176<br>Project org.eclipse.jdt.core v_955
177(<a href="">cvs</a>).
178<h2>What's new in this drop</h2>
180<h3>Problem Reports Fixed</h3>
181<a href="">274397</a>
182tag projects changed since I20090421-0930 build
184<a name="v_954"></a>
186Eclipse Platform Build Notes<br>
187Java development tools core</h1>
188Eclipse SDK 3.5M7 - April 28, 2009
189<br>Project org.eclipse.jdt.core v_954
190(<a href="">cvs</a>).
191<h2>What's new in this drop</h2>
193<h3>Problem Reports Fixed</h3>
194<a href="">269934</a>
195[apt] APT-generated classes that contain annotations causes NPE
196<br><a href="">259950</a>
197Update copyright for 2009
199<a name="v_953"></a>
201Eclipse Platform Build Notes<br>
202Java development tools core</h1>
203Eclipse SDK 3.5M7 - April 27, 2009
204<br>Project org.eclipse.jdt.core v_953
205(<a href="">cvs</a>).
206<h2>What's new in this drop</h2>
208<h3>Problem Reports Fixed</h3>
209<a href="">272204</a>
210null should never be part of a type hierarchy
211<br><a href="">260031</a>
212Wrong type for class constants in stackmap frames
214<a name="v_952"></a>
216Eclipse Platform Build Notes<br>
217Java development tools core</h1>
218Eclipse SDK 3.5M7 - April 27, 2009
219<br>Project org.eclipse.jdt.core v_952
220(<a href="">cvs</a>).
221<h2>What's new in this drop</h2>
223<h3>Problem Reports Fixed</h3>
224<a href="">273862</a>
225[1.7][compiler] Return type should be used to decide method duplicates
226<br><a href="">84720</a>
227[1.5][assist] proposal ranking by return value should consider auto(un)boxing
228<br><a href="">272711</a>
229Exceptions in ASTRewrite
231<a name="v_951"></a>
233Eclipse Platform Build Notes<br>
234Java development tools core</h1>
235Eclipse SDK 3.5M7 - April 24, 2009
236<br>Project org.eclipse.jdt.core v_951
237(<a href="">cvs</a>).
238<h2>What's new in this drop</h2>
240<h3>Problem Reports Fixed</h3>
241<a href="">273308</a>
242[perfs] Save very slow because DeltaProcessor#resourceChanged(..) resolves classpath
243<br><a href="">154823</a>
244[getter setter] Getters Setters generation doesn't follow naming convention
245<br><a href="">263786</a>
246NamingConventions#suggestVariableNames(..) should not modify all caps parts
247<br><a href="">263769</a>
248Javadoc glitches in JavaCore#setComplianceOptions(String, Map)
250<a name="v_950"></a>
252Eclipse Platform Build Notes<br>
253Java development tools core</h1>
254Eclipse SDK 3.5M7 - April 21, 2009
255<br>Project org.eclipse.jdt.core v_950
256(<a href="">cvs</a>).
257<h2>What's new in this drop</h2>
259<h3>Problem Reports Fixed</h3>
260<a href="">266771</a>
261NameLookup.findPackageFragment returns very incorrect package fragments
262<br><a href="">271102</a>
263Java model corrupt after switching target platform
264<br><a href="">270784</a>
265[perfs] Big regression on FullSourceWorkspaceModelTests#testCloseProjects() test
266<br><a href="">272450</a>
267DBCS3.5: Classpath resolution fails to honor the 'Class-Path' header of JAR manifest file in DBCS
268<br><a href="">272706</a>
269[Model] Generics lost on IField when coming from .class files
270<br><a href="">246832</a>
271[1.5][assist] Camel case completion not working with statically imported methods
272<br><a href="">267833</a>
273[javadoc] Custom tags should not be allowed for inline tags
274<br><a href="">271680</a>
275[compiler] Stack overflow pasting in Java editor
276<br><a href="">251827</a>
277[search] Search for type reference with wildcards finds references in package
278<br><a href="">271284</a>
279[search] AIOOBE in StringOperation.getCamelCaseMatchingRegions
280<br><a href="">272148</a>
281[assist] Constructors with an array as parameter type are not proposed
283<a name="v_949"></a>
285Eclipse Platform Build Notes<br>
286Java development tools core</h1>
287Eclipse SDK 3.5M7 - April 14, 2009
288<br>Project org.eclipse.jdt.core v_949
289(<a href="">cvs</a>).
290<h2>What's new in this drop</h2>
292<h3>Problem Reports Fixed</h3>
293<a href="">271561</a>
294JavaModelException when accessing an array of nested annotations
296<a name="v_948"></a>
298Eclipse Platform Build Notes<br>
299Java development tools core</h1>
300Eclipse SDK 3.5M7 - April 7, 2009
301<br>Project org.eclipse.jdt.core v_948
302(<a href="">cvs</a>).
303<h2>What's new in this drop</h2>
305<h3>Problem Reports Fixed</h3>
306<a href="">271303</a>
307[1.5][compiler] Override and package visibility issue
308<br><a href="">270367</a>
309[DOM] NullPointerException in ParenthesizedExpression.resolveTypeBinding()
310<br><a href="">253008</a>
311[assist] Boolean expressions should be proposed with higher relevence in if(), while() etc
312<br><a href="">270983</a>
313[formatter] Enum with field declarations but no constants confuses formatter
314<br><a href="">159851</a>
315[1.5] [compiler] Eclipse compiler fails to report type parameter bounds errors when generic instance is a type argument
316<br><a href="">270446</a>
317&quot;Compute launch button tooltip&quot; error
318<br><a href="">270148</a>
319ASTParser cannot parse K_CLASS_BODY_DECLARATIONS with syntax errors
321<a name="v_947"></a>
323Eclipse Platform Build Notes<br>
324Java development tools core</h1>
325Eclipse SDK 3.5M7 - March 31, 2009
326<br>Project org.eclipse.jdt.core v_947
327(<a href="">cvs</a>).
328<h2>What's new in this drop</h2>
330<h3>Problem Reports Fixed</h3>
331<a href="">270409</a>
332[perfs] No JDT/Core tests results in last baseline run
333<br><a href="">267670</a>
334Private enum constant incorrectly marked as never read locally
335<br><a href="">269493</a>
336[assist] Keywords are not proposed in a for statement without block
337<br><a href="">270194</a>
338[1.5][compiler] Java error in 3.5M6 that was not present in 3.4
339<br><a href="">270257</a>
340[perfs] Small regression on 'JDT/Core plugin initialization' test
341<br><a href="">270113</a>
342[code assist] Missing ANONYMOUS_CLASS_CONSTRUCTOR_INVOCATION proposal
343<br><a href="">269985</a>
344Full Build triggered when using class folder on classpath and custom builder
345<br><a href="">207935</a>
346[1.5][compiler] inconsistency with javac 1.5&amp;1.6 involving parameterized invocation of non-generic method
347<br><a href="">269964</a>
348[perfs] Regression on 'Search all type names' test
350<a name="v_946"></a>
352Eclipse Platform Build Notes<br>
353Java development tools core</h1>
354Eclipse SDK 3.5M7 - March 24, 2009
355<br>Project org.eclipse.jdt.core v_946
356(<a href="">cvs</a>).
357<h2>What's new in this drop</h2>
359<h3>Problem Reports Fixed</h3>
360<a href="">247037</a>
361[javadoc] compiler should issue warning for {@inheritDoc} at illegal location
362<br><a href="">244406</a>
363[buildpath] Internal jars refered with OS path are shown as non-Java resources
364<br><a href="">269476</a>
365testInitJDTPlugin() seems to leak several DeltaProcessor and JavaModelManager
366<br><a href="">269336</a>
367[prefs] JavaProject preferences listeners are not removed
368<br><a href="">203060</a>
369[codeassist] assert keyword should not be proposed when compliance level is set to 1.3
370<br><a href="">251539</a>
371[1.6][compiler] java.lang.IllegalArgumentException: info cannot be null (
372<br><a href="">268837</a>
373[1.6][compiler] Incorrectly report ambiguity of methods with generics
374<br><a href="">265104</a>
375Reconciler cannot handle annotation with reference to missing type
377<a name="v_945"></a>
379Eclipse Platform Build Notes<br>
380Java development tools core</h1>
381Eclipse SDK 3.5M7 - March 17, 2009
382<br>Project org.eclipse.jdt.core v_945
383(<a href="">cvs</a>).
384<h2>What's new in this drop</h2>
386<h3>Problem Reports Fixed</h3>
387<a href="">267789</a> produces compile errors (build path?) with IBM JDK
389<br><a href="">268802</a>
390Useless call to getSource() in SourceTypeConverter
392<a name="v_944"></a>
394Eclipse Platform Build Notes<br>
395Java development tools core</h1>
396Eclipse SDK 3.5M6 - March 10, 2009 - 3.5 MILESTONE 6
397<br>Project org.eclipse.jdt.core v_944
398(<a href="">cvs</a>).
399<h2>What's new in this drop</h2>
401<h3>Problem Reports Fixed</h3>
402<a href="">267941</a>
403[perfs] Possible regression on 'Code assist in expression' test
404<br><a href="">267773</a>
405[open type] Use of ? results in error
406<br><a href="">267658</a>
407[formatter] Javadoc comments may be still formatted as block comments
409<a name="v_943"></a>
411Eclipse Platform Build Notes<br>
412Java development tools core</h1>
413Eclipse SDK 3.5M6 - March 9, 2009
414<br>Project org.eclipse.jdt.core v_943
415(<a href="">cvs</a>).
416<h2>What's new in this drop</h2>
418<h3>Problem Reports Fixed</h3>
419<a href="">124646</a>
420Connecting type parameter fails for local types
422<a name="v_942"></a>
424Eclipse Platform Build Notes<br>
425Java development tools core</h1>
426Eclipse SDK 3.5M6 - March 7, 2009
427<br>Project org.eclipse.jdt.core v_942
428(<a href="">cvs</a>).
429<h2>What's new in this drop</h2>
431<li>Added the following APIs to allow clients to provide the source of a compilation unit or a package that is neither on the
432 classpath nor in a working copy.
433 <ul>
434 <li><code>org.eclipse.jdt.core.WorkingCopyOwner.findSource(String, String)</code></li>
435 <li><code>org.eclipse.jdt.core.WorkingCopyOwner.isPackage(String[])</code></li>
436 </ul>
437 See <a href="">bug 257528</a> for details.
441<h3>Problem Reports Fixed</h3>
442<a href="">267088</a>
443[1.5][compiler] Misleading error message in case of inherited methods
444<br><a href="">260840</a>
445NamingConventions creates wrong plural for name ending in &lt;vowel&gt;y
446<br><a href="">243406</a>
447[code assist] Content assist gives &quot;assertion failed&quot; for import Foo|.Bar
448<br><a href="">237241</a>
449Content assist does not scale with javadoc on type with many members
450<br><a href="">265962</a>
451[compiler] Internal compiler error on while with return clause
452<br><a href="">236520</a>
453[search] AIOOBE in PatternLocator.updateMatch
454<br><a href="">265103</a>
455Manifest Class-Path is not read correctly with ECJ
456<br><a href="">99399</a>
457[1.5][assist] Code assist propose final classes in methods type parameter extends clause
458<br><a href="">257528</a>
459An API to incrementaly generate compilation units for binding resolution environment
460<br><a href="">266582</a>
461[1.5][compiler] AbortCompilation while decoding the type variable of an anonymous type
462<br><a href="">266837</a>
463[model] SourceField.getConstant does not supply a value if type is fully qualified
465<a name="v_941"></a>
467Eclipse Platform Build Notes<br>
468Java development tools core</h1>
469Eclipse SDK 3.5M6 - March 3, 2009
470<br>Project org.eclipse.jdt.core v_941
471(<a href="">cvs</a>).
472<h2>What's new in this drop</h2>
474<h3>Problem Reports Fixed</h3>
475<a href="">252442</a>
476[Search] NPE after move followed by undo
477<br><a href="">261722</a>
478[search] NPE after removing a project
479<br><a href="">266421</a>
480[1.5][compiler] code compiles correctly in 3.4.1 but gives compilation errors in 3.5M5
481<br><a href="">260011</a>
482[formatter] Formatting of html in javadoc comments doesn't work with style attributes
483<br><a href="">217108</a>
484[formatter] deletes blank lines between comments
485<br><a href="">198963</a>
486[formatter] 3.3 Code Formatter repeatedly indents block comment
487<br><a href="">265571</a>
488Abstract method that is not directly used is flagged as unused
490<a name="v_940"></a>
492Eclipse Platform Build Notes<br>
493Java development tools core</h1>
494Eclipse SDK 3.5M6 - February 24, 2009
495<br>Project org.eclipse.jdt.core v_940
496(<a href="">cvs</a>).
497<h2>What's new in this drop</h2>
499<li>Fixed odd API in <code>ReferenceMatch</code><br>
500(see more details in bug <a href="">248878</a>).
505<h3>Problem Reports Fixed</h3>
506<a href="">265820</a>
507Unused methods inside org.eclipse.jdt.internal.core.dom.rewrite.ImportRewriteAnalyzer
508<br><a href="">233356</a>
509[search] NPE in org.eclipse.jdt.internal.compiler.util.SimpleLookupTable.get()
510<br><a href="">265630</a>
511[search][perfs] Regression in testSearchPackageDeclarationsWorkspace
512<br><a href="">248878</a>
513[search] Odd API in ReferenceMatch
514<br><a href="">206930</a>
515[1.5][compiler] Mismatch between javac and Eclipse compiler
516<br><a href="">265142</a>
517Compiler fails to warn on unused constructors of private classes
518<br><a href="">264950</a>
519[scanner] IScanner does not return whitespace token
520<br><a href="">264843</a>
521[1.5][compiler] Eclipse compiler fails to reject invalid code with primitives autoboxed to generics
522<br><a href="">265065</a>
523[search] java.lang.ClassCastException while running &quot;Refactor...Extract Class&quot;
525<a name="v_939"></a>
527Eclipse Platform Build Notes<br>
528Java development tools core</h1>
529Eclipse SDK 3.5M6 - February 17, 2009
530<br>Project org.eclipse.jdt.core v_939
531(<a href="">cvs</a>).
532<h2>What's new in this drop</h2>
534<li>Added a new API method on <code>SearchPattern</code> to provide matching
535regions between a pattern and a name when they are compared using a given match rule<br>
536(see more details in bug <a href="">218605</a>).
539 * Answers all the regions in a given name matching a given pattern using
540 * a specified match rule.
541 *
542 * Each of these regions is made of its starting index and its length in the given
543 * name. They are all concatenated in a single array of <code>int</code>
544 * which therefore always has an even length.
545 *
546 * All returned regions are disjointed from each other. That means that the end
547 * of a region is always different than the start of the following one.
548 * For example, if two regions are returned:
549 * <code>{ start1, length1, start2, length2 }</code>
550 * then <code>start1+length1</code> will always be smaller than
551 * <code>start2</code>.
552 *
553 * The possible comparison rules between the name and the pattern are:
554 * . {@link #R_EXACT_MATCH exact matching}
555 * . {@link #R_PREFIX_MATCH prefix matching}
556 * . {@link #R_PATTERN_MATCH pattern matching}
557 * . {@link #R_CAMELCASE_MATCH camel case matching}
558 * . {@link #R_CAMELCASE_SAME_PART_COUNT_MATCH camel case matching with same parts count}
559 *
560 * Each of these rules may be combined with the
561 * {@link #R_CASE_SENSITIVE case sensitive flag} if the match comparison
562 * should respect the case.
563 *
564 * Examples:
565 * . pattern = "NPE"
566 * name = NullPointerException / NoPermissionException
567 * matchRule = {@link #R_CAMELCASE_MATCH}
568 * result: { 0, 1, 4, 1, 11, 1 } / { 0, 1, 2, 1, 12, 1 }
569 * . pattern = "NuPoEx"
570 * name = NullPointerException
571 * matchRule = {@link #R_CAMELCASE_MATCH}
572 * result: { 0, 2, 4, 2, 11, 2 }
573 * . pattern = "IPL3"
574 * name = "IPerspectiveListener3"
575 * matchRule = {@link #R_CAMELCASE_MATCH}
576 * result: { 0, 2, 12, 1, 20, 1 }
577 * . pattern = "HashME"
578 * name = "HashMapEntry"
579 * matchRule = {@link #R_CAMELCASE_MATCH}
580 * result: { 0, 5, 7, 1 }
581 * . pattern = "N???Po*Ex?eption"
582 * name = NullPointerException
583 * matchRule = {@link #R_PATTERN_MATCH} | {@link #R_CASE_SENSITIVE}
584 * result: { 0, 1, 4, 2, 11, 2, 14, 6 }
585 * . pattern = "Ha*M*ent*"
586 * name = "HashMapEntry"
587 * matchRule = {@link #R_PATTERN_MATCH}
588 * result: { 0, 2, 4, 1, 7, 3 }
589 *
590 * @see #camelCaseMatch(String, String, boolean) for more details on the
591 * camel case behavior
592 * @see CharOperation#match(char[], char[], boolean) for more details on the
593 * pattern match behavior
594 *
595 * @param pattern the given pattern. If <code>null</code>,
596 * then an empty region (<code>new int[0]</code>) will be returned
597 * showing that the name matches the pattern but no common
598 * character has been found.
599 * @param name the given name
600 * @param matchRule the rule to apply for the comparison.
601 * The following values are accepted:
602 * . {@link #R_EXACT_MATCH}
603 * . {@link #R_PREFIX_MATCH}
604 * . {@link #R_PATTERN_MATCH}
605 * . {@link #R_CAMELCASE_MATCH}
607 *
608 * Each of these valid values may be also combined with
609 * the {@link #R_CASE_SENSITIVE} flag.
610 *
611 * Some examples:
612 * . {@link #R_EXACT_MATCH} | {@link #R_CASE_SENSITIVE}:
613 * if an exact case sensitive match is expected,
614 * . {@link #R_PREFIX_MATCH}:
615 * if a case insensitive prefix match is expected,
616 * . {@link #R_CAMELCASE_MATCH}:
617 * if a case insensitive camel case match is expected,
619 * | {@link #R_CASE_SENSITIVE}:
620 * if a case sensitive camel case with same parts count match
621 * is expected,
622 * . etc.
623 *
624 * @return an array of <code>int</code> having two slots per returned
625 * regions (the first one is the region starting index and the second one
626 * is the region length or <code>null</code> if the given name does not
627 * match the given pattern).
628 *
629 * The returned regions may be empty (<code>new int[0]</code>) if the
630 * pattern is <code>null</code> (whatever the match rule is). The returned
631 * regions will also be empty if the pattern is only made of <code>'?'</code>
632 * and/or <code>'*'</code> character(s) (e.g. <code>'*'</code>,
633 * <code>'?*'</code>, <code>'???'</code>, etc.) when using a pattern
634 * match rule.
635 *
636 * @since 3.5
637 */
642<h3>Problem Reports Fixed</h3>
643<a href="">264991</a>
644Wrong 'unused' problem reported
645<br><a href="">237742</a>
646[javadoc] Javadoc tag name validation is incorrect
647<br><a href="">264843</a>
648[1.5][compiler] Eclipse compiler fails to reject invalid code with primitives autoboxed to generics
649<br><a href="">264881</a>
650[1.5][compiler]Incorrect unchecked conversion warnings for return types
651<br><a href="">201912</a>
652[compiler] Unused public members of private classes not flagged
653<br><a href="">264817</a>
654[search] &lt;char&gt; + * returns 'null' from SearchPattern.getMatchingRegions(String, String, int)
655<br><a href="">264816</a>
656[search] AIOOBE in StringOperation.getPatternMatchingRegions(..) with pattern &quot;?*&quot;
657<br><a href="">250454</a>
658[search] Cannot find method references between projects
659<br><a href="">218605</a>
660[search] SearchPattern: provide way to get the matching regions
661<br><a href="">263558</a>
662Can't compile from FindBugs with 3.5 Eclipse
663<br><a href="">264443</a>
664[parser] ASTParser.createASTs and IVariableBinding
666<a name="v_938"></a>
668Eclipse Platform Build Notes<br>
669Java development tools core</h1>
670Eclipse SDK 3.5M6 - February 10, 2009
671<br>Project org.eclipse.jdt.core v_938
672(<a href="">cvs</a>).
673<h2>What's new in this drop</h2>
675<h3>Problem Reports Fixed</h3>
676<a href="">261594</a>
677Adjust code to new PRE_REFRESH semantics
678<br><a href="">263877</a>
679[1.5][compiler] forward reference error flagged within enum
680<br><a href="">263633</a>
681[1.5][compiler] Invalid type mismatch for after generic method inference
682<br><a href="">262932</a>
683[assist] Constructor completion makes array allocation difficult
684<br><a href="">263653</a>
685patch for jdt.core.model.tests to accommodate icu 4.0.1
686<br><a href="">246627</a>
687[ast rewrite] Wrong indentation for statement inserted before SwitchCase
689<a name="v_937"></a>
691Eclipse Platform Build Notes<br>
692Java development tools core</h1>
693Eclipse SDK 3.5M6 - February 3, 2009
694<br>Project org.eclipse.jdt.core v_937
695(<a href="">cvs</a>).
696<h2>What's new in this drop</h2>
698<h3>Problem Reports Fixed</h3>
699<a href="">202393</a>
700[compiler] Incomplete code coverage or useless statement within ThrowStatement#resolve
701<br><a href="">263215</a>
702[1.5][compiler] I20090129-1200 generates suddenly an generics compile error that 3.5M4 didnt do
703<br><a href="">261510</a>
704[compiler] Deadlock in static initializer of JDT classes
705<br><a href="">262517</a>
706[ast rewrite] Whitespace settings in formatter ignored when adding annotation
707<br><a href="">260848</a>
708[perfs] Regression on JDT/Core plugin initialization performance test
709<br><a href="">257716</a>
710[compiler] Erroneous blank field may not have been initialized
711<br><a href="">262408</a>
712remove deprecated NamingConventions.VK_CONSTANT_FIELD
713<br><a href="">262717</a>
714Wrong line numbers in classfile
715<br><a href="">262568</a>
716improve Javadoc for ICompilationUnit.applyTextEdit(TextEdit, IProgressMonitor)
717<br><a href="">262389</a>
718Internal code must not use ICompilationUnit.applyTextEdit
720<a name="v_936"></a>
722Eclipse Platform Build Notes<br>
723Java development tools core</h1>
724Eclipse SDK 3.5M5 - January 27, 2009 - 3.5 MILESTONE 5
725<br>Project org.eclipse.jdt.core v_936
726(<a href="">cvs</a>).
727<h2>What's new in this drop</h2>
729<h3>Problem Reports Fixed</h3>
730<a href="">262304</a>
731[1.5][compiler] Enum constant in annotation value: javac vs Eclipse differ
733<a name="v_935"></a>
735Eclipse Platform Build Notes<br>
736Java development tools core</h1>
737Eclipse SDK 3.5M5 - January 25, 2009
738<br>Project org.eclipse.jdt.core v_935
739(<a href="">cvs</a>).
740<h2>What's new in this drop</h2>
742<li>Added APIs to take into account the generic type and the rank of a wildcard type binding:
743 <code>ITypeBinding#getGenericTypeOfWildcardType()</code>, <code>ITypeBinding#getRank()</code>, and
744 <code>BindingKey#createWildcardTypeBindingKey(String genericTypeKey, char boundKind, String boundTypeKey, int rank)</code>.</li>
747<h3>Problem Reports Fixed</h3>
748<a href="">262208</a>
749[1.5][compiler]Incorrect @Override and name clash errors
750<br><a href="">262209</a>
751[1.5][compiler]Incorrect ambiguous method calls
752<br><a href="">234609</a>
753[dom] BindingKey#toSignature() fails with key from createWilcardTypeBindingKey(..)
754<br><a href="">261973</a>
755[assist] Constructor completion should be improved (bug 6930)
757<a name="v_934"></a>
759Eclipse Platform Build Notes<br>
760Java development tools core</h1>
761Eclipse SDK 3.5M5 - January 20, 2009
762<br>Project org.eclipse.jdt.core v_934
763(<a href="">cvs</a>).
764<h2>What's new in this drop</h2>
766<li>Added new API to propose constructor completion<br>
767When "new ArrayLis" is completed now constructors are proposed instead of type references.
768This new completion kind is <code>CONSTRUCTOR_INVOCATION</code> and this proposal has always a
769<code>TYPE_REF</code> required proposal to describe the type of the constructor.
770The <code>CONSTRUCTOR_INVOCATION</code> has "()" as completion string and <code>TYPE_REF</code> has
771"java.util.ArrayList" as completion string.<br>
772There is also a similar new API to complete anonymous type constructor: <code>ANONYMOUS_CLASS_CONSTRUCTOR_INVOCATION</code><br>
777 /**
778 * Completion is a reference to a constructor.
779 * This kind of completion might occur in a context like
780 * &lt;code&gt;"new Lis"&lt;/code&gt; and complete it to
781 * &lt;code&gt;"new List();"&lt;/code&gt; if List is a class that is not abstract.
782 * &lt;p&gt;
783 * The following additional context information is available
784 * for this kind of completion proposal at little extra cost:
785 * &lt;ul&gt;
786 * &lt;li&gt;{@link #getDeclarationSignature()} -
787 * the type signature of the type that declares the constructor that is referenced
788 * &lt;/li&gt;
789 * &lt;li&gt;{@link #getFlags()} -
790 * the modifiers flags of the constructor that is referenced
791 * &lt;/li&gt;
792 * &lt;li&gt;{@link #getName()} -
793 * the simple name of the constructor that is referenced
794 * &lt;/li&gt;
795 * &lt;li&gt;{@link #getSignature()} -
796 * the method signature of the constructor that is referenced
797 * &lt;/li&gt;
798 * &lt;/ul&gt;
799 * &lt;/p&gt;
800 * &lt;p&gt;
801 * This kind of proposal could require a long computation, so they are computed only if completion operation is called with a {@link IProgressMonitor}
802 * (eg. {@link ICodeAssist#codeComplete(int, CompletionRequestor, IProgressMonitor)}).&lt;br&gt;
803 * This kind of proposal is always is only proposals with a {@link #TYPE_REF} required proposal, so this kind of required proposal must be allowed:
804 * &lt;code&gt;requestor.setAllowsRequiredProposals(CONSTRUCTOR_INVOCATION, TYPE_REF, true)&lt;/code&gt;.
805 * &lt;/p&gt;
806 *
807 * @see #getKind()
808 * @see CompletionRequestor#setAllowsRequiredProposals(int, int, boolean)
809 *
810 * @since 3.5
811 */
812 public static final int CONSTRUCTOR_INVOCATION = 26;
814 /**
815 * Completion is a reference of a constructor of an anonymous class.
816 * This kind of completion might occur in a context like
817 * &lt;code&gt;"new Lis^;"&lt;/code&gt; and complete it to
818 * &lt;code&gt;"new List() {}"&lt;/code&gt; if List is an interface or abstract class.
819 * &lt;p&gt;
820 * The following additional context information is available
821 * for this kind of completion proposal at little extra cost:
822 * &lt;ul&gt;
823 * &lt;li&gt;{@link #getDeclarationSignature()} -
824 * the type signature of the type being implemented or subclassed
825 * &lt;/li&gt;
826 * &lt;li&gt;{@link #getDeclarationKey()} -
827 * the type unique key of the type being implemented or subclassed
828 * &lt;/li&gt;
829 * &lt;li&gt;{@link #getSignature()} -
830 * the method signature of the constructor that is referenced
831 * &lt;/li&gt;
832 * &lt;li&gt;{@link #getKey()} -
833 * the method unique key of the constructor that is referenced
834 * if the declaring type is not an interface
835 * &lt;/li&gt;
836 * &lt;li&gt;{@link #getFlags()} -
837 * the modifiers flags of the constructor that is referenced
838 * &lt;/li&gt;
839 * &lt;/ul&gt;
840 * &lt;/p&gt;
841 * &lt;p&gt;
842 * This kind of proposal could require a long computation, so they are computed only if completion operation is called with a {@link IProgressMonitor}
843 * (eg. {@link ICodeAssist#codeComplete(int, CompletionRequestor, IProgressMonitor)})&lt;br&gt;
844 * This kind of proposal is always is only proposals with a {@link #TYPE_REF} required proposal, so this kind of required proposal must be allowed:
845 * &lt;code&gt;requestor.setAllowsRequiredProposals(CONSTRUCTOR_INVOCATION, TYPE_REF, true)&lt;/code&gt;.
846 * &lt;/p&gt;
847 *
848 * @see #getKind()
849 * @see CompletionRequestor#setAllowsRequiredProposals(int, int, boolean)
850 *
851 * @since 3.5
852 */
853 public static final int ANONYMOUS_CLASS_CONSTRUCTOR_INVOCATION = 27;
855These new proposals can require a long computation so they are proposed only if code assist was called with a progress monitor.
856To avoid that the code assist operation takes too much time a <code>IProgressMonitor</code> which automatically cancel the code
857assist operation when a specified amount of time is reached could be used.
860new IProgressMonitor() {
861 private final static int TIMEOUT = 500; //ms
862 private long endTime;
863 public void beginTask(String name, int totalWork) {
864 fEndTime= System.currentTimeMillis() + TIMEOUT;
865 }
866 public boolean isCanceled() {
867 return endTime &lt;= System.currentTimeMillis();
868 }
869 ...
870 };
873<li>Fix for <a href="">bug 6930</a> required the index version to be incremented.
874 Indexes will be automatically regenerated upon subsequent search queries (accounting for indexing notification in search progress
875 dialogs) and the size of the new indexes will be bigger.
879<h3>Problem Reports Fixed</h3>
880<a href="">260717</a>
881[assist] Constructors should be proposed even when the declaring type is not imported
882<br><a href="">6930</a>
883[assist] Constructor completion
884<br><a href="">220311</a>
885[1.5][compiler] does not recognise duplicate annotations as a problem
886<br><a href="">259685</a>
887Bogus build error &quot;Cannot nest&quot; xyz &quot;inside library&quot;
888<br><a href="">260798</a>
889[formatter] Strange behavior of never join lines
891<a name="v_933"></a>
893Eclipse Platform Build Notes<br>
894Java development tools core</h1>
895Eclipse SDK 3.5M5 - January 13, 2009
896<br>Project org.eclipse.jdt.core v_933
897(<a href="">cvs</a>).
898<h2>What's new in this drop</h2>
900<li>Improved generic method inference to better match JLS The compiler now infers better in presence of unchecked conversion in argument types (raw types). </li>
903<h3>Problem Reports Fixed</h3>
904<a href="">214948</a>
905Incorrect deprecation warning on annotation instances
906<br><a href="">260276</a>
907[formatter] Inconsistent formatting of one-line block comment
908<br><a href="">239607</a>
909[formatter] Incorrect removal of asterisk (*) within a block comment when formatting
910<br><a href="">254998</a>
911[formatter] wrong type comment format during code generation
912<br><a href="">258798</a>
913[1.5][compiler] Return type should be erased after unchecked conversion during inference
914<br><a href="">258906</a>
915[jsr269] Package annotations not visible to Java 6 APT processors
916<br><a href="">259633</a>
917[1.5][compiler] Bound of type parameter of class in method not checked
918<br><a href="">149768</a>
919Annotations should be a compilation dependency
920<br><a href="">260257</a>
921Reduce space taken by SourceRefElementInfos
922<br><a href="">259607</a>
923Deadlock opening launch configuration dialog
925<a name="v_932"></a>
927Eclipse Platform Build Notes<br>
928Java development tools core</h1>
929Eclipse SDK 3.5M5 - January 6, 2009
930<br>Project org.eclipse.jdt.core v_932
931(<a href="">cvs</a>).
932<h2>What's new in this drop</h2>
934<h3>Problem Reports Fixed</h3>
935<a href="">258145</a>
936Fup of bug 252555, JME is thrown when exists twice in the same project
937<br><a href="">259129</a>
938[compiler] Fup of bug 258950, wrong line number attribute for cascading method invocations
940<a name="v_931"></a>
942Eclipse Platform Build Notes<br>
943Java development tools core</h1>
944Eclipse SDK 3.5M5 - December 16, 2008
945<br>Project org.eclipse.jdt.core v_931
946(<a href="">cvs</a>).
947<h2>What's new in this drop</h2>
949<h3>Problem Reports Fixed</h3>
950<a href="">171136</a>
951[buildpath] Illegal type of archive for required library is an incorrect message.
953<a name="v_930"></a>
955Eclipse Platform Build Notes<br>
956Java development tools core</h1>
957Eclipse SDK 3.5M4 - December 10, 2008 - 3.5 MILESTONE 4
958<br>Project org.eclipse.jdt.core v_930
959(<a href="">cvs</a>).
960<h2>What's new in this drop</h2>
962<h3>Problem Reports Fixed</h3>
963<a href="">255008</a>
964[compiler] Assert statement discrepancy with javac caused by an uninitialized variable
965<br><a href="">258039</a>
966[1.5][compiler] Misleading error message for &quot;instanceof List&lt;Object&gt;&quot;
968<a name="v_929"></a>
970Eclipse Platform Build Notes<br>
971Java development tools core</h1>
972Eclipse SDK 3.5M4 - December 8, 2008
973<br>Project org.eclipse.jdt.core v_929
974(<a href="">cvs</a>).
975<h2>What's new in this drop</h2>
977<li>Added property to adjust the size of the openable cache: "org.eclipse.jdt.core.javamodelcache.ratio". For example, starting Eclipse as follows will increase the
978 size of the openable cache by 50%:
979 <pre>eclipse.exe -vmArgs -Dorg.eclipse.jdt.core.javamodelcache.ratio=1.5</pre>
982As users may want to have different behavior in comments, the new formatter
983preference to preserve line breaks is now controlled by two different options:
985<li>for the already wrapped code lines:<br>
989 * FORMATTER / Option to specify whether the formatter can join wrapped lines or not
990 *
991 * For example, the wrapped lines of method foo return statement in following test case:
992 * class X {
993 * String foo() {
994 * return "select x "
995 * + "from y "
996 * + "where z=a";
997 * }
998 * }
999 *
1000 * will be preserved by the formatter when the new preference is used
1001 * even if the maximum line width would give it enough space to join the lines.
1002 * Hence produces the following output:
1003 * class X {
1004 * String foo() {
1005 * return "select x "
1006 * + "from y "
1007 * + "where z=a";
1008 * }
1009 * }
1010 *
1011 * - option id: "org.eclipse.jdt.core.formatter.join_wrapped_lines"
1012 * - possible values: { TRUE, FALSE }
1013 * - default: TRUE
1014 *
1015 * @since 3.5
1016 */
1019<li>for the lines in comments:<br>
1023 * FORMATTER / Option to specify whether the formatter can join text lines in comments or not
1024 *
1025 * For example, the following comment:
1026 * /**
1027 * * The foo method.
1028 * * foo is a substitute for bar.
1029 * */
1030 * public class X {
1031 * }
1032 *
1033 * will be unchanged by the formatter when this new preference is used,
1034 * even if the maximum line width would give it enough space to join the lines.
1035 *
1036 * - option id: "org.eclipse.jdt.core.formatter.join_lines_in_comments"
1037 * - possible values: { TRUE, FALSE }
1038 * - default: TRUE
1039 *
1040 * @since 3.5
1041 */
1047<h3>Problem Reports Fixed</h3>
1048<a href="">257907</a>
1049[Formatter] FORMATTER_PRESERVE_EXISTING_LINE_BREAKS needs clarification
1050<br><a href="">257906</a>
1051[Formatter] should have separate 'preserve existing line breaks' for code and comment formatting
1052<br><a href="">232816</a>
1053[buildpath] Misleading problem text for missing jar in user library
1054<br><a href="">257849</a>
1055[1.5][compiler] Internal compiler error using generics w/ abstract classes &amp; interfaces
1056<br><a href="">257869</a>
1057Adjust Java model cache size using a property
1059<a name="v_928"></a>
1061Eclipse Platform Build Notes<br>
1062Java development tools core</h1>
1063Eclipse SDK 3.5M4 - December 7, 2008
1064<br>Project org.eclipse.jdt.core v_928
1065(<a href="">cvs</a>).
1066<h2>What's new in this drop</h2>
1069Added a new formatter preference to preserve existing breaks in already wrapped and comments lines.<br>
1071For example, the wrapped lines of method foo return statement in following test case:
1074class X {
1075String foo() {
1076return "select x "
1077 + "from y "
1078 + "where z=a";
1082will be preserved by the formatter when the new preference is used, hence produces
1083now the following output:
1085class X {
1086 String foo() {
1087 return "select x "
1088 + "from y "
1089 + "where z=a";
1090 }
1093Similarly, following comment:
1096 * The foo method.
1097 * foo is a substitute for bar.
1098 */
1099public class X {
1102is now unchanged by the formatter when this new preference is used...<br>
1104This diagnosis is controlled by the option:<br>
1108 * FORMATTER / Option to specify whether the formatter should preserve existing line breaks or not
1109 * - option id: "org.eclipse.jdt.core.formatter.preserve_existing_line_breaks"
1110 * - possible values: { TRUE, FALSE }
1111 * - default: FALSE
1112 * @since 3.5
1113 */
1118<h3>Problem Reports Fixed</h3>
1119<a href="">257434</a>
1120[1.5][compiler] Should detect type mismatch after capture
1121<br><a href="">257384</a>
1122AIOOBE during problem reporting
1123<br><a href="">239130</a>
1124[formatter] Comment formatter does not keep blank lines after @see references
1125<br><a href="">198074</a>
1126[formatter] the code formatter doesn't respect my new lines
1127<br><a href="">256799</a>
1128[formatter] Formatter wrongly adds space to //$FALL-THROUGH$ is
1130<a name="v_927"></a>
1132Eclipse Platform Build Notes<br>
1133Java development tools core</h1>
1134Eclipse SDK 3.5M4 - December 2, 2008
1135<br>Project org.eclipse.jdt.core v_927
1136(<a href="">cvs</a>).
1137<h2>What's new in this drop</h2>
1140Improved dead code detection by having it (optionally) tolerate trivial IF statement,
1141such as <code>if (DEBUG) ...</code>. This extra option is defined by
1144* Compiler option ID: Reporting Dead Code Inside Trivial If Statement.
1145* When enabled, the compiler will signal presence of dead code inside trivial IF statement, e.g. if (DEBUG)...
1146* The severity of the problem is controlled with option {@link #COMPILER_PB_DEAD_CODE}.
1148* Option id:"org.eclipse.jdt.core.compiler.problem.deadCodeInTrivialIfStatement"
1149* Possible values:{ "enabled", "disabled" }
1150* Default:"warning"
1153<li>Dead code detection warning also got enabled by default.
1155* Compiler option ID: Reporting Dead Code.
1156* When enabled, the compiler will issue an error or a warning if some non fatal dead code is detected. For instance, if (false) foo();
1157* is not reported as truly unreachable code by the Java Language Specification. If this diagnostic is enabled, then the invocation of foo() is
1158* going to be signaled as being dead code.
1159* Option id:"org.eclipse.jdt.core.compiler.problem.deadCode"
1160* Possible values:{ "error", "warning", "ignore" }
1161* Default:"warning"
1166<h3>Problem Reports Fixed</h3>
1167<a href="">256329</a>
1168Impossible NPE in JavaModelManager.getOptions
1169<br><a href="">256882</a>
1170[compiler] Enable DeadCode detection by default
1171<br><a href="">255970</a>
1172test tear down failed causing cascade of failures
1173<br><a href="">207093</a>
1174Perf: adding a new top-level package is slow if many source files exist
1175<br><a href="">252948</a>
1176Unncessary compilation when adding packages with an existing path segment at the beginning
1177<br><a href="">256735</a>
1178Marker property value is too long for internal compiler error (java.lang.StackOverflowError)
1179<br><a href="">227986</a>
1180Avoid duplicated strings in Java model
1181<br><a href="">256463</a>
1182[compiler] Support common debug pattern in unreachable code detection
1183<br><a href="">256679</a>
1184[perfs] SearchAllTypeNames performance tests are slower on eplnx2
1185<br><a href="">228845</a>
1186[hierarchy] Type hierarchy should include subtypes in primary working copies
1187<br><a href="">252571</a>
1188[buildpath] External folder appears empty after workspace move
1189<br><a href="">256404</a>
1190Wrong handle identifier for external library folder
1192<a name="v_926"></a>
1194Eclipse Platform Build Notes<br>
1195Java development tools core</h1>
1196Eclipse SDK 3.5M4 - November 25, 2008
1197<br>Project org.eclipse.jdt.core v_926
1198(<a href="">cvs</a>).
1199<h2>What's new in this drop</h2>
1202Added a new compiler warning to signal presence of dead code, e.g. <code>if (false) deadCode(); </code>.
1203This diagnosis is controlled by option:
1204<code>JavaCore.COMPILER_PB_DEAD_CODE</code> and produces a problem marker which ID is <code>IProblem.DeadCode</code> problem ID.
1206* Compiler option ID: Reporting Dead Code.
1207* When enabled, the compiler will issue an error or a warning if some non fatal dead code is detected. For instance, if (false) foo();
1208* is not reported as truly unreachable code by the Java Language Specification. If this diagnostic is enabled, then the invocation of foo() is
1209* going to be signaled as being dead code.
1210* Option id:"org.eclipse.jdt.core.compiler.problem.deadCode"
1211* Possible values:{ "error", "warning", "ignore" }
1212* Default:"ignore"
1217<h3>Problem Reports Fixed</h3>
1218<a href="">251504</a>
1219[index] Wrong indexes may be used while performing a search request
1220<br><a href="">48399</a>
1221[compiler] Enhance unreachable code detection
1222<br><a href="">254825</a>
1223[javadoc] compile error when referencing outer param from inner class javadoc
1224<br><a href="">252555</a>
1225[javadoc] NPE on duplicate package-info
1226<br><a href="">251690</a>
1227[compiler] NPE if type collides with a package
1228<br><a href="">249134</a>
1229[compiler] error message (implement abstract method) not as intended
1230<br><a href="">154162</a>
1231[1.5][compiler] Uninformative error message for qualified enum constants in switch statement
1232<br><a href="">255974</a>
1233Abusive usage of InvalidInputException in the compiler
1234<br><a href="">251693</a>
1235NamingConventions.suggestXXXNames should call suggestVariableNames()
1236<br><a href="">255345</a>
1237Problems in new NamingConventions APIs
1238<br><a href="">255452</a>
1239[1.5][compiler] Eclipse allows forward reference in enum constructor
1241<a name="v_925"></a>
1243Eclipse Platform Build Notes<br>
1244Java development tools core</h1>
1245Eclipse SDK 3.5M4 - November 18, 2008
1246<br>Project org.eclipse.jdt.core v_925
1247(<a href="">cvs</a>).
1248<h2>What's new in this drop</h2>
1250<h3>Problem Reports Fixed</h3>
1251<a href="">255501</a>
1252EncodingTests failing when run by itself
1253<br><a href="">255035</a>
1254[compiler] Internal compile error gets reported (NPE)
1255<br><a href="">250297</a>
1256[compiler] NPE in org.eclipse.jdt.internal.compiler.problem.ProblemReporter.missingTypeInMethod(
1257<br><a href="">232558</a>
1258[compiler] += is not allowed between Object and String
1260<a name="v_924"></a>
1262Eclipse Platform Build Notes<br>
1263Java development tools core</h1>
1264Eclipse SDK 3.5M4 - November 10, 2008
1265<br>Project org.eclipse.jdt.core v_924
1266(<a href="">cvs</a>).
1267<h2>What's new in this drop</h2>
1269<h3>Problem Reports Fixed</h3>
1270<a href="">252868</a>
1271[batch][compiler] ConcurrentModificationException in org.eclipse.jdt.internal.compiler.batch.ClasspathJar.fetchLinkedJars
1272<br><a href="">236242</a>
1273[compiler][1.7] compiler difference to javac 7 involving parameterized uses of raw methods
1274<br><a href="">211256</a>
1275[ast rewrite] whitespace missing between return and expression
1276<br><a href="">253891</a>
1277Incorrect tag closure in JavaModel javadoc
1278<br><a href="">252120</a>
1279[1.5][compiler] raw type diagnostic not coherent with javac one
1281<a name="v_923"></a>
1283Eclipse Platform Build Notes<br>
1284Java development tools core</h1>
1285Eclipse SDK 3.5M4 - November 4, 2008
1286<br>Project org.eclipse.jdt.core v_923
1287(<a href="">cvs</a>).
1288<h2>What's new in this drop</h2>
1290<h3>Problem Reports Fixed</h3>
1291<a href="">250211</a>
1292[search] Organize Imports Hangs
1293<br><a href="">241821</a>
1294[compiler] Multiple interfaces and incompatible return types
1295<br><a href="">251279</a>
1296[1.5][compiler] Covariant generics interfaces causes compile error
1298<a name="v_922"></a>
1300Eclipse Platform Build Notes<br>
1301Java development tools core</h1>
1302Eclipse SDK 3.5M3 - October 29, 2008 - 3.5 MILESTONE 3
1303<br>Project org.eclipse.jdt.core v_922
1304(<a href="">cvs</a>).
1305<h2>What's new in this drop</h2>
1307<h3>Problem Reports Fixed</h3>
1308<a href="">252481</a>
1309[code assist] NPE in findAllTypes
1311<a name="v_921"></a>
1313Eclipse Platform Build Notes<br>
1314Java development tools core</h1>
1315Eclipse SDK 3.5M3 - October 28, 2008
1316<br>Project org.eclipse.jdt.core v_921
1317(<a href="">cvs</a>).
1318<h2>What's new in this drop</h2>
1320<h3>Problem Reports Fixed</h3>
1321<a href="">252264</a>
1322Invalid classpath header messages should be logged in verbose mode only
1323<br><a href="">252392</a>
1324Missing jars referenced in the Class-Path: clause of a MANIFEST.MF file should not be reported as errors
1325<br><a href="">247845</a>
1326[misc] Errors in log from fetching Javadoc when working disconnected
1328<a name="v_920"></a>
1330Eclipse Platform Build Notes<br>
1331Java development tools core</h1>
1332Eclipse SDK 3.5M3 - October 25, 2008
1333<br>Project org.eclipse.jdt.core v_920
1334(<a href="">cvs</a>).
1335<h2>What's new in this drop</h2>
1337<li>NamingConventions has now a more flexible API to suggest variable name: <code>NamingConventions.suggestVariableNames()</code>.<br>
1338The same method can be used to suggest local, instance field, static field and constant field name.
1339This method use a new specific heuristic to generate constant name with upper case and underscore (e.g. <code>CONSTANT_FIELD_NAME</code>).
1341public static String[] suggestVariableNames(
1342 int variableKind,
1343 int baseNameKind,
1344 String baseName,
1345 IJavaProject javaProject,
1346 int dim,
1347 String[] excluded,
1348 boolean evaluateDefault)
1351<li>NamingConventions has now an API to compute the name used to generate a variable name: <code>NamingConventions.getBaseName()</code>.<br>
1353public static String getBaseName(
1354 int variableKind,
1355 String variableName,
1356 IJavaProject javaProject)
1359<li>New options are added to specify the prefixes and suffixes of a constant field: <code>JavaCore.CODEASSIST_STATIC_FIELD_PREFIXES</code> and <code>JavaCore.CODEASSIST_STATIC_FIELD_SUFFIXES</code>.
1362<h3>Problem Reports Fixed</h3>
1363<a href="">250975</a>
1364[1.5][compiler] Stack overflow on static import.
1365<br><a href="">249785</a>
1366[javadoc][assist] Javadoc content assist after &quot;@see #&quot; does not work with deprecated member before
1367<br><a href="">249692</a>
1368The ImportRewriteAnalyzer does not honor a formatter setting
1369<br><a href="">251814</a>
1370[1.5][compiler] Dup Enum#valueOf(...) should keep the synthetic one
1371<br><a href="">248309</a>
1372[model] IAnnotatable#getAnnotations() does not work for standard annotations on binary members
1373<br><a href="">251518</a>
1374Tons of invalid API tooling errors when checking out jdt.core
1375<br><a href="">251356</a>
1376Fix for bug 146768 breaks JDT Refactoring and its test
1377<br><a href="">249027</a>
1378NPE in Engine if type collides with a package
1379<br><a href="">85946</a>
1380NamingConventions.suggestFieldNames(..) does not consider 'final' modifier for constants
1381<br><a href="">38111</a>
1382[DCR] Make NamingConventions more flexible
1384<a name="v_919"></a>
1386Eclipse Platform Build Notes<br>
1387Java development tools core</h1>
1388Eclipse SDK 3.5M3 - October 21, 2008
1389<br>Project org.eclipse.jdt.core v_919
1390(<a href="">cvs</a>).
1391<h2>What's new in this drop</h2>
1393<li>The compiler is now better resilient with duplicate field/method definitions and will avoid secondary errors
1394detected when subsenquently using the offending field/method.
1397<h3>Problem Reports Fixed</h3>
1398<a href="">251523</a>
1399[1.5][compiler] Should still flag Enum#valueOf override
1400<br><a href="">246276</a>
1401NPE during code completion
1402<br><a href="">249844</a>
1403IBinding#getJavaElement() always returns null for IAnnotationBindings declared in annotation or enum types
1404<br><a href="">146768</a>
1405[compiler] Should be more resilient with duplicate fields/methods
1406<br><a href="">251091</a>
1407Covariant return types not honored for combined extension and implementation
1408<br><a href="">251079</a>
1409Got error dialog after switching default JRE
1411<a name="v_918"></a>
1413Eclipse Platform Build Notes<br>
1414Java development tools core</h1>
1415Eclipse SDK 3.5M3 - October 16, 2008
1416<br>Project org.eclipse.jdt.core v_918
1417(<a href="">cvs</a>).
1418<h2>What's new in this drop</h2>
1420<li>New API for the ASTVisitor class: <code>org.eclipse.jdt.core.dom.ASTVisitor.preVisit2(ASTNode)</code>.<br>
1421New API type: <code>org.eclipse.jdt.core.dom.NodeFinder</code>.<br>
1422All details are available in bug <a href="">53024</a>.<br>
1423These new APIs are still under discussion and are released for JDT/UI adoption.</li>
1426<h3>Problem Reports Fixed</h3>
1427<a href="">250946</a>
1428Bogus jar file is added to the project build path
1429<br><a href="">250022</a>
1430Java Model Exception: Java Model Status when getting code assist in debug detail formatter dialog
1431<br><a href="">53024</a>
1432[DOM] Move NodeFinder to a non-internal package
1433<br><a href="">250753</a>
1434[formatter] Insert space between empty braces in array initializers ignored without &quot;Keep empty array initializer on one line&quot;
1435<br><a href="">248319</a>
1436[compiler][1.5] Valid Java source produces class file that doesn't verify (VerifyError, javac compiles correctly)
1437<br><a href="">249567</a>
1438Incorrect behavior of Util.getUnresolvedJavaElement(...) method
1440<a name="v_917"></a>
1442Eclipse Platform Build Notes<br>
1443Java development tools core</h1>
1444Eclipse SDK 3.5M3 - October 14, 2008
1445<br>Project org.eclipse.jdt.core v_917
1446(<a href="">cvs</a>).
1447<h2>What's new in this drop</h2>
1449<li>Duplicate classpath entries are no longer reported if they are duplicate because of the classpath resolution
1450 (e.g. if two classpath containers add the same entry to the resolved classpath).
1451 Duplicate classpath entries at the raw classpath level are still reported.
1452 See <a href="">bug 175226</a> for details.
1455Added a new compiler warning to report a missing hashCode() method when overriding the equals() method from Object.
1456This diagnosis is controlled by option:
1457<code>JavaCore.COMPILER_PB_MISSING_HASHCODE_METHOD</code> and produces a problem marker which ID is
1458<code>IProblem.MissingHashCodeMethod</code> problem ID.
1460 Compiler option ID: Reporting Missing HashCode Method.
1461 When enabled, the compiler will issue an error or a warning if a type
1462 overrides Object.equals(Object) but does not override hashCode().
1463 Option id: "org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod"
1464 Possible values: { "error", "warning", "ignore" }
1465 Default: "ignore"
1468<li>The "Class-Path:" clause of a jar manifest is now honored in the Java model. Jars referenced by "Class-Path:" are now automatically
1469 added to the build path. See <a href="">bug 198572</a> for details.</li>
1470<li>Code Select search types outside the current project scope if no types are found in this scope</li>
1471<li>Code Assist operation can be called with a progress monitor:
1473public interface ICodeAssist {
1474 /**
1475 * Performs code completion at the given offset position in this compilation unit,
1476 * reporting results to the given completion requestor. The &lt;code&gt;offset&lt;/code&gt;
1477 * is the 0-based index of the character, after which code assist is desired.
1478 * An &lt;code&gt;offset&lt;/code&gt; of -1 indicates to code assist at the beginning of this
1479 * compilation unit.
1480 * It considers types in the working copies with the given owner first. In other words,
1481 * the owner's working copies will take precedence over their original compilation units
1482 * in the workspace.
1483 * &lt;p&gt;
1484 * Note that if a working copy is empty, it will be as if the original compilation
1485 * unit had been deleted.
1486 * &lt;/p&gt;
1487 *
1488 * @param offset the given offset position
1489 * @param requestor the given completion requestor
1490 * @param owner the owner of working copies that take precedence over their original compilation units
1491 * @exception JavaModelException if code assist could not be performed. Reasons include:&lt;ul&gt;
1492 * &lt;li&gt;This Java element does not exist (ELEMENT_DOES_NOT_EXIST)&lt;/li&gt;
1493 * &lt;li&gt; The position specified is &lt; -1 or is greater than this compilation unit's
1494 * source length (INDEX_OUT_OF_BOUNDS)
1495 * &lt;/ul&gt;
1496 *
1497 * @exception IllegalArgumentException if &lt;code&gt;requestor&lt;/code&gt; is &lt;code&gt;null&lt;/code&gt;
1498 * @since 3.0
1499 * @deprecated Use {@link #codeComplete(int, CompletionRequestor, WorkingCopyOwner)} instead.
1500 */
1501 void codeComplete(int offset, ICompletionRequestor requestor, WorkingCopyOwner owner)
1502 throws JavaModelException;
1504 /**
1505 * Performs code completion at the given offset position in this compilation unit,
1506 * reporting results to the given completion requestor. The &lt;code&gt;offset&lt;/code&gt;
1507 * is the 0-based index of the character, after which code assist is desired.
1508 * An &lt;code&gt;offset&lt;/code&gt; of -1 indicates to code assist at the beginning of this
1509 * compilation unit.
1510 * &lt;p&gt;
1511 *
1512 * @param offset the given offset position
1513 * @param requestor the given completion requestor
1514 * @exception JavaModelException if code assist could not be performed. Reasons include:&lt;ul&gt;
1515 * &lt;li&gt;This Java element does not exist (ELEMENT_DOES_NOT_EXIST)&lt;/li&gt;
1516 * &lt;li&gt; The position specified is &lt; -1 or is greater than this compilation unit's
1517 * source length (INDEX_OUT_OF_BOUNDS)
1518 * &lt;/ul&gt;
1519 *
1520 * @exception IllegalArgumentException if &lt;code&gt;requestor&lt;/code&gt; is &lt;code&gt;null&lt;/code&gt;
1521 * @since 3.0
1522 */
1523 void codeComplete(int offset, CompletionRequestor requestor)
1524 throws JavaModelException;
1527public interface IType {
1528 /**
1529 * Do code completion inside a code snippet in the context of the current type.
1530 *
1531 * If the type can access to his source code and the insertion position is valid,
1532 * then completion is performed against source. Otherwise the completion is performed
1533 * against type structure and given locals variables.
1534 *
1535 * @param snippet the code snippet
1536 * @param insertion the position with in source where the snippet
1537 * is inserted. This position must not be in comments.
1538 * A possible value is -1, if the position is not known.
1539 * @param position the position within snippet where the user
1540 * is performing code assist.
1541 * @param localVariableTypeNames an array (possibly empty) of fully qualified
1542 * type names of local variables visible at the current scope
1543 * @param localVariableNames an array (possibly empty) of local variable names
1544 * that are visible at the current scope
1545 * @param localVariableModifiers an array (possible empty) of modifiers for
1546 * local variables
1547 * @param isStatic whether the current scope is in a static context
1548 * @param requestor the completion requestor
1549 * @param monitor the progress monitor used to report progress
1550 * @exception JavaModelException if this element does not exist or if an
1551 * exception occurs while accessing its corresponding resource.
1552 * @since 3.5
1553 */
1554 void codeComplete(
1555 char[] snippet,
1556 int insertion,
1557 int position,
1558 char[][] localVariableTypeNames,
1559 char[][] localVariableNames,
1560 int[] localVariableModifiers,
1561 boolean isStatic,
1562 CompletionRequestor requestor,
1563 IProgressMonitor monitor)
1564 throws JavaModelException;
1566 /**
1567 * Do code completion inside a code snippet in the context of the current type.
1568 * It considers types in the working copies with the given owner first. In other words,
1569 * the owner's working copies will take precedence over their original compilation units
1570 * in the workspace.
1571 * &lt;p&gt;
1572 * Note that if a working copy is empty, it will be as if the original compilation
1573 * unit had been deleted.
1574 * &lt;/p&gt;&lt;p&gt;
1575 * If the type can access to his source code and the insertion position is valid,
1576 * then completion is performed against source. Otherwise the completion is performed
1577 * against type structure and given locals variables.
1578 * &lt;/p&gt;
1579 *
1580 * @param snippet the code snippet
1581 * @param insertion the position with in source where the snippet
1582 * is inserted. This position must not be in comments.
1583 * A possible value is -1, if the position is not known.
1584 * @param position the position with in snippet where the user
1585 * is performing code assist.
1586 * @param localVariableTypeNames an array (possibly empty) of fully qualified
1587 * type names of local variables visible at the current scope
1588 * @param localVariableNames an array (possibly empty) of local variable names
1589 * that are visible at the current scope
1590 * @param localVariableModifiers an array (possible empty) of modifiers for
1591 * local variables
1592 * @param isStatic whether the current scope is in a static context
1593 * @param requestor the completion requestor
1594 * @param owner the owner of working copies that take precedence over their original compilation units
1595 * @param monitor the progress monitor used to report progress
1596 * @exception JavaModelException if this element does not exist or if an
1597 * exception occurs while accessing its corresponding resource.
1598 * @since 3.5
1599 */
1600 void codeComplete(
1601 char[] snippet,
1602 int insertion,
1603 int position,
1604 char[][] localVariableTypeNames,
1605 char[][] localVariableNames,
1606 int[] localVariableModifiers,
1607 boolean isStatic,
1608 CompletionRequestor requestor,
1609 WorkingCopyOwner owner,
1610 IProgressMonitor monitor)
1611 throws JavaModelException;
1614public interface IEvaluationContext {
1615 /**
1616 * Performs a code completion at the given position in the given code snippet,
1617 * reporting results to the given completion requestor.
1618 * &lt;p&gt;
1619 * Note that code completion does not involve evaluation.
1620 * &lt;p&gt;
1621 *
1622 * @param codeSnippet the code snippet to complete in
1623 * @param position the character position in the code snippet to complete at,
1624 * or -1 indicating the beginning of the snippet
1625 * @param requestor the code completion requestor capable of accepting all
1626 * possible types of completions
1627 * @param monitor the progress monitor used to report progress
1628 * @exception JavaModelException if code completion could not be performed. Reasons include:
1629 * &lt;ul&gt;
1630 * &lt;li&gt;The position specified is less than -1 or is greater than the snippet's
1631 * length (INDEX_OUT_OF_BOUNDS)&lt;/li&gt;
1632 * &lt;/ul&gt;
1633 * @since 3.5
1634 */
1635 public void codeComplete(
1636 String codeSnippet,
1637 int position,
1638 CompletionRequestor requestor,
1639 IProgressMonitor monitor)
1640 throws JavaModelException;
1642 /**
1643 * Performs a code completion at the given position in the given code snippet,
1644 * reporting results to the given completion requestor.
1645 * It considers types in the working copies with the given owner first. In other words,
1646 * the owner's working copies will take precedence over their original compilation units
1647 * in the workspace.
1648 * &lt;p&gt;
1649 * Note that if a working copy is empty, it will be as if the original compilation
1650 * unit had been deleted.
1651 * &lt;/p&gt;
1652 * &lt;p&gt;
1653 * Note that code completion does not involve evaluation.
1654 * &lt;p&gt;
1655 *
1656 * @param codeSnippet the code snippet to complete in
1657 * @param position the character position in the code snippet to complete at,
1658 * or -1 indicating the beginning of the snippet
1659 * @param requestor the code completion requestor capable of accepting all
1660 * possible types of completions
1661 * @param owner the owner of working copies that take precedence over their original compilation units
1662 * @param monitor the progress monitor used to report progress
1663 * @exception JavaModelException if code completion could not be performed. Reasons include:
1664 * &lt;ul&gt;
1665 * &lt;li&gt;The position specified is less than -1 or is greater than the snippet's
1666 * length (INDEX_OUT_OF_BOUNDS)&lt;/li&gt;
1667 * &lt;/ul&gt;
1668 * @since 3.5
1669 */
1670 public void codeComplete(
1671 String codeSnippet,
1672 int position,
1673 CompletionRequestor requestor,
1674 WorkingCopyOwner owner,
1675 IProgressMonitor monitor)
1676 throws JavaModelException;
1682<h3>Problem Reports Fixed</h3>
1683<a href="">250685</a>
1684[assist] Code assist can bot be canceled when search indexes are not ready
1685<br><a href="">250083</a>
1686[model] Search indexes are not correctly updated
1687<br><a href="">175226</a>
1688[buildpath] Build path contains duplicate entry
1689<br><a href="">38751</a>
1690Optionally show compiler warning when equals() is overriden but hashCode() is not
1691<br><a href="">249930</a>
1692Deadlock with JavaModelManager$PerProjectInfo
1693<br><a href="">250398</a>
1694[assist] Faults in javadoc of IType#codeComplete
1695<br><a href="">247941</a>
1696[assist] Add progress monitor to code completion
1697<br><a href="">243820</a>
1698[1.5][compiler] Method has same erasure as an interface method but is not considered to implement it
1699<br><a href="">232880</a>
1700[select] Navigate to classes in workspace even if not on classpath
1701<br><a href="">198572</a>
1702eclipse does not respect class-path manifest of external jars
1704<a name="v_916"></a>
1706Eclipse Platform Build Notes<br>
1707Java development tools core</h1>
1708Eclipse SDK 3.5M3 - October 7, 2008
1709<br>Project org.eclipse.jdt.core v_916
1710(<a href="">cvs</a>).
1711<h2>What's new in this drop</h2>
1714The new compiler warning (added during 3.5M1) to signal absence of <code>synchronized</code> modifier
1715when overriding a synchronized method got disabled by default.
1717 Compiler option ID: Reporting Missing Synchronized Modifier On Inherited Method.
1718 When enabled, the compiler will issue an error or a warning if a method
1719 overrides a synchronized method without having a synchronized modifier.
1720 Option id: "org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod"
1721 Possible values: { "error", "warning", "ignore" }
1722 Default: "ignore"
1727<h3>Problem Reports Fixed</h3>
1728<a href="">249140</a>
1729[1.5][compiler] asymmetric errors with covariant inherited methods
1730<br><a href="">244762</a>
1731[1.5][compiler] Internal compiler error java.lang.NullPointerException after importing file
1732<br><a href="">227527</a>
1733[1.5][compiler] Useless error message for local enum
1734<br><a href="">227530</a>
1735[1.5][compiler] Incomplete error message for annotation inside a member type
1736<br><a href="">247981</a>
1737save on a single file (any type - java source, text file
1738<br><a href="">249584</a>
1739CompilerParticipant constants should be marked as such
1740<br><a href="">161977</a>
1741[compiler] Identical branches in org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding#syntheticMethods
1742<br><a href="">249535</a>
1743[compiler] Consider disabling the syncOverride warning/error by default
1744<br><a href="">247666</a>
1745[1.5][compiler] AIOOBE inside missing type reporting
1746<br><a href="">249321</a>
1747IPackagerFragmentRoot#getRawClasspathEntry() returns resolved &quot;..&quot; path
1748<br><a href="">249107</a>
1749[compiler] IllegalAccessError in presence of synthetic field access
1750<br><a href="">247953</a>
1751[1.5][compiler] IllegalAccessError: tried to access class p.IA from class X
1753<a name="v_915"></a>
1755Eclipse Platform Build Notes<br>
1756Java development tools core</h1>
1757Eclipse SDK 3.5M3 - September 30, 2008
1758<br>Project org.eclipse.jdt.core v_915
1759(<a href="">cvs</a>).
1760<h2>What's new in this drop</h2>
1762<li>Added support for ".." in classpath for library, variable and container entries.
1763 See <a href="">bug 57732</a> for details.</li>
1766<h3>Problem Reports Fixed</h3>
1767<a href="">248680</a>
1768Error when create a new element (class, interface,...)
1769<br><a href="">57732</a>
1770[buildpath] relative build classpath leading outside of eclipse workspace
1771<br><a href="">247612</a>
1772[compiler] Compiler could avoid allocating field bindings for receiver type change
1773<br><a href="">247757</a>
1774[model] Move a class to root package, lose block comment at the top
1775<br><a href="">241400</a>
1776[LinkedResources] Random errors when changing project settings
1777<br><a href="">248313</a>
1778[DOM] Javadoc bug in StringLiteral#setLiteralValue(String)
1779<br><a href="">248308</a>
1780Typo in Javadoc of IBinding#getAnnotations()
1781<br><a href="">248243</a>
1782Add apt.pluggable.core as x-friend for jdt.core
1784<a name="v_914"></a>
1786Eclipse Platform Build Notes<br>
1787Java development tools core</h1>
1788Eclipse SDK 3.5M3 - September 23, 2008
1789<br>Project org.eclipse.jdt.core v_914
1790(<a href="">cvs</a>).
1791<h2>What's new in this drop</h2>
1793<h3>Problem Reports Fixed</h3>
1794<a href="">247835</a>
1795SearchPattern extends non-API type InternalSearchPattern
1796<br><a href="">245858</a>
1797CompletionProposal extends non-API type InternalCompletionProposal
1798<br><a href="">247688</a>
1799SearchDocument extends non-API type InternalSearchDocument
1800<br><a href="">245860</a>
1801BuildContext extends non-API type CompilationParticipantResult
1802<br><a href="">247292</a>
1803[compiler] Compiler should avoid allocating method bindings for receiver type change
1804<br><a href="">245835</a>
1805CompletionContext extends non-API type InternalCompletionContext
1806<br><a href="">247618</a>
1807*ReferenceMatch extends non-API type InternalReferenceMatch
1808<br><a href="">247307</a>
1809[1.5][compiler] Array clone return type should be governed by source level instead of compliance
1810<br><a href="">128563</a>
1811[compiler] Inner class compiles but IllegalAccessError if splitted with two output folders
1813<a name="v_913"></a>
1815Eclipse Platform Build Notes<br>
1816Java development tools core</h1>
1817Eclipse SDK 3.5M2 - September 13, 2008 - 3.5 MILESTONE 2
1818<br>Project org.eclipse.jdt.core v_913
1819(<a href="">cvs</a>).
1820<h2>What's new in this drop</h2>
1822<h3>Problem Reports Fixed</h3>
1823<a href="">246955</a>
1824Add API compatibility filter for ITypeRoot
1825<br><a href="">211054</a>
1826[javadoc] @see package reference should raise a warning except for the package declaration
1827<br><a href="">243692</a>
1828[buildpath] Cannot set Attached Source from Class File Editor
1829<br><a href="">207765</a>
1830[javadoc] Javadoc warning on @see reference could be improved
1831<br><a href="">247118</a>
1832Endless loop in Signature.encodeQualifiedName
1833<br><a href="">244164</a>
1834[1.5][compiler] Missing implementation error when referencing a generic field with error
1835<br><a href="">233187</a>
1836[javadoc] partially qualified inner types should be warned
1837<br><a href="">170637</a>
1838[javadoc] incorrect warning about missing parameter javadoc when using many links
1839<br><a href="">142990</a>
1840[model] Rename operation should not use workspace root rule
1841<br><a href="">246712</a>
1842[javadoc] Unexpected warning about missing parameter doc in case of @inheritDoc
1843<br><a href="">246682</a>
1844Inconsistent parser/scanner encoding for commentStart position
1846<a name="v_912"></a>
1848Eclipse Platform Build Notes<br>
1849Java development tools core</h1>
1850Eclipse SDK 3.5M2 - September 9, 2008
1851<br>Project org.eclipse.jdt.core v_912
1852(<a href="">cvs</a>).
1853<h2>What's new in this drop</h2>
1855<li>Introduced a marker comment (<code>$FALL-THROUGH$</code>) for silencing compiler diagnosis for switch case
1856falling through next case. This allows to document intended fall through situations in the code.
1857Note: The marker comment can also be a block comment, i.e. <code>/* $FALL-THROUGH$ */</code>.
1860 switch(val) {
1861 case 0 :
1862 doit(0);
1863 // $FALL-THROUGH$ - also fall into next case
1864 case 1:
1865 doit(1);
1866 break;
1867 }
1872<h3>Problem Reports Fixed</h3>
1873<a href="">245257</a>
1874[compiler] Allow to suppress fall-through warning
1875<br><a href="">240034</a>
1876[buildpath] Eclipse ignores .classpath file if it is encoded in UTF8 with BOM
1877<br><a href="">245963</a>
1879<br><a href="">237772</a>
1880[implementation] Deadlock in JDT causing UI freeze
1881<br><a href="">114116</a>
1882[assist] name suggestion for collections
1883<br><a href="">246066</a>
1884[batch] Redundant superinterface warning cannot be activated
1885<br><a href="">245973</a>
1886[compiler] Problem irritant cannot exceed 64bit limit
1887<br><a href="">244849</a>
1888[implementation] Memory leak in DeltaProcessingState#externalTimeStamps ?
1889<br><a href="">207657</a>
1890[search] Exception when refactoring member type to top-level.
1891<br><a href="">243023</a>
1892[content assist] RuntimeException thrown by JavaTypeCompletionProposalComputer
1894<a name="v_911"></a>
1896Eclipse Platform Build Notes<br>
1897Java development tools core</h1>
1898Eclipse SDK 3.5M2 - September 2, 2008
1899<br>Project org.eclipse.jdt.core v_911
1900(<a href="">cvs</a>).
1901<h2>What's new in this drop</h2>
1904Added a new compiler warning to signal absence of <code>synchronized</code> modifier when overriding a synchronized method.
1905This diagnosis is controlled by option:
1906<code>JavaCore.COMPILER_PB_MISSING_SYNCHRONIZED_ON_INHERITED_METHOD</code> and produces a problem marker which ID is
1907<code>IProblem.MissingSynchronizedModifierInInheritedMethod</code> problem ID;
1908it may be suppressed using <code>@SuppressWarnings("super")</code>.
1910 Compiler option ID: Reporting Missing Synchronized Modifier On Inherited Method.
1911 When enabled, the compiler will issue an error or a warning if a method
1912 overrides a synchronized method without having a synchronized modifier.
1913 Option id: "org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod"
1914 Possible values: { "error", "warning", "ignore" }
1915 Default: "warning"
1920<h3>Problem Reports Fixed</h3>
1921<a href="">222900</a>
1922[Javadoc] Missing description is warned if valid description is on a new line
1923<br><a href="">186858</a>
1924Intermittent failure of org.eclipse.jdt.core.tests.model.ExclusionPatternsTests#testCreateExcludedPackage2
1925<br><a href="">237453</a>
1926[formatter] Save actions fails to remove excess new lines when set to &quot;format edited lines&quot;
1927<br><a href="">245830</a>
1928ClasspathEntry illegally instantiates AssertionFailedException
1929<br><a href="">242029</a>
1930Multiple source attachment paths don't work when source attachment path points to a folder
1931<br><a href="">234583</a>
1932[formatter] Code formatter should adapt edits instead of regions
1933<br><a href="">245576</a>
1934No error message for updating read-only .classpath file
1935<br><a href="">245563</a>
1936npe in reconciler
1937<br><a href="">245518</a>
1938ICompilationUnit.createType failing with unexpected exception
1939<br><a href="">245435</a>
1940[1.5][compiler] &quot;Value for annotation attribute must be a constant expression&quot; error on valid constant expression
1941<br><a href="">245348</a>
1942[DOM] Annotations are recognized by ASTParser even in COMPILER_SOURCE is set &lt; 1.5
1943<br><a href="">241751</a>
1944Using a ClasspathContainerInitializer requires the use of workspace lock
1945<br><a href="">242448</a>
1946[1.5][compiler] Sun's javac compiles the following but jdt does not
1947<br><a href="">239066</a>
1948[compiler] Overriding a Synchronized Method with a Non-synchronized Method
1950<a name="v_910"></a>
1952Eclipse Platform Build Notes<br>
1953Java development tools core</h1>
1954Eclipse SDK 3.5M2 - August 26, 2008
1955<br>Project org.eclipse.jdt.core v_910
1956(<a href="">cvs</a>).
1957<h2>What's new in this drop</h2>
1959<h3>Problem Reports Fixed</h3>
1960<a href="">239096</a>
1961Implementation oddness in TypeHierarchy#getAllSuper*(IType)
1962<br><a href="">244549</a>
1963JavaCore.create(String handleIdentifier) fails for local variable with parameterized type
1964<br><a href="">241687</a>
1965[formatter] problem formatting block comments
1966<br><a href="">240686</a>
1967[formatter] Formatter do unexpected things
1968<br><a href="">242933</a>
1969[1.5] NullPointerException for @Range(min=1, max=9999999999999999)
1970<br><a href="">241345</a>
1971[formatter] Didn't Format HTML tags is unavailable
1972<br><a href="">242646</a>
1973deadlock on org.eclipse.jdt.internal.core.ExternalFoldersManager
1975<a name="v_909"></a>
1977Eclipse Platform Build Notes<br>
1978Java development tools core</h1>
1979Eclipse SDK 3.5M2 - August 19, 2008
1980<br>Project org.eclipse.jdt.core v_909
1981(<a href="">cvs</a>).
1982<h2>What's new in this drop</h2>
1984<h3>Problem Reports Fixed</h3>
1985<a href="">244477</a>
1986[formatter] Formatter fails on special Java array construct
1988<a name="v_908"></a>
1990Eclipse Platform Build Notes<br>
1991Java development tools core</h1>
1992Eclipse SDK 3.5M2 - August 11, 2008
1993<br>Project org.eclipse.jdt.core v_908
1994(<a href="">cvs</a>).
1995<h2>What's new in this drop</h2>
1997<h3>Problem Reports Fixed</h3>
1998<a href="">239833</a>
1999[compiler] Odd compiler error message "Illegal modifier for the method ..."
2000<br><a href="">243715</a>
2001[DOM] Parser.createASTs() throws exception on 'illogical' JavaDoc
2002<br><a href="">243653</a>
2003ASTRewrite is incorrectly documented
2005<a name="v_907"></a>
2007Eclipse Platform Build Notes<br>
2008Java development tools core</h1>
2009Eclipse SDK 3.5M1 - August 6, 2008 - 3.5 MILESTONE 1
2010<br>Project org.eclipse.jdt.core v_907
2011(<a href="">cvs</a>).
2012<h2>What's new in this drop</h2>
2014<h3>Problem Reports Fixed</h3>
2015<a href="">242961</a> [DOM] ITypeBinding.getDeclaredFields returns empty results if any field has undefined type
2017<a name="v_906"></a>
2019Eclipse Platform Build Notes<br>
2020Java development tools core</h1>
2021Eclipse SDK 3.5M1 - July 31, 2008
2022<br>Project org.eclipse.jdt.core v_906
2023(<a href="">cvs</a>).
2024<h2>What's new in this drop</h2>
2026<h3>Problem Reports Fixed</h3>
2027<a href="">242292</a>
2028call to createAST(..) throws IllegalStateException when parser source is not char[]
2029<br><a href="">218500</a>
2030[dom] bug in ITypeBinding.getQualifiedName for member of local type
2032<a name="v_905"></a>
2034Eclipse Platform Build Notes<br>
2035Java development tools core</h1>
2036Eclipse SDK 3.5M1 - July 28, 2008
2037<br>Project org.eclipse.jdt.core v_905
2038(<a href="">cvs</a>).
2039<h2>What's new in this drop</h2>
2041<h3>Problem Reports Fixed</h3>
2042<a href="">236096</a>
2043Incorrectly allow raw return type in overridden method
2044<br><a href="">238014</a>
2045[1.5][compiler] Missing "name clash" error?
2046<br><a href="">238817</a>
2047[1.5][compiler] Unexpected nameclash reported
2048<br><a href="">237418</a>
2049deadlock between auto-build/refresh right after startup
2050<br><a href="">241841</a>
2051[compiler] Compilation error 'incompatible types' should use full qualified class names
2052<br><a href="">239439</a>
2053[1.5][compiler] Behavior change for binding for parameterized type
2054<br><a href="">106821</a>
2055[assist] Code assist: Deprecated elements not marked
2056<br><a href="">209639</a>
2057codeSelect does not resolve correct key for implicit method type arguments
2058<br><a href="">239117</a>
2059AST overlapping source ranges in recovered AST
2060<br><a href="">230830</a>
2061[select] Search doesn't find annotated local variable declaration with error
2062<br><a href="">229092</a>
2063[batch compiler] error reporting is non-deterministic
2065<a name="v_904"></a>
2067Eclipse Platform Build Notes<br>
2068Java development tools core</h1>
2069Eclipse SDK 3.5M1 - July 21, 2008
2070<br>Project org.eclipse.jdt.core v_904
2071(<a href="">cvs</a>).
2072<h2>What's new in this drop</h2>
2074<h3>Problem Reports Fixed</h3>
2075<a href="">169682</a>
2076In class that compiles and runs when ctrl+space is pressed I get &quot;No completions available&quot;
2077<br><a href="">240815</a>
2078[DOM] CCE in AST#resolveWellKnownType(..) for java.lang.Boolean without rt.jar
2079<br><a href="">235727</a>
2080misspelling in syntax error message
2081<br><a href="">236193</a>
2082DiagnoseParser has unreachable code
2084<a name="v_903"></a>
2086Eclipse Platform Build Notes<br>
2087Java development tools core</h1>
2088Eclipse SDK 3.5M1 - July 15, 2008
2089<br>Project org.eclipse.jdt.core v_903
2090(<a href="">cvs</a>).
2091<h2>What's new in this drop</h2>
2093<h3>Problem Reports Fixed</h3>
2094<a href="">237469</a>
2095[assist] AbortCompilation in log during normal editing
2096<br><a href="">240214</a>
2097[compiler] final bit should be cleared from class file access flag for anonymous class
2098<br><a href="">240349</a>
2099Improve disassembler output
2100<br><a href="">240206</a>
2101ITypeRoot should have @noimplement tag
2102<br><a href="">237937</a>
2103[javadoc] Wrong &quot;Javadoc: Malformed link reference&quot; if href label contains //
2104<br><a href="">237931</a>
2105[1.6][compiler] wrong signature of String[][] in class file
2106<br><a href="">101610</a>
2107Code assist not offered without transitive dependency
2108<br><a href="">239229</a>
2109[compiler] Regression bug against Eclipse 3.3: cannot resolve correct import
2111<a name="v_902"></a>
2113Eclipse Platform Build Notes<br>
2114Java development tools core</h1>
2115Eclipse SDK 3.5M1 - July 8, 2008
2116<br>Project org.eclipse.jdt.core v_902
2117(<a href="">cvs</a>).
2118<h2>What's new in this drop</h2>
2120<h3>Problem Reports Fixed</h3>
2121<a href="">236336</a>
2122[1.6][compiler] Stack map generation error with 10,000-line method in Java
2123<br><a href="">239941</a>
2124[formatter] Unclosed html tags make the formatter to produce incorrect outputs
2125<br><a href="">239719</a>
2126[formatter] Code formatter destroys pre formatted javadoc comments
2127<br><a href="">238923</a>
2128[1.6][compiler] Internal compiler error caused by a for loop in an initializer block
2129<br><a href="">239758</a>
2130[1.5][compiler] Generic interface inheritance and overriding error
2131<br><a href="">239305</a>
2132[compiler] VerifyError caused by casting long to long to int
2133<br><a href="">239198</a>
2134[compiler] NegativeArraySizeException thrown for triple quotes
2135<br><a href="">238920</a>
2136[formatter] Code Formatter removes javadoc status if @category present
2137<br><a href="">238853</a>
2138[formatter] Code Formatter does not properly format valid xhtml (&lt;br /&gt; &amp; &lt;p /&gt;) in javadoc.
2139<br><a href="">160217</a>
2140[ast rewrite] ASTRewrite#getListRewrite does not fullfill spec
2141<br><a href="">232565</a>
2142[1.5][compiler] wrong autoboxing code generation leads to VerifyError at runtime
2144<a name="v_901"></a>
2146Eclipse Platform Build Notes<br>
2147Java development tools core</h1>
2148Eclipse SDK 3.5M1 - July 1, 2008
2149<br>Project org.eclipse.jdt.core v_901
2150(<a href="">cvs</a>).
2151<h2>What's new in this drop</h2>
2153<h3>Problem Reports Fixed</h3>
2154<a href="">232478</a>
2155[buildpath] Classpath failed to bind to installed JRE
2156<br><a href="">238210</a>
2157[formatter] CodeFormatter wraps line comments without whitespaces
2158<br><a href="">238484</a>
2159[1.5][compiler] Eclipse generates bad code (major regression)
2160<br><a href="">235370</a>
2161Add performance test for bug 234718
2162<br><a href="">135906</a>
2163CompilationUnitStructureRequestor.resolveDuplicates has bad performance
2164<br><a href="">169678</a>
2165[hierarchy] Type Hierarchy on static nested class includes unrelated types
2166<br><a href="">95480</a>
2167[model] Missing INVALID_SIBLING exception when creating a type in an enum type that contains constants
2168<br><a href="">235369</a>
2169DeltaProcessor.resetProjectCaches() should clear the list of projects to reset
2170<br><a href="">190840</a>
2171SourceMapper#computeAllRootPaths(IType) factorisation suggestion
2172<br><a href="">148664</a>
2173[spec] IJavaModel#getJavaProject(String) throws IAE for invalid name
2174<br><a href="">231130</a>
2175[spec] IClassFile.getPath() not specified for external class folders
2176<br><a href="">209425</a>
2177[spec] Ambiguous JavaDoc in ASTParser#setUnitName regarding source folders
2178<br><a href="">235272</a>
2179javadoc of JavaCore#COMPILER_PB_MISSING_JAVADOC_TAG_DESCRIPTION needs improvement
2180<br><a href="">235778</a>
2181Potential race condition computing resolved classpath
2182<br><a href="">154865</a>
2183[hierarchy] Focus on Package only shows classes with missing superclasses
2184<br><a href="">236445</a>
2185NPE in content assist
2186<br><a href="">237123</a>
2187[search] And/OrPatterns miss to override one overload
2188<br><a href="">226357</a>
2189[dom] NPE in MethodBinding.getParameterAnnotations() if some, but not all parameters are annotated
2190<br><a href="">120082</a>
2191Signature is missing capture
2192<br><a href="">235882</a>
2193[compiler] constructor-scoped inner classes unable to recognize final member variable initialization
2194<br><a href="">238090</a>
2195[formatter] New lines wrongly added while formatting too long @see references
2196<br><a href="">237942</a>
2197[formatter] String references are put on next line when over the max line length
2198<br><a href="">233259</a>
2199[formatter] html tag should not be split by formatter
2202<a name="v_900"></a>
2204Eclipse Platform Build Notes<br>
2205Java development tools core</h1>
2206Eclipse SDK 3.5M1 - June 24, 2008
2207<br>Project org.eclipse.jdt.core v_900
2208(<a href="">cvs</a>).
2209<h2>What's new in this drop</h2>
2211<li>Incremented JDT/Core plug-in id to "3.5.0", since added new API/feature.
2213<li>Added a new compiler warning to detect comparisons between identical expressions. This diagnosis is controlled by option:
2214<code>JavaCore.COMPILER_PB_COMPARING_IDENTICAL</code> and produces a problem marker which ID is
2215<code>IProblem.ComparingIdentical</code> problem ID.
2217Compiler option ID: Reporting Comparison of Identical Expressions.
2218When enabled, the compiler will issue an error or a warning if a comparison
2219is involving identical operands (e.g <code>'x == x'</code>).
2220 - Option id:"org.eclipse.jdt.core.compiler.problem.comparingIdentical"
2221 - Possible values: { "error", "warning", "ignore" }
2222 - Default: "warning"
2227<h3>Problem Reports Fixed</h3>
2228<a href="">234172</a>
2229[1.5][select] no hover in qualified name with generics
2230<br><a href="">233568</a>
2231Type in Server Runtime is not resolved in editor
2232<br><a href="">217287</a>
2233[dom]IVariableBinding#getJavaElement() return null for variable inside an initializer
2234<br><a href="">235921</a>
2235[1.5][compiler] Incorrect generic signature attribute created for inner anonymous type
2236<br><a href="">234619</a>
2237[1.5][compiler] Object#getClass() has wrong expression type binding with JRE from 1.6
2238<br><a href="">115814</a>
2239[compiler] warning on comparing same to same
2240<br><a href="">235004</a>
2241[compiler] Misleading compiler warning
2242<br><a href="">232944</a>
2243IMember#getJavadocRange() should end with &quot;*/&quot;
2244<br><a href="">222665</a>
2245Error opening workbench
2246<br><a href="">216772</a>
2247IJavaModel#refreshExternalArchives fails to refresh ExternalJavaProject jar cache
2248<br><a href="">205917</a>
2249JavaCore#create(String, WorkingCopyOwner) should deal with null owner
2250<br><a href="">237051</a>
2251[formatter] Formatter insert blank lines after javadoc if javadoc contains Commons Attributes @@ annotations
2252<br><a href="">236230</a>
2253[formatter] SIOOBE while formatting a compilation unit.
2257<p>For earlier build notes, also see <a href="">build notes up to Release 3.4</a>.</p>
2259 <p>
2260 <a href=""><img
2261 src=""
2262 alt="Valid HTML 4.01 Transitional" height="31" width="88"></a>
2263 </p>