blob: cc985a509e2611b54ec2803bbf674729321e5e2a [file] [log] [blame]
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001<!doctype html public "-//w3c//dtd html 4.0 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</title>
7 <link rel="stylesheet" href="../jdt_core_style.css" charset="iso-8859-1" type="text/css">
10<body text="#000000" bgcolor="#FFFFFF">
11<table border=0 cellspacing=5 cellpadding=2 width="100%" >
12 <tr>
13 <td align="left" width="72%" class="title1">
14 <font size="+3"><b>jdt core - build notes 3.0 stream</b></font>
15 </td>
16 </tr>
17 <tr>
18 <td align="left" width="72%" class="title2">
19 <font size="-2" color="#8080ff">Java development tools core</font>
20 </td>
21 </tr>
22 <tr><td>&nbsp;</td></tr>
23 <tr>
24 <td class="title3">
25 <font size="-1">
26 Here are the build notes for the Eclipse JDT/Core plug-in project
27 <a href=""><b>org.eclipse.jdt.core</b></a>,
28 describing <a href="" target=new>bug</a> resolution and substantial changes in the <a href=""><b>HEAD</b></a> branch.
29 This present document covers all changes since Release 2.1 (also see a summary of <a href="">API changes</a>).
30 Older changes which occurred up to Release 2.1 can be found in
31 <a href="">build notes R2.1</a>.
32 </font>
33 </td>
34 </tr>
37<a name="v_449"></a>
39Eclipse Platform Build Notes&nbsp;<br>
40Java development tools core</h1>
41Eclipse SDK 3.0RC4 Build - 24th June 2004 - 3.0 RELEASE CANDIDATE 4
42<br>Project org.eclipse.jdt.core v_449
43(<a href="">cvs</a>).
45What's new in this drop</h2>
47<li>Fixed schema copyrights.</li>
50<h3>Problem Reports Fixed</h3>
51<a href="">44068</a>
52[DOC] Need more project configuration tutorials
54<a name="v_448"></a>
56Eclipse Platform Build Notes&nbsp;<br>
57Java development tools core</h1>
58Eclipse SDK 3.0RC4 Build - 24th June 2004
59<br>Project org.eclipse.jdt.core v_448
60(<a href="">cvs</a>).
62What's new in this drop</h2>
64<li>Fixed mixed line delimiters.</li>
67<h3>Problem Reports Fixed</h3>
69<a name="v_447"></a>
71Eclipse Platform Build Notes&nbsp;<br>
72Java development tools core</h1>
73Eclipse SDK 3.0RC4 Build - 23rd June 2004
74<br>Project org.eclipse.jdt.core v_447
75(<a href="">cvs</a>).
77What's new in this drop</h2>
79<li>Copyright update to 2004.</li>
82<h3>Problem Reports Fixed</h3>
84<a name="v_446"></a>
86Eclipse Platform Build Notes&nbsp;<br>
87Java development tools core</h1>
88Eclipse SDK 3.0RC4 Build - 22nd June 2004
89<br>Project org.eclipse.jdt.core v_446
90(<a href="">cvs</a>).
92What's new in this drop</h2>
96<h3>Problem Reports Fixed</h3>
97<a href="">67769</a>
98Internal StackOverflowError occurred during project build
100<a name="v_445"></a>
102Eclipse Platform Build Notes&nbsp;<br>
103Java development tools core</h1>
104Eclipse SDK 3.0RC3 Build - 18th June 2004 - 3.0 RELEASE CANDIDATE 3
105<br>Project org.eclipse.jdt.core v_445
106(<a href="">cvs</a>).
108What's new in this drop</h2>
112<h3>Problem Reports Fixed</h3>
113<a href="">66898</a>
114refactor-rename: encoding is not preserved
116<a name="v_444"></a>
118Eclipse Platform Build Notes&nbsp;<br>
119Java development tools core</h1>
120Eclipse SDK 3.0RC3 Build - 18th June 2004
121<br>Project org.eclipse.jdt.core v_444
122(<a href="">cvs</a>).
124What's new in this drop</h2>
128<h3>Problem Reports Fixed</h3>
129<a href="">67297</a>
130Renaming included package folder throws JME
131<br><a href="">67786</a>
132OutOfMemoryError searching for reference to Object
134<a name="v_443"></a>
136Eclipse Platform Build Notes&nbsp;<br>
137Java development tools core</h1>
138Eclipse SDK 3.0RC3 Build - 18th June 2004
139<br>Project org.eclipse.jdt.core v_443
140(<a href="">cvs</a>).
142What's new in this drop</h2>
146<h3>Problem Reports Fixed</h3>
147<a href="">67717</a>
148NPE disassembling .class file
150<a name="v_442"></a>
152Eclipse Platform Build Notes&nbsp;<br>
153Java development tools core</h1>
154Eclipse SDK 3.0RC3 Build - 17th June 2004
155<br>Project org.eclipse.jdt.core v_442
156(<a href="">cvs</a>).
158What's new in this drop</h2>
162<h3>Problem Reports Fixed</h3>
163<a href="">67600</a>
164String Index out of bounds when searching for all types
165<br><a href="">67599</a>
166NPE when cancelling search
167<br><a href="">66271</a>
168No need to resolve type names when selecting declaration
170<a name="v_441"></a>
172Eclipse Platform Build Notes&nbsp;<br>
173Java development tools core</h1>
174Eclipse SDK 3.0RC3 Build - 16th June 2004
175<br>Project org.eclipse.jdt.core v_441
176(<a href="">cvs</a>).
178What's new in this drop</h2>
182<h3>Problem Reports Fixed</h3>
183<a href="">67324</a>
184Package Explorer doesn't update included package after moving contents of source folder
185<br><a href="">41434</a>
186[msic] Slow Down using classes with many methods
187<br><a href="">64646</a>
188[Navigator] Navigator popup causes Eclipse to hang.
189<br><a href="">65186</a>
190Can't attach source from project directory [build path]
191<br><a href="">65831</a>
192search for all types slow/memory intensive [search]
193<br><a href="">66675</a>
194Extra period in the doc in 200406110010
196<a name="v_440"></a>
198Eclipse Platform Build Notes&nbsp;<br>
199Java development tools core</h1>
200Eclipse SDK 3.0RC2 Build - 10th June 2004 - 3.0 RELEASE CANDIDATE 2
201<br>Project org.eclipse.jdt.core v_440
202(<a href="">cvs</a>).
204What's new in this drop</h2>
208<h3>Problem Reports Fixed</h3>
209<a href="">66551</a>
210Error in org.eclipse.swt project on class PrinterData
211<br><a href="">66573</a>
212Shouldn't bind to local constructs
214<a name="v_439"></a>
216Eclipse Platform Build Notes&nbsp;<br>
217Java development tools core</h1>
218Eclipse SDK 3.0RC2 Build - 10th June 2004
219<br>Project org.eclipse.jdt.core v_439
220(<a href="">cvs</a>).
222What's new in this drop</h2>
226<h3>Problem Reports Fixed</h3>
227<a href="">66216</a>
228Sort Members is broken.
229<br><a href="">66437</a>
230Canceling search leads to broken workspace
231<br><a href="">65266</a>
232JarPackageFragmentInfo has unnecessary field
233<br><a href="">66098</a>
234MatchLocatorParser does not need advanced syntax diagnosis
236<a name="v_438"></a>
238Eclipse Platform Build Notes&nbsp;<br>
239Java development tools core</h1>
240Eclipse SDK 3.0RC2 Build - 9th June 2004
241<br>Project org.eclipse.jdt.core v_438
242(<a href="">cvs</a>).
244What's new in this drop</h2>
248<h3>Problem Reports Fixed</h3>
249<a href="">66026</a>
250Large amount of garbage created by DefaultCommentMapper
251<br><a href="">64646</a>
252[Navigator] Navigator popup causes Eclipse to hang.
253<br><a href="">65288</a>
254Javadoc: tag gets mangled when javadoc closing on same line without whitespace
255<br><a href="">65253</a>
256[Javadoc] @@tag is wrongly parsed as @tag
257<br><a href="">65180</a>
258Spurious "Javadoc: xxx cannot be resolved or is not a field" error with inner classes
259<br><a href="">65174</a>
260Spurious "Javadoc: Missing reference" error
262<a name="v_437"></a>
264Eclipse Platform Build Notes&nbsp;<br>
265Java development tools core</h1>
266Eclipse SDK 3.0RC2 Build - 8th June 2004
267<br>Project org.eclipse.jdt.core v_437
268(<a href="">cvs</a>).
270What's new in this drop</h2>
274<h3>Problem Reports Fixed</h3>
275<a href="">66142</a>
276SearchParticipant#scheduleDocumentIndexing() fails silently if index doesn't exist
277<br><a href="">65795</a>
278source inclusion mechanism breaks type lookups
279<br><a href="">66099</a>
280Persisted container/variable values are leaked throughout a session
281<br><a href="">65250</a>
282Problem selection does not choose first n errors
283<br><a href="">65259</a>
284CodeSelect should only find one match for dup methods
285<br><a href="">65737</a>
286Strange completion by code assist
287<br><a href="">65871</a>
288Missing SUPER_INTERFACE_TYPES_PROPERTY in EnumDeclaration
289<br><a href="">53072</a>
290[DOC] Search for fully qualified constructor name reports nothing
291<br><a href="">65116</a>
292IProjectDescription.getBuildSpec copies commands
293<br><a href="">65234</a>
294Inclusion filter not working
295<br><a href="">64657</a>
296better documentation for IType#resolveType behavior
297<br><a href="">65693</a>
298Package Explorer shows .class files instead of .java
299<br><a href="">64750</a>
300NPE in Java AST Creation - editing some random file
301<br><a href="">65562</a>
302Java AST creation failure
303<br><a href="">65531</a>
304out of the box formatter settings need to be improved
305<br><a href="">65677</a>
306Creating hierarchy failed. See log for details. 0
307<br><a href="">65090</a>
308ASTParser with kind == K_STATEMENTS doesn't work unless source range specified
310<a name="v_436"></a>
312Eclipse Platform Build Notes&nbsp;<br>
313Java development tools core</h1>
314Eclipse SDK 3.0RC1 Build - 28th May 2004 - 3.0 RELEASE CANDIDATE 1
315<br>Project org.eclipse.jdt.core v_436
316(<a href="">cvs</a>).
318What's new in this drop</h2>
322<h3>Problem Reports Fixed</h3>
323<a href="">63534</a>
324ConcurrentModificationException after "catching up"
325<br><a href="">62131</a>
326CodeStream should do bounds checks
327<br><a href="">64470</a>
328&lt;packages prefixes=..../&gt; should be removed
329<br><a href="">64299</a>
330NullPointerException when OverrideIndicatorLabelDecorator is decorating
331<br><a href="">63550</a>
332NPE "Java AST Creation"
333<br><a href="">64421</a>
334ArrayIndexOutOfBoundsException in PackageReferenceLocator.matchReportReference()
335<br><a href="">62453</a>
336Large File: Java builder not reacting on cancel
337<br><a href="">64377</a>
338CRASH: An internal error occurred during: "Java AST creation"
339<br><a href="">64378</a>
340Wording of error message
341<br><a href="">64332</a>
342Javadoc errors in non-API doc comments
343<br><a href="">64329</a>
344Missing Javadoc tags declaration in API methods
345<br><a href="">64170</a>
346Classpath reentrance protection is not thread-safe
348<a name="v_435"></a>
350Eclipse Platform Build Notes&nbsp;<br>
351Java development tools core</h1>
352Eclipse SDK 3.0RC1 Build - 27th May 2004
353<br>Project org.eclipse.jdt.core v_435
354(<a href="">cvs</a>).
356What's new in this drop</h2>
358<li>API polish on search matches ( hierarchy):
360<li>added setters for all match properties (not just length &amp; offset)</li>
361<li>add insideDocComment argument to PackageReferenceMatch constructor (for
362being consistent with other reference matches)</li>
364See bug <a href="">62697</a> for more details.
367<h3>Problem Reports Fixed</h3>
368<a href="">62854</a>
369refactoring does not trigger reconcile
370<br><a href="">62697</a>
371Need to know if a package reference match is in Javadoc or in Code
372<br><a href="">63756</a>
373multiple builds early
374<br><a href="">63077</a>
375IllegalArgumentException in Openable.codeSelect
376<br><a href="">62861</a>
377ArrayIndexOutOfBoundsException in SearchableEnvironment
380<a name="v_434"></a>
382Eclipse Platform Build Notes&nbsp;<br>
383Java development tools core</h1>
384Eclipse SDK 3.0RC1 Build - 26th May 2004
385<br>Project org.eclipse.jdt.core v_434
386(<a href="">cvs</a>).
388What's new in this drop</h2>
392<h3>Problem Reports Fixed</h3>
393<a href="">56870</a>
394copied file not shown in package explorer / java browser [ccp]
395<br><a href="">63748</a>
396Type Hierarchy: null pointer when pressing F4 on ListCellRenderer
397<br><a href="">38839</a>
398org.eclipse.jdt.internal.compiler.parser.Scanner throws thousands of Exceptions
399<br><a href="">62869</a>
400[navigation] 'Go to Next Annotation' doesn't find next error
401<br><a href="">63871</a>
402Using M9, -warn: option crashes the batch compiler
403<br><a href="">63434</a>
404NPE during checkout/build
405<br><a href="">62737</a>
406Code formatter doesn't work on some files
407<br><a href="">62639</a>
408[1.5] Cheetah and extending Vector
409<br><a href="">62769</a>
410Javadoc errors in 200405180816
411<br><a href="">62952</a>
412Ant adapter behavior is a little strange
413<br><a href="">62704</a>
414Using 05180816, //toto is a task if //toto is a task tag.
415<br><a href="">51660</a>
416[DOM/AST] AST.parse* should handle all legal doc tags
417<br><a href="">51606</a>
418Javadoc - {@inheritDoc} should be inefficient when not in first text element
419<br><a href="">62713</a>
420should not be able to nest output folders [build path]
421<br><a href="">63245</a>
422findPackageFragment won't return default package
423<br><a href="">62698</a>
424NPE while searching for declaration of binary package
425<br><a href="">61017</a>
426Refactoring - test case that results in uncompilable source
427<br><a href="">63044</a>
428Reference to a constructor inside a javadoc should point to a type binding and not a constructor binding
429<br><a href="">62812</a>
430Some malformed javadoc tags are not reported as malformed
431<br><a href="">62810</a>
432Deadlock when closing editors and save
435<a name="v_433"></a>
437Eclipse Platform Build Notes&nbsp;<br>
438Java development tools core</h1>
439Eclipse SDK 3.0M9 Build - 21st May 2004 - 3.0 MILESTONE-9 / 3.0 RELEASE CANDIDATE 0
440<br>Project org.eclipse.jdt.core v_433
441(<a href="">cvs</a>).
443What's new in this drop</h2>
444<ul><li>Put back test org.eclipse.jdt.core.tests.model.JavaElementDeltaTests.testBuildProjectUsedAsLib()
445after bug <a href="">62927</a> was fixed.</li>
448<a name="v_432"></a>
450Eclipse Platform Build Notes&nbsp;<br>
451Java development tools core</h1>
452Eclipse SDK 3.0M9 Build - 20th May 2004
453<br>Project org.eclipse.jdt.core v_432
454(<a href="">cvs</a>).
456What's new in this drop</h2>
457<ul><li>Excluded test org.eclipse.jdt.core.tests.model.JavaElementDeltaTests.testBuildProjectUsedAsLib()</li>
460<a name="v_431"></a>
462Eclipse Platform Build Notes&nbsp;<br>
463Java development tools core</h1>
464Eclipse SDK 3.0M9 Build - 20th May 2004
465<br>Project org.eclipse.jdt.core v_431
466(<a href="">cvs</a>).
468What's new in this drop</h2>
472<h3>Problem Reports Fixed</h3>
473<a href="">62881</a>
474JDT/Core could be contributing a content type for JAR manifests
475<br><a href="">58580</a>
476VariableBinding.getVariableId() returns wrong IDs for nested types
478<a name="v_430"></a>
480Eclipse Platform Build Notes&nbsp;<br>
481Java development tools core</h1>
482Eclipse SDK 3.0M9 Build - 18th May 2004
483<br>Project org.eclipse.jdt.core v_430
484(<a href="">cvs</a>).
486What's new in this drop</h2>
490<h3>Problem Reports Fixed</h3>
491<a href="">62608</a>
492Include pattern ending with slash should include all subtree
493<br><a href="">59933</a>
494applying exclusion filter to opened java file makes it appear twice [build path]
497<a name="v_429"></a>
499Eclipse Platform Build Notes&nbsp;<br>
500Java development tools core</h1>
501Eclipse SDK 3.0M9 Build - 18th May 2004
502<br>Project org.eclipse.jdt.core v_429
503(<a href="">cvs</a>).
505What's new in this drop</h2>
509<h3>Problem Reports Fixed</h3>
510<a href="">39499</a>
511keyword completion does not work in anonymous inner classes
512<br><a href="">59282</a>
513Unable to include an external folder with class files to project classpath
514<br><a href="">52422</a>
515F3 can't find method def'n inside inner (anonymous) class
516<br><a href="">62463</a>
517Wrong length for ExpressionStatement after conversion
518<br><a href="">61831</a>
519Full build happens on every start of Eclipse
520<br><a href="">62201</a>
521NPE in MethodScope
522<br><a href="">61872</a>
523library looses content when setting source attachment
524<br><a href="">54962</a>
525plain reference to package not found in (@see) javadoc
526<br><a href="">54424</a>
527AST has structural problems with incomplete javadoc tags
528<br><a href="">51951</a>
529codeComplete finds no completion in method of local class inside static method
530<br><a href="">50686</a>
531NPE in MethodScope.createMethod
532<br><a href="">61952</a>
533Bad deprecation -- IJavaSearchConstants#CASE_SENSITIVE
534<br><a href="">62068</a>
535Index manager should use client's index location
537<a name="v_428"></a>
539Eclipse Platform Build Notes&nbsp;<br>
540Java development tools core</h1>
541Eclipse SDK 3.0M9 Build - 13th May 2004
542<br>Project org.eclipse.jdt.core v_428
543(<a href="">cvs</a>).
545What's new in this drop</h2>
547<li> Due to an implementation cleanup, the optional diagnosis for unnecessary empty statement or empty control-flow
548statement, will be reverted to ignore by default. If you did set it differently in the past, you will have to manually
549set it back. We now conform to the spec for this option (until JDT/UI converted, the old option ID was
550incorrectly used: "org.eclipse.jdt.core.compiler.problem.superfluousSemicolon"):
552* COMPILER / Reporting Empty Statements and Unnecessary Semicolons
553* When enabled, the compiler will issue an error or a warning if an empty statement or a
554* unnecessary semicolon is encountered.
555* - option id: "org.eclipse.jdt.core.compiler.problem.emptyStatement"
556* - possible values: { "error", "warning", "ignore" }
557* - default: "ignore"
560<li>Improved error location when type indirectly referenced from required .class files.</li>
563<h3>Problem Reports Fixed</h3>
564<a href="">61959</a>
565dangerous practice of catching Throwable
566<br><a href="">61882</a>
567Inconsistency between build errors and reconcile errors
568<br><a href="">35356</a>
569Convert local variable to field refactoring proposes weird name
570<br><a href="">53555</a>
571SourceType#get*QualifiedName() methods return unusable/invalid names for local types
572<br><a href="">48752</a>
573Completion: relevance could be improved for non static field
574<br><a href="">61877</a>
575ClassCastException in DefaultBindingResolver
576<br><a href="">59769</a>
577Javadoc of SearchMatch#getElement(): is *enclosing* element
578<br><a href="">58440</a>
579type hierarchy incomplete when implementing fully qualified interface
580<br><a href="">61719</a>
581Incorrect fine grain delta after method copy-rename
582<br><a href="">61075</a>
583[Compiler] implementation uses numerous ArrayIndexOutOfBoundsException
584<br><a href="">19898</a>
585StackOverflowError in BinaryExpression
586<br><a href="">61706</a>
587Improve error message when unbound reference from binaries
589<a name="v_427"></a>
591Eclipse Platform Build Notes&nbsp;<br>
592Java development tools core</h1>
593Eclipse SDK 3.0M9 Build - 11th May 2004
594<br>Project org.eclipse.jdt.core v_427
595(<a href="">cvs</a>).
597What's new in this drop</h2>
599<li>A system job now reports progress when the indexer is running.</li>
600<li>The org.eclipse.jdt.core.jdom package has been deprecated. The JDOM was made obsolete by
601 the addition in 2.0 of the more powerful, fine-grained DOM/AST API found in the
602 org.eclipse.jdt.core.dom package.</li>
605<h3>Problem Reports Fixed</h3>
606<a href="">60689</a>
607AST on reconcile: AST without Javadoc comments created
608<br><a href="">60365</a>
609hierarchy view shows some interfaces as classes [type hierarchy]
610<br><a href="">53290</a>
611[Javadoc] Compiler should complain when tag name is not correct
612<br><a href="">53279</a>
613[Javadoc] Compiler should complain when inline tag is not terminated
614<br><a href="">51600</a>
615Javadoc: tags with errors are not stored in DOM AST Javadoc hierarchy
616<br><a href="">59751</a>
617No Feedback/information from indexing
618<br><a href="">42402</a>
619OuterClass.this does not appear in code assist of the InnerClass
620<br><a href="">61390</a>
621Indexing thread grabbing resource lock
622<br><a href="">61408</a>
623Incorrect parsing
624<br><a href="">58859</a>
625[encoding] Editor does not detect BOM on .txt files
626<br><a href="">61148</a>
627deprecate JDOM API
628<br><a href="">61270</a>
629Wrong delta when copying a package that overrides another package
630<br><a href="">61181</a>
631Task tag starting with double-/ (//) causes compile error
632<br><a href="">61040</a>
633Should add protect for reentrance to #getResolvedClasspath
634<br><a href="">61214</a>
635The classpath computation inside the Java builder should get rid of duplicates entries
636<br><a href="">60867</a>
637LocalVariableReferenceMatch should offer isReadAccess(), etc.
638<br><a href="">59638</a>
639ConcurrentModificationException in JavaModelManager.saving
640<br><a href="">61052</a>
641Flatten cp container initialization
642<br><a href="">60848</a>
643[reconciling] Unclosed Comment in Java Texteditor
644<br><a href="">60822</a>
645Reacting to Project &gt; Clean...
647<a name="v_426"></a>
649Eclipse Platform Build Notes&nbsp;<br>
650Java development tools core</h1>
651Eclipse SDK 3.0M9 Build - 4th May 2004
652<br>Project org.eclipse.jdt.core v_426
653(<a href="">cvs</a>).
655What's new in this drop</h2>
657<li>Added new flag IJavaElementDelta.F_PRIMARY_RESOURCE that is set when the resource of a primary working copy
658 changes (or when it is added or removed).</li>
659<li>Removed dependency on org.eclipse.runtime.compatibility.</li>
660<li>Tuned the diagnosis for unnecessary else statements to tolerate else-if constructs.</li>
663<h3>Problem Reports Fixed</h3>
664<a href="">60687</a>
665NPE in JavaCore.getEncoding
666<br><a href="">60581</a>
667"Java AST creation" error.
668<br><a href="">48502</a>
669Exception during "Java AST creation"
670<br><a href="">59750</a>
671DCR: Code Assist: Hook to add getter and setters
672<br><a href="">47227</a>
673Syntax error diagnosis shouldn't expose internal goal tokens
674<br><a href="">60595</a>
675AST: AST from reconcile does not have 'ORIGINAL' bit set
676<br><a href="">59500</a>
677Java Model Notification needs notification that a java class was physically saved
678<br><a href="">60459</a>
679AST: 'malformed' flag overwrites other flags
680<br><a href="">60367</a>
681dynamic project references not maintained
682<br><a href="">60257</a>
683SearchPattern API: R_CASE_SENSITIVE vs. boolean isCaseSensitive
684<br><a href="">58565</a>
685code formatter doesn't format blocks with a return statement correctly
686<br><a href="">58724</a>
687Java code formatter should add space between imports and class definition
688<br><a href="">60418</a>
689remove warnings from core runtime deprecations
690<br><a href="">57749</a>
691Search in working copies doesn't find all matches
692<br><a href="">60235</a>
693WorkingCopyOwner needs clarification on
696<a name="v_425"></a>
698Eclipse Platform Build Notes&nbsp;<br>
699Java development tools core</h1>
700Eclipse SDK 3.0M9 Build - 28th April 2004
701<br>Project org.eclipse.jdt.core v_425
702(<a href="">cvs</a>).
704What's new in this drop</h2>
706<li>Added API to register/deregister a pre-processing resource change listener:
709 * Adds the given listener for POST_CHANGE resource change events to the Java core.
710 * The listener is guarantied to be notified of the POST_CHANGE resource change event before
711 * the Java core starts processing the resource change event itself.
712 *
713 * Has no effect if an identical listener is already registered.
714 *
715 * @param listener the listener
716 * @see #removePreResourceChangeListener(IResourceChangeListener)
717 * @since 3.0
718 */
719public static void addPreProcessingResourceChangedListener(IResourceChangeListener listener);
722 * Removes the given pre-processing resource changed listener.
723 *
Stephan Herrmann66cc2b62010-09-26 15:38:59 +0000724 * Has no effect if an identical listener is not registered.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000725 *
726 * @param listener the listener
727 * @since 3.0
728 */
729public static void removePreProcessingResourceChangedListener(IResourceChangeListener listener);
732<li>When diagnostic for unnecessary semicolon is enabled, the compiler will also flag empty
733control-flow statement: e.g. if (bool);. Note that the naming of the option is going soon
734to be revised to better reflect this evolution.
735Empty control-flow statement problem ID is: <tt>IProblem.EmptyControlFlowStatement</tt>.
737<li>Added compiler style option to report situation where a statement is unnecessarily nested
738in else clause, e.g.:
740 if (bool)
741 return;
742 else
743 System.out.println(); // no need to be inside else
745Associated problem ID is: <tt>IProblem.UnnecessaryElse</tt>.
747* COMPILER / Reporting Unnecessary Else
748* When enabled, the compiler will issue an error or a warning when a statement is unnecessarily
749* nested within an else clause (in situation where then clause is not completing normally).
750* - option id: "org.eclipse.jdt.core.compiler.problem.unnecessaryElse"
751* - possible values: { "error", "warning", "ignore" }
752* - default: "ignore"
757<h3>Problem Reports Fixed</h3>
758<a href="">42493</a>
759Error message when evaluating: Expressionopt?
760<br><a href="">32061</a>
761No code assist in instance variable inner class
762<br><a href="">49904</a>
763[DCR] Quick Assist : unneeded else
764<br><a href="">60081</a>
765[Compiler] java.lang.VerifyError: Illegal target of jump or branch
766<br><a href="">52805</a>
767[DCR] Compiler should warn when using if (test);
768<br><a href="">58652</a>
769ImageBuilderInternalException during auto build
770<br><a href="">60108</a>
771SearchMatch should implement toString()
772<br><a href="">60078</a>
773NPE in ASTConverter
775<a name="v_424"></a>
777Eclipse Platform Build Notes&nbsp;<br>
778Java development tools core</h1>
779Eclipse SDK 3.0M9 Build - 27th April 2004
780<br>Project org.eclipse.jdt.core v_424
781(<a href="">cvs</a>).
783What's new in this drop</h2>
787<h3>Problem Reports Fixed</h3>
788<a href="">54108</a>
789Weird piece of source code in
790<br><a href="">51500</a>
791[DOM AST] Quick fix "Add unimplemented methods" fails on static variable initialized using anonymous constructor
792<br><a href="">59843</a>
793Eclipse 3.0M8 generates ambiguous keys from ITypeBindings for nested classes with the same name
794<br><a href="">59937</a>
795Should not process saved state delta during startup
796<br><a href="">58069</a>
797Compilation ERROR: Missing code implementation in the compiler
798<br><a href="">51911</a>
799@see method w/out ()
800<br><a href="">49025</a>
801Util.bind(String, String[]) can be optimized a little bit
802<br><a href="">59743</a>
803[Compiler] Incorrect diagnosis of ambiguous method when inheriting
804<br><a href="">57871</a>
805Override Indicator: blocks editor from opening when error occurs in java compiler
806<br><a href="">59421</a>
807Bad error message from Eclipse Java Compiler when file is missing
808<br><a href="">58946</a>
809Standalone compiler help text is incorrect on Unix
810<br><a href="">59084</a>
811[content type] ensure content types/file associations are contributed by the right plugins
812<br><a href="">59716</a>
813Using 200404201300, one more blank line is inserted in front of import declarations when no package is defined
814<br><a href="">59575</a>
815invalid formatting
816<br><a href="">51213</a>
817Unable to resolve conflict between type and package name in binaries
819<a name="v_423"></a>
821Eclipse Platform Build Notes&nbsp;<br>
822Java development tools core</h1>
823Eclipse SDK 3.0M9 Build - 22nd April 2004
824<br>Project org.eclipse.jdt.core v_423
825(<a href="">cvs</a>).
827What's new in this drop</h2>
831<h3>Problem Reports Fixed</h3>
832<a href="">59363</a>
833Should surface cancellation exceptions
834<br><a href="">51075</a>
835Compiler warning "is hiding a field" given for static inner class
836<br><a href="">38658</a>
837Search for existing type fails
838<br><a href="">59291</a>
839Deadlock between AllTypes cache and setClasspathContainer
842<a name="v_422"></a>
844Eclipse Platform Build Notes&nbsp;<br>
845Java development tools core</h1>
846Eclipse SDK 3.0M9 Build - 20th April 2004
847<br>Project org.eclipse.jdt.core v_422
848(<a href="">cvs</a>).
850What's new in this drop</h2>
852<li>Added API for User Library Container support in JavaCore:
856 * Name of the User Library Container id.
857 */
858public static final String USER_LIBRARY_CONTAINER_ID= "org.eclipse.jdt.USER_LIBRARY"; //$NON-NLS-1$
861 * Returns the names of all defined user libraries. The corresponding classpath container path
862 * is the name appended to the USER_LIBRARY_CONTAINER_ID.
863 * @return Return an array containing the names of all known user defined.
864 */
865public static String[] getUserLibraryNames();
868<li>Added API to get classpath container comparison ID in ClasspathContainerInitializer:
871 * Returns an object which identifies a container for comparison purpose. This allows
872 * to eliminate redundant containers when accumulating classpath entries (e.g.
873 * runtime classpath computation). When requesting a container comparison ID, one
874 * should ensure using its corresponding container initializer. Indeed, a random container
875 * initializer cannot be held responsible for determining comparison IDs for arbitrary
876 * containers.
877 *
878 * @param containerPath the path of the container which is being checked
879 * @param project the project for which the container is to being checked
880 * @return returns an Object identifying the container for comparison
881 * @since 3.0
882 */
883public Object getComparisonID(IPath containerPath, IJavaProject project);
885By default, containers are identical if they have same container path first segment
886but this may be refined by other container initializer implementations.
888For example, the User Library classpath container initializer added for User Library Container API
889implementation (UserLibraryClasspathContainerInitializer) refines the comparison ID to the entire container path.
893<h3>Problem Reports Fixed</h3>
894<a href="">52747</a>
895formatter - please special case empty array init
896<br><a href="">59000</a>
897Code formatter struggles with end-of-line comments
898<br><a href="">52679</a>
899Code formatter formats braces in case and default statements, but no settings exist
900<br><a href="">52940</a>
901Formatter: Separate control of new lines in control statements by statement type
902<br><a href="">47815</a>
903Refactoring doesn't work with some project names [refactoring]
904<br><a href="">37657</a>
905[plan item] Improve code formatter
906<br><a href="">50989</a>
907Non-externalized strings wrap lines incorrectly
908<br><a href="">57689</a>
909ArrayIndexOutOfBoundsException when creating a new class
910<br><a href="">55004</a>
911[DCR] IVariableBinding should have a method returning the constant value
912<br><a href="">58606</a>
913Inner class in child calling protected method in parent
914<br><a href="">55979</a>
915There are still deprecated formatter constants without new way
916<br><a href="">57117</a>
917Ant adapter preserves all deprecation when using compiler arg even if deprecation is set to off
919<a name="v_421"></a>
921Eclipse Platform Build Notes&nbsp;<br>
922Java development tools core</h1>
923Eclipse SDK 3.0M9 Build - 13th April 2004
924<br>Project org.eclipse.jdt.core v_421
925(<a href="">cvs</a>).
927What's new in this drop</h2>
931<h3>Problem Reports Fixed</h3>
932<a href="">57829</a>
933Should optimize assert true case
934<br><a href="">57294</a>
935Ignore serialVersionUID hiding another field
936<br><a href="">41395</a>
937StackOverflowError when pasting code
938<br><a href="">57414</a>
939Summary: GB18030: Can not open Java Search dialog.
940<br><a href="">57886</a>
941Concurrency issue while initializing containers and variables
942<br><a href="">57858</a>
943[Compiler] Marking a field deprecated still report deprecated usage #46973
944<br><a href="">57743</a>
945[Compiler] invalid byte code produced when catching Throwable
946<br><a href="">57235</a>
947DCR: AST Name.getQualifiedName()
949<a name="v_420"></a>
951Eclipse Platform Build Notes&nbsp;<br>
952Java development tools core</h1>
953Eclipse SDK 3.0M9 Build - 6th April 2004
954<br>Project org.eclipse.jdt.core v_420
955(<a href="">cvs</a>).
957What's new in this drop</h2>
959<li>Added inclusion patterns support. See <code>JavaCore.newSourceEntry(IPath,IPath[],IPath[],IPath)</code>
960 and <code>IClasspathEntry.getInclusionPatterns()</code> for details.</li>
961<li>Added API on WorkingCopyOwner to set the primary buffer provider (for internal use by the jdt-related plug-ins only).
964 * Sets the buffer provider of the primary working copy owner. Note that even if the
965 * buffer provider is a working copy owner, only its createBuffer(ICompilationUnit)
966 * method is used by the primary working copy owner. It doesn't replace the internal primary
967 * working owner.
968 *
969 * This method is for internal use by the jdt-related plug-ins.
970 * Clients outside of the jdt should not reference this method.
971 *
972 * @param primaryBufferProvider the primary buffer provider
973 */
974public static void setPrimaryBufferProvider(WorkingCopyOwner primaryBufferProvider);
978<h3>Problem Reports Fixed</h3>
979<a href="">54009</a>
980jardesc should be known to Team/File Content
981<br><a href="">51867</a>
982An anonymous type is missing in type hierarchy when editor is modified
983<br><a href="">54763</a>
984[Compiler] Unnecessary cast not detected
985<br><a href="">52347</a>
986NPE in LaunchingPlugin.shutdown
987<br><a href="">55992</a>
988AssertionFailed during preference import
989<br><a href="">29964</a>
990Add inclusion filter
991<br><a href="">55088</a>
992IAE when using ICU.reconcile(GET_AST_TRUE, ...)
993<br><a href="">56462</a>
994[formatter] java profile; array initializer before closing brace
995<br><a href="">56449</a>
996Need to know if a reference match is in Javadoc or in Code
998<a name="v_419"></a>
1000Eclipse Platform Build Notes&nbsp;<br>
1001Java development tools core</h1>
1002Eclipse SDK 3.0M9 Build - 30th March 2004
1003<br>Project org.eclipse.jdt.core v_419
1004(<a href="">cvs</a>).
1006What's new in this drop</h2>
1008<li>Replaced "name" property of ParameterizedType node (DOM/AST)
1009with "type" property. The old methods and fields (added earlier in 3.0 cycle)
1010are deprecated and will be removed shortly.</li>
1011<li>Added typeParameters property to ClassInstanceCreation node (DOM/AST).</li>
1012<li>Package org.eclipse.jdt.core.internal.dom.rewrite renamed to org.eclipse.jdt.internal.core.dom.rewrite.</li>
1015<h3>Problem Reports Fixed</h3>
1016<a href="">56316</a>
1017JavaProject exists should not populate
1019<a name="v_418"></a>
1021Eclipse Platform Build Notes&nbsp;<br>
1022Java development tools core</h1>
1023Eclipse SDK 3.0M8 Build - 25th March 2004 - 3.0 MILESTONE-8
1024<br>Project org.eclipse.jdt.core v_418
1025(<a href="">cvs</a>).
1027What's new in this drop</h2>
1031<h3>Problem Reports Fixed</h3>
1032<a href="">55930</a>
1033File encoding should be used on save
1034<br><a href="">55478</a>
1035Unused import not reported in IDE
1037<a name="v_417"></a>
1039Eclipse Platform Build Notes&nbsp;<br>
1040Java development tools core</h1>
1041Eclipse SDK 3.0M8 Build - 24th March 2004
1042<br>Project org.eclipse.jdt.core v_417
1043(<a href="">cvs</a>).
1045What's new in this drop</h2>
1047<li>Removed failing tests re: encoding support.
1051<h3>Problem Reports Fixed</h3>
1053<a name="v_416"></a>
1055Eclipse Platform Build Notes&nbsp;<br>
1056Java development tools core</h1>
1057Eclipse SDK 3.0M8 Build - 23rd March 2004
1058<br>Project org.eclipse.jdt.core v_416
1059(<a href="">cvs</a>).
1061What's new in this drop</h2>
1065<h3>Problem Reports Fixed</h3>
1066<a href="">55504</a>
1067@&lt;tasktag&gt; should not be reported
1069<a name="v_415"></a>
1071Eclipse Platform Build Notes&nbsp;<br>
1072Java development tools core</h1>
1073Eclipse SDK 3.0M8 Build - 23rd March 2004
1074<br>Project org.eclipse.jdt.core v_415
1075(<a href="">cvs</a>).
1077What's new in this drop</h2>
1079<li> Added rewriting support to DOM AST.
1080There are two set of API to perform rewriting.
1082<li>An AST-modifying rewrite API<br>
1083To use the AST-modifying rewrite the client must create an AST from an existing
1084compilation unit (ASTParser#createAST(...)).
1085Then the client need to start the record process of the AST changes (CompilationUnit#recordModifications())
1086and modify the AST after. When modifications are done, the client can call a method to
1087compute a text edit tree containing all the text changes (CompilationUnit#rewrite()).
1091 public void recordModifications()
1092 public TextEdit rewrite(IDocument document, Map options) throws RewriteException
1095<li>A describing rewrite API<br>
1096To use the describing AST rewrite, the client starts with creating an instance of NewASTRewrite. Then the client
1097must not modify the AST directly but use NewASTRewrite instead. When modifications are done, the client can call
1098a method to compute a text edit tree containing all the text changes (NewASTRewrite#rewrite()).
1101 public final void markAsRemoved(ASTNode node, TextEditGroup editGroup)
1102 public final void markAsReplaced(ASTNode node, ASTNode replacingNode, TextEditGroup editGroup)
1103 public ListRewriter getListRewrite(ASTNode parent, ChildListPropertyDescriptor childProperty)
1104 public TextEdit rewriteAST(IDocument document, Map options) throws RewriteException
1105 ...
1108 remove(ASTNode, TextEditGroup)
1109 public void replace(ASTNode, ASTNode, TextEditGroup)
1110 public void insertAfter(ASTNode, ASTNode, TextEditGroup)
1111 public void insertBefore(ASTNode, ASTNode, TextEditGroup)
1112 public void insertFirst(ASTNode, TextEditGroup)
1113 public void insertLast(ASTNode, TextEditGroup)
1114 public void insertAt(ASTNode, int, TextEditGroup)
1115 ...
1122<h3>Problem Reports Fixed</h3>
1123<a href="">39068</a>
1124Adopt new core API for encoding on a per file basis
1126<a name="v_414"></a>
1128Eclipse Platform Build Notes&nbsp;<br>
1129Java development tools core</h1>
1130Eclipse SDK 3.0M8 Build - 22nd March 2004
1131<br>Project org.eclipse.jdt.core v_414
1132(<a href="">cvs</a>).
1134What's new in this drop</h2>
1138<h3>Problem Reports Fixed</h3>
1139<a href="">46668</a>
1140Changes to class path containers should not change .project
1141<br><a href="">55421</a>
1142Cannot save a .java file in a non-java project anymore
1143<br><a href="">55223</a>
1144Bug in comment mapper: Same comment mapped to 2 statements
1145<br><a href="">54044</a>
1146Ant log does not use system newline character
1147<br><a href="">55372</a>
1148Should not assume that Preferences.defaultPropertyNames() returns default-default properties
1149<br><a href="">55221</a>
1150Bug in comment mapper: Grabs next node's Javadoc
1151<br><a href="">55102</a>
1152NPE when using ICU.reconcile(GET_AST_TRUE, ...)
1153<br><a href="">49986</a>
1154setRawClasspath(...) should fire a F_CLASSPATH_CHANGED delta
1156<a name="v_413"></a>
1158Eclipse Platform Build Notes&nbsp;<br>
1159Java development tools core</h1>
1160Eclipse SDK 3.0M8 Build - 15th March 2004
1161<br>Project org.eclipse.jdt.core v_413
1162(<a href="">cvs</a>).
1164What's new in this drop</h2>
1166<li> Added compiler option JavaCore.COMPILER_TASK_CASE_SENSITIVE to control whether the task detection
1167should be case sensitive or not. By default, it is.
1169 * COMPILER / Determine whether task tags are case-sensitive
1170 * When enabled, task tags are considered in a case-sensitive way.
1171 * - option id: "org.eclipse.jdt.core.compiler.taskCaseSensitive"
1172 * - possible values: { "enabled", "disabled" }
1173 * - default: "enabled"
1176<li> Added 2 default task tags: "FIXME" and "XXX".
1180<h3>Problem Reports Fixed</h3>
1181<a href="">54776</a>
1182DefaultCommentMapper: different behaviour
1183<br><a href="">54431</a>
1184ASTParser should honor set compiler options in all cases
1185<br><a href="">54043</a>
1186Problems with type hierarchy for binary types
1187<br><a href="">53095</a>
1188I20040225: Won't accept breakpoint on NoClassDefFoundError
1189<br><a href="">54294</a>
1191<br><a href="">48435</a>
1192Java Search for OR-pattern finds too much in strange project setup
1193<br><a href="">40921</a>
1194Task tags should be case-insensitive
1195<br><a href="">49266</a>
1196FIXME task tag
1199<a name="v_412"></a>
1201Eclipse Platform Build Notes&nbsp;<br>
1202Java development tools core</h1>
1203Eclipse SDK 3.0M8 Build - 8th March 2004
1204<br>Project org.eclipse.jdt.core v_412
1205(<a href="">cvs</a>).
1207What's new in this drop</h2>
1209<li> Added new global JavaCore.COMPILER_DOC_COMMENT_SUPPORT option for doc comment (Javadoc) support. By default, this option is enabled for backward compatibility.
1211 * COMPILER / Javadoc Comment Support
1212 * When this support is disabled, the compiler will ignore all javadoc problems options settings
1213 * and will not report any javadoc problem. It will also not find any reference in javadoc comment and
1214 * DOM AST Javadoc node will be only a flat text instead of having structured tag elements.
1215 * - option id: ""
1216 * - possible values: { "enabled", "disabled" }
1217 * - default: "enabled"
1219See bug <a href="">52264</a>.
1221<li> Added new JavaCore.COMPILER_CODEGEN_INLINE_JSR_BYTECODE option to allow user to inline subroutine code instead of generating JSR instructions. By default, this option is disabled.
1223 * COMPILER / Inline JSR Bytecode Instruction
1224 * When enabled, the compiler will no longer generate JSR instructions, but rather inline corresponding
1225 * subroutine code sequences (mostly corresponding to try finally blocks). The generated code will thus
1226 * get bigger, but will load faster on virtual machines since the verification process is then much simpler.
1227 * This mode is anticipating support for the Java Specification Request 202.
1228 * - option id: "org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode"
1229 * - possible values: { "enabled", "disabled" }
1230 * - default: "disabled"
1231 *
1233Corresponding command line compiler option <code>-noJSR</code> has been renamed to:
1235 <code>-inlineJSR</code> : inline JSR bytecode
1237which means that when specified, the compiler will no longer generate JSR bytecodes, but instead inlining the corresponding subroutine (e.g. finally block).
1241<h3>Problem Reports Fixed</h3>
1242<a href="">53757</a>
1243Javadoc tag @transient ignored
1244<br><a href="">53075</a>
1246<br><a href="">53357</a>
1247Java AST creation error
1248<br><a href="">52264</a>
1249Need a global preference to enable Javadoc support
1250<br><a href="">51529</a>
1251"Organize imports" is confused by references inside Javadoc
1252<br><a href="">53477</a>
1253AnonymousClassDeclaration has wrong range
1254<br><a href="">53624</a>
1255StackOverFlow in Code assist
1256<br><a href="">50433</a>
1257Rationalize signatures of AST.parse* methods
1259<a name="v_411"></a>
1261Eclipse Platform Build Notes&nbsp;<br>
1262Java development tools core</h1>
1263Eclipse SDK 3.0M8 Build - 3rd March 2004
1264<br>Project org.eclipse.jdt.core v_411
1265(<a href="">cvs</a>).
1267What's new in this drop</h2>
1269<li>Added new constant <code>IJavaElementDelta.F_CLASSPATH_CHANGED</code> that indicates that
1270 the project's raw classpath has changed.
1274<h3>Problem Reports Fixed</h3>
1275<a href="">49986</a>
1276setRawClasspath(...) should fire a F_CLASSPATH_CHANGED delta
1277<br><a href="">53242</a>
1278Consitent Out of Memory problems indexing (with multiple Java libraries)
1279<br><a href="">52474</a>
1280UI Blocked when opening Java Perspective during CVS check out
1282<a name="v_410"></a>
1284Eclipse Platform Build Notes&nbsp;<br>
1285Java development tools core</h1>
1286Eclipse SDK 3.0M8 Build - 2nd March 2004
1287<br>Project org.eclipse.jdt.core v_410
1288(<a href="">cvs</a>).
1290What's new in this drop</h2>
1292<li>Added following APIs to <code>org.eclipse.jdt.core.dom.CompilationUnit</code>:
1294<li><code>getCommentList()</code>: Returns a list of the comments encountered while parsing the compilation unit.</li>
1295<li><code>getExtendedStartPosition(ASTNode)</code>: Returns the extended start position of the given node.</li>
1296<li><code>getExtendedLength(ASTNode)</code>: Returns the extended source length of the given node.</li>
1298Unlike <code>ASTNode#getStartPosition()</code> and <code>ASTNode#getLength()</code>, the extended source range may include
1299comments and whitespace immediately before or after the normal source range for the node.
1301See bug <a href="">53445</a> for more details on heuristic to find leading and trailing comments.
1303<li>Added API <code>FieldReferenceMatch.isReadAccess()</code> and <code>isWriteAccess()</code>.
1304<li>Added API <code> action, ISchedulingRule rule, IProgressMonitor monitor)</code>
1305 to control the scheduling rule during a Java batch operation.
1307<li>Added API <code>SearchEngine.createJavaSearchScope(IJavaElement[], int)</code> that allows to filter the
1310<li> New command line options for batch compiler:
1311 <ul>
1312 <li> <code>-maxProblems &lt;n&gt;</code> : max number of problems per compilation unit (100 by default) </li>
1313 <li> <code>-noJSR</code> : do not use JSR bytecode </li>
1314 </ul>
1318<h3>Problem Reports Fixed</h3>
1319<a href="">53445</a>
1320[DCR] [DOM Comments] Provide extended ranges including leading/trailing comments for AST nodes
1321<br><a href="">53276</a>
1322[DOM Comments] Wrong text element length when containing '\' character
1323<br><a href="">52908</a>
1324[DOM Comments] Wrong text element positions when starting/ending with { or }
1325<br><a href="">48337</a>
1326[Search] FieldReferenceMatch should report read/write access
1327<br><a href="">52691</a>
1328Add batch compiler option for maxProblemsPerUnit
1329<br><a href="">51045</a>
1330Offer to call with scheduling rule
1331<br><a href="">52273</a>
1332Add option on predefined search scope to include/exclude system contain libraries
1333<br><a href="">49809</a>
1334NPE from MethodVerifier
1336<a name="v_409"></a>
1338Eclipse Platform Build Notes&nbsp;<br>
1339Java development tools core</h1>
1340Eclipse SDK 3.0M8 Build - 24th February 2004
1341<br>Project org.eclipse.jdt.core v_409
1342(<a href="">cvs</a>).
1344What's new in this drop</h2>
1346<li>Added new API to create a DOM AST while reconciling
1347 <code>ICompilationUnit.reconcile(boolean, boolean, WorkingCopyOwner, IProgressMonitor)</code>.
1349<li>Removed compiler support for deprecating jsr bytecode in 1.5 compliant mode (turned off until future release).
1351<li>The constant DefaultCodeFormatterConstants.FORMATTER_PRESERVE_USER_LINEBREAKS will be removed. It has been deprecated for now and
1352has no effect in the UI anymore.
1354<li>The constant DefaultCodeFormatterConstants.FORMATTER_FILLING_SPACE will be removed. It has been deprecated for now and
1355has no effect in the UI anymore.
1359<h3>Problem Reports Fixed</h3>
1360<a href="">52916</a>
1361Strang error message when using jre1.5.0 libraries
1362<br><a href="">50586</a>
1363[Code Formatter] trim trailing blanks/whitespace
1364<br><a href="">52851</a>
1365Space before else should be removed in some cases
1366<br><a href="">52283</a>
1367do &lt;single-statement&gt; while(&lt;condition&gt;) is ill-formatted
1368<br><a href="">52479</a>
1369Code Format fails on not on-demand imports
1370<br><a href="">52246</a>
1371M7 Source formatter fails silently when assert present in source
1372<br><a href="">52429</a>
1373code formatter seems to ignore settings
1374<br><a href="">51623</a>
1375[formatter] Wrong formatting when "Preserve existing line breaks" switched on
1376<br><a href="">52305</a>
1377Code Formatter strips blank lines in methods and field definitions when I try to tell it not to
1378<br><a href="">52746</a>
1379Formatter - preserve line breaks conflicts with keep blank lines
1380<br><a href="">52804</a>
1381Deprecated formatter constant should indicate new way
1382<br><a href="">52619</a>
1383NPE running Java model tests
1384<br><a href="">36889</a>
1385[DCR] Keep AST created in reconcile for active editor
1386<br><a href="">52384</a>
1387OutOfMemoryError opening hierarchy on Object
1388<br><a href="">52355</a>
1389Not present exception trying to create a class in excluded package
1390<br><a href="">49809</a>
1391NPE from MethodVerifier
1392<br><a href="">22104</a>
1393[infrastructure] NPE from
1394<br><a href="">31013</a>
1395 [infrastructure] npe in index crash recovery
1396<br><a href="">31014</a>
1397[infrastructure] exception in indexer
1398<br><a href="">51447</a>
1399[infrastructure] NPE running JDT Core tests
1400<br><a href="">52221</a>
1401[Compiler] should reject Local type usage when defined in other switch case block
1402<br><a href="">52216</a>
1403[regression in M7] javadoc: @see &lt;a href&gt; shows a warning
1404<br><a href="">51990</a>
1405'parameter' vs 'argument' in compiler errors/settings
1406<br><a href="">52012</a>
1407Special 'serialPersistentFields' marked as 'never used locally'
1408<br><a href="">51353</a>
1409The type AbstractStringBuilder is not visible
1410<br><a href="">49259</a>
1411Task tags starting with TODO don't correctly display their priority in Tasks View
1412<br><a href="">49879</a>
1413java.lang.ClassCastException (SourceTypeBinding to a BinaryTypeBinding) in 30M6 within jdt.core.dom.TypeBinding.getKey(
1415<a name="v_408"></a>
1417Eclipse Platform Build Notes&nbsp;<br>
1418Java development tools core</h1>
1419Eclipse SDK 3.0M7 Build - 12th February 2004 - 3.0 MILESTONE-7
1420<br>Project org.eclipse.jdt.core v_408
1421(<a href="">cvs</a>).
1423What's new in this drop</h2>
1427<h3>Problem Reports Fixed</h3>
1428<a href="">51603</a>
1429[preferences] Code formatter line wrapping preference inconsistent preview behaviour
1430<br><a href="">51476</a>
1431Javadoc: String or URL @see references are not stored in DOM AST Javadoc structure
1432<br><a href="">51478</a>
1433Javadoc: @deprecated/@inheritDoc tags are not stored in DOM AST Javadoc structure
1434<br><a href="">51508</a>
1435Javadoc: Package references DOM AST nodes binding is null
1436<br><a href="">51626</a>
1437Javadoc - DOM/AST is not correct after a @see tag
1438<br><a href="">51650</a>
1439Incorrected deprecation check
1440<br><a href="">51770</a>
1441Javadoc AST Node: wrong binding on qualified name part
1444<a name="v_407"></a>
1446Eclipse Platform Build Notes&nbsp;<br>
1447Java development tools core</h1>
1448Eclipse SDK 3.0M7 Build - 11th February 2004
1449<br>Project org.eclipse.jdt.core v_407
1450(<a href="">cvs</a>).
1452What's new in this drop</h2>
1454<li>Fixed most of the API Java doc comments.
1458<h3>Problem Reports Fixed</h3>
1459<a href="">51659</a>
1460New Code Formatter: minor problem with "White spaces/Array Initializers" option
1463<a name="v_406"></a>
1465Eclipse Platform Build Notes&nbsp;<br>
1466Java development tools core</h1>
1467Eclipse SDK 3.0M7 Build - 10th February 2004
1468<br>Project org.eclipse.jdt.core v_406
1469(<a href="">cvs</a>).
1471What's new in this drop</h2>
1475<h3>Problem Reports Fixed</h3>
1476<a href="">51035</a>
1477[Formatter] endline comment in case of simple if-then statement
1480<a name="v_405"></a>
1482Eclipse Platform Build Notes&nbsp;<br>
1483Java development tools core</h1>
1484Eclipse SDK 3.0M7 Build - 9th February 2004
1485<br>Project org.eclipse.jdt.core v_405
1486(<a href="">cvs</a>).
1488What's new in this drop</h2>
1492<h3>Problem Reports Fixed</h3>
1493<a href="">51363</a>
1494Wrong comment positions inside the Scanner.
1495<br><a href="">51201</a>
1496Code formatter missing 'between empty brackets' option in Whitespace Array allocation configuration
1497<br><a href="">50695</a>
1498Javadoc: package reference in @see tags is wrongly warned
1499<br><a href="">49994</a>
1500Strange matches with start=0, end=1 in type reference search
1501<br><a href="">51300</a>
1502VerifyError when using a array reference assigned to null
1503<br><a href="">51128</a>
1504[Code Formatter] Indent statements within blocks and methods
1505<br><a href="">51241</a>
1506IllegalArgumentException while creating a DOM/AST
1507<br><a href="">51249</a>
1508Performance problems in PackageFragment.getPath
1509<br><a href="">50276</a>
1510Function call line wrapping fails on chained calls
1511<br><a href="">51190</a>
1512comment after else block goes to next line
1513<br><a href="">51226</a>
1514Javadoc inside DOM AST does not support starting characters in unicode
1515<br><a href="">51104</a>
1516Comments are not recorded when inside a method body
1517<br><a href="">50858</a>
1518Javadoc IProblem constant not defined
1519<br><a href="">50898</a>
1520Javadoc AST: Missing binding for reference to non-visible type
1522<a name="v_404"></a>
1524Eclipse Platform Build Notes&nbsp;<br>
1525Java development tools core</h1>
1526Eclipse SDK 3.0M7 Build - 3rd February 2004
1527<br>Project org.eclipse.jdt.core v_404
1528(<a href="">cvs</a>).
1530What's new in this drop</h2>
1534<h3>Problem Reports Fixed</h3>
1535<a href="">50938</a>
1536Javadoc AST: Still invalid range for embedded tag
1538<a name="v_403"></a>
1540Eclipse Platform Build Notes&nbsp;<br>
1541Java development tools core</h1>
1542Eclipse SDK 3.0M7 Build - 3rd February 2004
1543<br>Project org.eclipse.jdt.core v_403
1544(<a href="">cvs</a>).
1546What's new in this drop</h2>
1548<li>Updated porting guide to introduce search participant story (see <a href="">porting guide</a>)</li>
1551<h3>Problem Reports Fixed</h3>
1552<a href="">51089</a>
1553Java AST creation failure
1554<br><a href="">50571</a>
1555search sender in hierarchy hangs
1557<a name="v_402"></a>
1559Eclipse Platform Build Notes&nbsp;<br>
1560Java development tools core</h1>
1561Eclipse SDK 3.0M7 Build - 30th January 2004
1562<br>Project org.eclipse.jdt.core v_402
1563(<a href="">cvs</a>).
1565What's new in this drop</h2>
1569<h3>Problem Reports Fixed</h3>
1570<a href="">50883</a>
1571Javadoc AST node: Range problem with embedded tags
1572<br><a href="">50884</a>
1573Compiler crashes without a trace in the log leaving workspace in unhappy state
1574<br><a href="">50831</a>
1575DCR Javadoc AST: Offer well known tag names as constants
1576<br><a href="">50880</a>
1577JavadocAST Nodes: Wrong ranges on link
1578<br><a href="">50877</a>
1579Javadoc AST Nodes: Wrong ranges
1580<br><a href="">47396</a>
1581JAVA AST Creation failure
1582<br><a href="">50844</a>
1583AbortCompilation thrown from Name#resolveBinding()
1584<br><a href="">50746</a>
1585Searching for variable references can cause an internal error
1586<br><a href="">50838</a>
1587Javadoc bindings: No bindings in constructor ref parameter
1588<br><a href="">50840</a>
1589Javadoc AST: wrong start position on MemberRef
1591<a name="v_401"></a>
1593Eclipse Platform Build Notes&nbsp;<br>
1594Java development tools core</h1>
1595Eclipse SDK 3.0M7 Build - 29th January 2004
1596<br>Project org.eclipse.jdt.core v_401
1597(<a href="">cvs</a>).
1599What's new in this drop</h2>
1603<h3>Problem Reports Fixed</h3>
1604<a href="">46126</a>
1605[DCR] IBinding should have a method to check @since javadoc tag
1606<br><a href="">50785</a>
1607Javadoc bindings: No bindings member refs
1608<br><a href="">50784</a>
1609Javadoc bindings: No binding in {@link } and link disturbs other bindings
1610<br><a href="">50781</a>
1611Javadoc bindings: No bindings for qualified names
1612<br><a href="">50736</a>
1613Out of bounds exception while formatting
1615<a name="v_400"></a>
1617Eclipse Platform Build Notes&nbsp;<br>
1618Java development tools core</h1>
1619Eclipse SDK 3.0M7 Build - 28th January 2004
1620<br>Project org.eclipse.jdt.core v_400
1621(<a href="">cvs</a>).
1623What's new in this drop</h2>
1627<h3>Problem Reports Fixed</h3>
1628<a href="">50694</a>
1629Javadoc: Cannot find DOM AST bindings for types in @see tags
1630<br><a href="">50692</a>
1631Javadoc: Cannot find DOM AST bindings for inline link tags references
1632<br><a href="">50719</a>
1633wrong formatting for java coding conventions
1635<a name="v_399"></a>
1637Eclipse Platform Build Notes&nbsp;<br>
1638Java development tools core</h1>
1639Eclipse SDK 3.0M7 Build - 27th January 2004
1640<br>Project org.eclipse.jdt.core v_399
1641(<a href="">cvs</a>).
1643What's new in this drop</h2>
1645<li>Improve DOM/AST support for doc comments.
1646<br>Following changes have been made to the DOM/AST API:
1648<li>added Javadoc.tags() to represent structure of the doc comments</li>
1649<li>deprecated Javadoc.get/setComment</li>
1650<li>added 5 new node types that occur only within doc comments: TagElement, TextElement, MemberRef, MethodRef, MethodRefParameter</li>
1651<li>tag elements like MemberRef, MethodRef, and Name can carry binding information (must be requested like elsewhere)</li>
1652<li>added ASTVisitor(boolean) for controlling whether Javadoc.tags() are visited by default</li>
1653<li>added ASTMatcher(boolean) for controlling whether Javadoc.tags() are compared vs. only Javadoc.getComment()</li>
1654<li>AST.parse*(...) now returns structured doc comments (for compatibility, Javadoc.getComment() is also set as before)</li>
1656See bugs <a href="">50683</a>.
1659Improve DOM/AST support for locating all comments.
1660<br>Following changes have been made to the DOM/AST API:
1662<li>added CompilationUnit.getCommentTable() to record locations of all comments found in the source</li>
1663<li>added 2 new node types, LineComment and BlockComment, to represent end-of-line and traditional comments respectively</li>
1664<li>these new nodes are placeholders for comments</li>
1665<li>these new node types only occur in the comment table (since they can occur anywhere (lexically), there is no way to properly parent them in the regular AST nodes that reflects their position)</li>
1666<li>AST.parse*(...) now returns sets the comment table on the compilation unit to include all comments (including attached and free-floating doc comments)</li>
1668See bug <a href="">50697</a>.
1670<li> Added option to control whether diagnosis for unused thrown exceptions should be enabled when overriding another
1671method. By default, it is disabled.
1673* COMPILER / Reporting Unused Declared Thrown Exception in Overridind Method
1674* When disabled, the compiler will not include overriding methods in its diagnosis for unused declared
1675* thrown exceptions.
1676* The severity of the problem is controlled with option "org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException".
1677* - option id: "org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding"
1678* - possible values: { "enabled", "disabled" }
1679* - default: "disabled"
1684<h3>Problem Reports Fixed</h3>
1685<a href="">50644</a>
1686Deprecation check doesn't check that the @deprecated is at the beginning of the line
1687<br><a href="">27134</a>
1688Add a ASTNode for non-Javadoc comments
1689<br><a href="">50683</a>
1690Improve DOM/AST support for doc comments
1691<br><a href="">50697</a>
1692Improve DOM/AST support for locating all comments
1693<br><a href="">50667</a>
1694Deadlock on Refactor -&gt; Extract method
1695<br><a href="">47430</a>
1696the immutable bit is copied from the original resource to the ouput directory
1697<br><a href="">50601</a>
1698Blank lines before package declaration is one fewer than specified
1699<br><a href="">48292</a>
1700[DCR] Need AST.parsePartialClassFile(....)
1701<br><a href="">50320</a>
1702Java model operations should use IResourceRuleFactory
1703<br><a href="">50207</a>
1704Compile errors fixed by 'refresh' do not reset problem list or package explorer error states
1705<br><a href="">49691</a>
1706JavaProject looses property listeners on preferences
1707<br><a href="">50265</a>
1708Emulate old formatter with the new formatter
1709<br><a href="">50225</a>
1710Calling the default formatter with an empty string returns an invalid Edit
1711<br><a href="">44876</a>
1712"Unnecessary declaration of thrown exception" problems
1715<a name="v_398"></a>
1717Eclipse Platform Build Notes&nbsp;<br>
1718Java development tools core</h1>
1719Eclipse SDK 3.0M7 Build - 20th January 2004
1720<br>Project org.eclipse.jdt.core v_398
1721(<a href="">cvs</a>).
1723What's new in this drop</h2>
1725<li>Major renaming of constants in the code formatter. See <code>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants</code>. See bug <a href="">49908</a>.
1726The old constants have been deprecated and will be removed before M7. So we encourage you to save your code formatter preferences if
1727you modified the default settings. The UI will provide an automatic conversion to the new options.
1729<li>Added API for alignment options in the code formatter. See <code>org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants</code>. See bug <a href="">49968</a>.
1731<li>Changed 3.0 APIs on <code>org.eclipse.jdt.core.dom.AST</code> to take an <code>IProgressMonitor</code>. This progress monitor is checked for the cancelation of the AST creation only.
1733<li>Added API on <code>org.eclipse.jdt.core.dom.AST</code> to parse an expression or statements or class body declarations without requiring the parsing
1734of the whole compilation unit. This is still subject to change before 3.0.
1736 /**
1737 * Parses the given source between the bounds specified by the given offset (inclusive)
1738 * and the given length and creates and returns a corresponding abstract syntax tree.
1739 *
1740 * The root node of the new AST depends on the given kind.
1741 * - <code>org.eclipse.jdt.core.dom.AST.K_CLASS_BODY_DECLARATIONS</code>: The root node is an instance of
1742 * <code>org.eclipse.jdt.core.dom.TypeDeclaration</code>. The type declaration itself doesn't contain any information.
1743 * It is simply used to return all class body declarations inside the bodyDeclaratins() collection.
1744 * - <code>org.eclipse.jdt.core.dom.AST.K_STATEMENTS</code>: The root node is an instance of
1745 * <code>org.eclipse.jdt.core.dom.Block</code>. The block itself doesn't contain any information.
1746 * It is simply used to return all the statements.
1747 * - <code>org.eclipse.jdt.core.dom.AST.K_EXPRESSION</code>: The root node is an instance of a subclass of
1748 * <code>org.eclipse.jdt.core.dom.Expression</code>.
1749 *
1750 * Each node in the subtree carries source range(s) information relating back
1751 * to positions in the given source (the given source itself
1752 * is not remembered with the AST).
1753 * The source range usually begins at the first character of the first token
1754 * corresponding to the node; leading whitespace and comments are <b>not</b>
1755 * included. The source range usually extends through the last character of
1756 * the last token corresponding to the node; trailing whitespace and
1757 * comments are <b>not</b> included. There are a handful of exceptions
1758 * (including compilation units and the various body declarations); the
1759 * specification for these node type spells out the details.
1760 * Source ranges nest properly: the source range for a child is always
1761 * within the source range of its parent, and the source ranges of sibling
1762 * nodes never overlap.
1763 *
1764 * This method does not compute binding information; all <code>resolveBinding</code>
1765 * methods applied to nodes of the resulting AST return <code>null</code>.
1766 *
1767 * <code>null</code> is returned:
1768 * 1. If a syntax error is detected while parsing,
1769 * 2. If the given source doesn't correspond to the given kind.
1770 *
1771 * @param kind the given kind to parse
1772 * @param source the string to be parsed
1773 * @param offset the given offset
1774 * @param length the given length
1775 * @param options the given options. If null, <code>JavaCore.getOptions()</code> is used.
1776 * @param monitor the progress monitor used to check if the AST creation needs to be canceled
1777 *
1778 * @return ASTNode
1779 * @see ASTNode#getStartPosition()
1780 * @see ASTNode#getLength()
1782 * @see AST#K_EXPRESSION
1783 * @see AST#K_STATEMENTS
1784 * @see JavaCore#getOptions()
1785 * @since 3.0
1786 */
1787 public static ASTNode parse(int kind, char[] source, int offset, int length, Map options, IProgressMonitor monitor);
1790<li>Added API on <code>org.eclipse.jdt.core.dom.AST</code> to parse a compilation unit and specify
1791the set of options to use. This is still subject to change before 3.0. The previous API was directly
1792using <code>JavaCore.getOptions()</code>. This could be problematic in case you want to parse assert
1795 /**
1796 * Parses the given string as a Java compilation unit and creates and
1797 * returns a corresponding abstract syntax tree.
1798 *
1799 * The given options are used to find out the compiler options to use while parsing.
1800 * This could implies the settings for the assertion support. See the <code>JavaCore.getOptions()</code>
1801 * methods for further details.
1802 *
1803 *
1804 * The returned compilation unit node is the root node of a new AST.
1805 * Each node in the subtree carries source range(s) information relating back
1806 * to positions in the given source string (the given source string itself
1807 * is not remembered with the AST).
1808 * The source range usually begins at the first character of the first token
1809 * corresponding to the node; leading whitespace and comments are <b>not</b>
1810 * included. The source range usually extends through the last character of
1811 * the last token corresponding to the node; trailing whitespace and
1812 * comments are <b>not</b> included. There are a handful of exceptions
1813 * (including compilation units and the various body declarations); the
1814 * specification for these node type spells out the details.
1815 * Source ranges nest properly: the source range for a child is always
1816 * within the source range of its parent, and the source ranges of sibling
1817 * nodes never overlap.
1818 * If a syntax error is detected while parsing, the relevant node(s) of the
1819 * tree will be flagged as <code>MALFORMED</code>.
1820 *
1821 *
1822 * This method does not compute binding information; all <code>resolveBinding</code>
1823 * methods applied to nodes of the resulting AST return <code>null</code>.
1824 *
1825 *
1826 * @param source the string to be parsed as a Java compilation unit
1827 * @param options options to use while parsing the file. If null, <code>JavaCore.getOptions()</code> is used.
1828 * @param monitor the progress monitor used to check if the AST creation needs to be canceled
1829 * @return CompilationUnit
1830 * @see ASTNode#getFlags()
1831 * @see ASTNode#MALFORMED
1832 * @see ASTNode#getStartPosition()
1833 * @see ASTNode#getLength()
1834 * @see JavaCore#getOptions()
1835 * @since 3.0
1836 */
1837 public static CompilationUnit parseCompilationUnit(char[] source, Map options, IProgressMonitor monitor);
1842<h3>Problem Reports Fixed</h3>
1843<a href="">50258</a>
1844AST.parseCompilationUnit(... IWorkingCopyOwner..) should allow null
1845<br><a href="">49937</a>
1846JavaDoc of ITypeBinding#isLocal() talks about local interfaces
1847<br><a href="">49845</a>
1848DCR: Allow to cancel the AST creation
1849<br><a href="">48489</a>
1850[DCR] AST support for a single expression (vs. CU)
1851<br><a href="">49327</a>
1852formatter can return null TextEdit when parsing valid java
1853<br><a href="">49908</a>
1854Renaming of
1855<br><a href="">49968</a>
1856[formatter] Alignment API
1857<br><a href="">49953</a>
1858[Code Formatter] Cannot customize the spaces around brackets in array allocation expression
1859<br><a href="">50025</a>
1860uppercase ZIP and JAR classpath entries ignored
1861<br><a href="">45060</a>
1862Missing external jar prevents build, but jar still in Java model
1864<a name="v_397"></a>
1866Eclipse Platform Build Notes&nbsp;<br>
1867Java development tools core</h1>
1868Eclipse SDK 3.0M7 Build - 13th January 2004
1869<br>Project org.eclipse.jdt.core v_397
1870(<a href="">cvs</a>).
1872What's new in this drop</h2>
1874<li>Added API to get the scheduling rule for a Java element:
1876 /**
1877 * Returns the scheduling rule associated with this Java element.
1878 * This is a handle-only method.
1879 *
1880 * @return the scheduling rule associated with this Java element
1881 * @since 3.0
1882 */
1883 ISchedulingRule getSchedulingRule();
1886<li>Code formatter: If you did change the value of the setting controlling the insertion of a white space between empty arguments of a method declaration,
1887then you have to change it again. Indeed, a spelling mistake has been fixed in the constant name. See bug <a href="">49530</a>.</li>
1888<li>Inline tags are now supported in Javadoc comments:
1889<ul><li>{@link} and {@linkplain} tags are now parsed using same rules as for @see tag. See bug <a href="">48385</a>.
1890<br>Because references declared in these tags should be now found during search operation, the index format had to be changed. Indexes will be automatically regenerated upon subsequent search queries (accounting for indexing notification in search progress dialogs).</li>
1891<li>{@inheritDoc} tag is now parsed. When this tag is present in a method javadoc comment, all missing tags errors are ignored.
1892See bug <a href="">45782</a>.</li>
1897<h3>Problem Reports Fixed</h3>
1898<a href="">49843</a>
1899Not reporting error on constructor with no body
1900<br><a href="">49491</a>
1901Add option to toggle warning for Javadoc multiple same name @throws tags
1902<br><a href="">49260</a>
1903Malformed Javadoc Compiler option sensitive to line breaks
1904<br><a href="">45782</a>
1905[DCR] Compiler should take into account {@inheritDoc} tag
1906<br><a href="">48385</a>
1907[DCR] Need Javadoc warning for {@link }
1908<br><a href="">49760</a>
1910<br><a href="">49763</a>
1911New formatter: Problem with empty statement in while
1912<br><a href="">48701</a>
1913NPE evaluating watch expression
1914<br><a href="">49290</a>
1915NullpointerException in TypeBinding.getInterfaces().
1916<br><a href="">49660</a>
1917Code formatter line wrapping indentation ignores whitespace settings
1918<br><a href="">48293</a>
1919[DCR] IJavaElement should implement ISchedulingRule
1920<br><a href="">48459</a>
1921NPE in Type hierarchy
1922<br><a href="">49653</a>
1923Unnecessary white space is added after last semicolon in for statement without increments
1924<br><a href="">49351</a>
1925New code formatter: left curly brace placement
1926<br><a href="">49530</a>
1927Spelling mistake in the FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_ARGUMENTS string constant
1928<br><a href="">49298</a>
1929Code formatter does not correctly space closing bracket on method calls
1930<br><a href="">48395</a>
1931Hierarchy on region misses local classes
1932<br><a href="">47743</a>
1933Open type hiearchy problems [type hierarchy]
1934<br><a href="">49571</a>
1935White space options for method and constructor declarations
1936<br><a href="">49577</a>
1937Add an option to specify the number of blank lines between two type declarations
1938<br><a href="">49551</a>
1939formatter fails on empty statement between package and imports
1940<br><a href="">39943</a>
1941[navigation] outliner auto-changes selection (multi-fields)
1942<br><a href="">49490</a>
1943New Code Formatter; Java Coding Conventions; Blank Lines; Before first declaration
1944<br><a href="">49561</a>
1945Commit should only lock parent's folder
1946<br><a href="">47699</a>
1947Make org.eclipse.core.runtime.compatibility non optional
1948<br><a href="">41444</a>
1949[navigation] error dialog on opening class file
1950<br><a href="">48350</a>
1951IType#resolveType(String) fails on local types
1952<br><a href="">49120</a>
1953search doesn't find references to anonymous inner methods
1954<br><a href="">49482</a>
1955New Code Formatter; if/else without curly braces; guardian clause (2)
1956<br><a href="">49481</a>
1957New Code Formatter; if/else without curly braces; guardian clause (1)
1958<br><a href="">49361</a>
1960<br><a href="">49243</a>
1961New code formatter: missing feature
1962<br><a href="">49429</a>
1963error during build
1964<br><a href="">48404</a>
1965formatter: no edit returned
1967<a name="v_396"></a>
1969Eclipse Platform Build Notes&nbsp;<br>
1970Java development tools core</h1>
1971Eclipse SDK 3.0M6 Build - 18th December 2003 - 3.0 MILESTONE-6
1972<br>Project org.eclipse.jdt.core v_396
1973(<a href="">cvs</a>).
1975What's new in this drop</h2>
1979<h3>Problem Reports Fixed</h3>
1980<a href="">49081</a>
1981JDT is no more using the tab character by default for indentation
1983<a name="v_395"></a>
1985Eclipse Platform Build Notes&nbsp;<br>
1986Java development tools core</h1>
1987Eclipse SDK 3.0M6 Build - 17th December 2003
1988<br>Project org.eclipse.jdt.core v_395
1989(<a href="">cvs</a>).
1991What's new in this drop</h2>
1995<h3>Problem Reports Fixed</h3>
1996<a href="">48706</a>
1997NPE in move refactoring
1998<br><a href="">48965</a>
1999Javadoc problem preference settings: Use 'include' instead of 'ignore'
2001<a name="v_394"></a>
2003Eclipse Platform Build Notes&nbsp;<br>
2004Java development tools core</h1>
2005Eclipse SDK 3.0M6 Build - 16th December 2003
2006<br>Project org.eclipse.jdt.core v_394
2007(<a href="">cvs</a>).
2009What's new in this drop</h2>
2013<h3>Problem Reports Fixed</h3>
2014<a href="">47209</a>
2015Javadoc: Type references are not found in @see tag inside a method reference
2017<a name="v_393"></a>
2019Eclipse Platform Build Notes&nbsp;<br>
2020Java development tools core</h1>
2021Eclipse SDK 3.0M6 Build - 16th December 2003
2022<br>Project org.eclipse.jdt.core v_393
2023(<a href="">cvs</a>).
2025What's new in this drop</h2>
2029<h3>Problem Reports Fixed</h3>
2030<a href="">48818</a>
2031NPE in delta processor
2032<br><a href="">48711</a>
2033javadoc-warning if derived exception in @throws clause
2034<br><a href="">46040</a>
2035NPE in Eclipse console
2036<br><a href="">48725</a>
2037Cannot search for local vars in jars.
2038<br><a href="">48749</a>
2039[Compiler] deprecation check in initializer fooled by trailing deprecated field decl
2042<a name="v_392"></a>
2044Eclipse Platform Build Notes&nbsp;<br>
2045Java development tools core</h1>
2046Eclipse SDK 3.0M6 Build - 15th December 2003
2047<br>Project org.eclipse.jdt.core v_392
2048(<a href="">cvs</a>).
2050What's new in this drop</h2>
2052<li> Added option to avoid reporting a warning when overriding a deprecated method. By default, such
2053warnings are no longer reported.
2055 * COMPILER / Reporting Deprecation When Overriding Deprecated Method
2056 * When enabled, the compiler will signal the declaration of a method overriding a deprecated one.
2057 * The severity of the problem is controlled with option "org.eclipse.jdt.core.compiler.problem.deprecation".
2058 * - option id: "org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod"
2059 * - possible values: { "enabled", "disabled" }
2060 * - default: "disabled"
2062<li>Compiler options to signal problems with javadoc comments have been improved. User can now decide to report
2063independently problems on invalid tags (syntax and references), missing tags and missing comments.
2064Invalid references, missing tags or missing comments problem can be now ignored below a specific visibility level.
2065Finally, user will also have the possibility to ignore missing tags and missing comments on overriding methods
2066(assuming that complete Javadoc comments is done in superclass or interface declaration).
2068Here's the complete list of these options:
2070 * COMPILER / Reporting Invalid Javadoc Comment
2071 * This is the generic control for the severity of Javadoc problems.
2072 * When enabled, the compiler will issue an error or a warning for a problem in Javadoc.
2073 * - option id: "org.eclipse.jdt.core.compiler.problem.invalidJavadoc"
2074 * - possible values: { "error", "warning", "ignore" }
2075 * - default: "ignore"
2076 *
2077 * COMPILER / Visibility Level For Invalid Javadoc Tags
2078 * Set the minimum visibility level for Javadoc tag problems. Below this level problems will be ignored.
2079 * - option id: "org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility"
2080 * - possible values: { "public", "protected", "default", "private" }
2081 * - default: "private"
2082 *
2083 * COMPILER / Reporting Invalid Javadoc Tags
2084 * When enabled, the compiler will signal unbound or unexpected reference tags in Javadoc.
2085 * A 'throws' tag referencing an undeclared exception would be considered as unexpected.
2086 * <br>Note that this diagnosis can be enabled based on the visibility of the construct associated with the Javadoc;
2087 * also see the setting "org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility".
2088 * <br>
2089 * The severity of the problem is controlled with option "org.eclipse.jdt.core.compiler.problem.invalidJavadoc".
2090 * - option id: "org.eclipse.jdt.core.compiler.problem.invalidJavadocTags"
2091 * - possible values: { "disabled", "enabled" }
2092 * - default: "enabled"
2093 *
2094 * COMPILER / Reporting Missing Javadoc Tags
2095 * This is the generic control for the severity of Javadoc missing tag problems.
2096 * When enabled, the compiler will issue an error or a warning when tags are missing in Javadoc comments.
2097 * <br>Note that this diagnosis can be enabled based on the visibility of the construct associated with the Javadoc;
2098 * also see the setting "org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility".
2099 * <br>
2100 * - option id: "org.eclipse.jdt.core.compiler.problem.missingJavadocTags"
2101 * - possible values: { "error", "warning", "ignore" }
2102 * - default: "ignore"
2103 *
2104 * COMPILER / Visibility Level For Missing Javadoc Tags
2105 * Set the minimum visibility level for Javadoc missing tag problems. Below this level problems will be ignored.
2106 * - option id: "org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility"
2107 * - possible values: { "public", "protected", "default", "private" }
2108 * - default: "private"
2109 *
2110 * COMPILER / Reporting Missing Javadoc Tags on Overriding Methods
2111 * Specify whether the compiler will verify overriding methods in order to report Javadoc missing tag problems.
2112 * - option id: "org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding"
2113 * - possible values: { "enabled", "disabled" }
2114 * - default: "enabled"
2115 *
2116 * COMPILER / Reporting Missing Javadoc Comments
2117 * This is the generic control for the severity of missing Javadoc comment problems.
2118 * When enabled, the compiler will issue an error or a warning when Javadoc comments are missing.
2119 * <br>Note that this diagnosis can be enabled based on the visibility of the construct associated with the expected Javadoc;
2120 * also see the setting "org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility".
2121 * <br>
2122 * - option id: "org.eclipse.jdt.core.compiler.problem.missingJavadocComments"
2123 * - possible values: { "error", "warning", "ignore" }
2124 * - default: "ignore"
2125 *
2126 * COMPILER / Visibility Level For Missing Javadoc Comments
2127 * Set the minimum visibility level for missing Javadoc problems. Below this level problems will be ignored.
2128 * - option id: "org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility"
2129 * - possible values: { "public", "protected", "default", "private" }
2130 * - default: "public"
2131 *
2132 * COMPILER / Reporting Missing Javadoc Comments on Overriding Methods
2133 * Specify whether the compiler will verify overriding methods in order to report missing Javadoc comment problems.
2134 * - option id: "org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding"
2135 * - possible values: { "enabled", "disabled" }
2136 * - default: "enabled"
2137 *
2139Note that backward compatibility with previous options IDs: <code>"org.eclipse.jdt.core.compiler.problem.missingJavadoc"</code>
2140will be supported until 3.0M7 build and removed after.
2144<h3>Problem Reports Fixed</h3>
2145<a href="">47214</a>
2146Cannot open declaration on a selected method of an anonymous class
2147<br><a href="">47795</a>
2148NPE selecting method in anonymous 2 level deep
2149<br><a href="">48335</a>
2150[Compiler] Need option to not report deprecation in override scenarii
2151<br><a href="">48523</a>
2152@throws reference incorrectly warned as not declared
2153<br><a href="">47940</a>
2154Unable to control level of JavaDoc errors
2155<br><a href="">47319</a>
2156Compiler warns on missing Javadoc tags for private methods.
2157<br><a href="">46976</a>
2158Do not warn about 'Missing Javadoc' for overriding methods
2159<br><a href="">46854</a>
2160[DCR] Javadoc configuration setting needs more flexibility
2161<br><a href="">48617</a>
2162Error range for unresolved names in qualified references
2163<br><a href="">48333</a>
2164[Compiler] Implicit deprecation isn't propagated to anonymous type
2165<br><a href="">46084</a>
2166ArrayIndexOutOfBoundsException in compiler after feeding with non-real java code
2167<br><a href="">43354</a>
2168CodeAssist relevance should privilege package completion over type name
2169<br><a href="">48422</a>
2170Calling isStructureKnown() on ILocalVaraible throws JavaModelExceptions
2171<br><a href="">48261</a>
2172Search does not show results
2173<br><a href="">47213</a>
2174Inefficient recursion while initializing classpath container
2176<a name="v_391"></a>
2178Eclipse Platform Build Notes&nbsp;<br>
2179Java development tools core</h1>
2180Eclipse SDK 3.0M6 Build - 10th December 2003
2181<br>Project org.eclipse.jdt.core v_391
2182(<a href="">cvs</a>).
2184What's new in this drop</h2>
2186<li>We reverted back the behavior when using the class literal. See bugs <a href="">37565</a> and
2187<a href="">48086</a>. As long as javac doesn't clarify this case, we keep
2188the old behavior.</li>
2191<h3>Problem Reports Fixed</h3>
2192<a href="">48086</a>
2193Compiler does not resolve references in static init blocks correctly
2194<br><a href="">48353</a>
2195Indexes deleted on shutdown
2196<br><a href="">42579</a>
2197Eclipse allows setting a source folder's parent as output folder, which wipes out source code
2199<a name="v_390"></a>
2201Eclipse Platform Build Notes&nbsp;<br>
2202Java development tools core</h1>
2203Eclipse SDK 3.0M6 Build - 9th December 2003
2204<br>Project org.eclipse.jdt.core v_390
2205(<a href="">cvs</a>).
2207What's new in this drop</h2>
2209<li>The classpath validation rules now allow an excluded directory to be used as an output location.
2210Remember that a source folder can be associated with exclusion rules so as to eliminate portions of the
2211source tree. Nested source/library entries were already allowed given proper exclusion rules were specified,
2212now we also enable nesting an output folder as well under the same restrictions.
2216<h3>Problem Reports Fixed</h3>
2217<a href="">47338</a>
2218CCE in CompletionParser
2219<br><a href="">45589</a>
2220Too many Util classes in JDTCore
2221<br><a href="">39539</a>
2222Cannot select excluded directory as output folder for class files
2223<br><a href="">48070</a>
2224[CodeAssist] ArrayIndexOutOfBoundsException in AssistParster
2225<br><a href="">48167</a>
2226Indentation/line wrapping problems with array initializers
2227<br><a href="">32022</a>
2228Indirect static proposal: Wrong compiler positions
2229<br><a href="">48141</a>
2230Formatter: Java Conventions/WS/Expressions/Operators
2231<br><a href="">45157</a>
2232Source Formatter: Clear all Blank lines needs to have the ability to set a number of lines to keep.
2233<br><a href="">44673</a>
2235<br><a href="">38523</a>
2236so add "Insert new line after each parameter if line is too long" checkbox to Preferences &gt; Java &gt; Code Formatter &gt; New Lines
2237<br><a href="">34897</a>
2238Code Formatter feature request
2239<br><a href="">46937</a>
2240[Compiler] Marking a field deprecated still report deprecated usage
2241<br><a href="">47989</a>
2242Exception when searching for IPackageFragment ""
2243<br><a href="">47997</a>
2244No empty line after opening brace [formatter]
2245<br><a href="">48064</a>
2246Javadoc: NPE during build process
2247<br><a href="">44815</a>
2248Continuation indent for array initializer should be customizable
2249<br><a href="">44813</a>
2250Option "Insert new line before an open brace" should work also for array initializers
2251<br><a href="">43212</a>
2252catch variable not recognized by code-completion
2253<br><a href="">46060</a>
2254regression - content assist fails to present proposal
2255<br><a href="">47918</a>
2256New code Formatter
2257<br><a href="">47968</a>
2258Cannot find @see references in Class javadoc comment
2259<br><a href="">47909</a>
2260Javadoc: NPE while searching a constructor references in jdt-core
2261<br><a href="">47986</a>
2262Formatting of 'for' initializers
2263<br><a href="">47976</a>
2264Implementation of IField.getConstant() fails for some constants
2265<br><a href="">47886</a>
2266[Compiler] ACC_SUPER bit sets for interfaces
2268<a name="v_389"></a>
2270Eclipse Platform Build Notes&nbsp;<br>
2271Java development tools core</h1>
2272Eclipse SDK 3.0M6 Build - 2nd December 2003
2273<br>Project org.eclipse.jdt.core v_389
2274(<a href="">cvs</a>).
2276What's new in this drop</h2>
2278<li>Spec and implementation for <code>ITypeBinding.getBinaryName()</code> was changed to be '.' separated:
2280 /**
2281 * Returns the binary name of this type binding.
2282 * The binary name of a class is defined in the Java Language
2283 * Specification 2nd edition, section 13.1.
2284 *
2285 * Note that in some cases, the binary name may be unavailable.
2286 * This may happen, for example, for a local type declared in
2287 * unreachable code.
2288 *
2289 * @return the binary name of this type, or null
2290 * if the binary name is unknown
2291 * @since 3.0
2292 */
2293public String getBinaryName();
2298<h3>Problem Reports Fixed</h3>
2299<a href="">47881</a>
2300[Compiler] x &amp;&amp; false evaluates to "true"
2301<br><a href="">47802</a>
2302New Code Formatter: NEXT_PER_LINE_SPLIT
2303<br><a href="">47811</a>
2304New Code Formatter: doesn't handle several classes per CU
2305<br><a href="">47801</a>
2307<br><a href="">47800</a>
2309<br><a href="">47799</a>
2311<br><a href="">47776</a>
2312java.lang.VerifyError / Illegal target of jump or branch compiling with 3.0 M5
2313<br><a href="">47341</a>
2314Javadoc problem for @see to protected method
2315<br><a href="">47339</a>
2316Javadoc problem while using @see tag
2317<br><a href="">47132</a>
2318Javadoc for method in anonymous type should not be mark as missing
2319<br><a href="">47215</a>
2320Javadoc: type reference in @see tag ignore the following text
2321<br><a href="">46761</a>
2322Search for references: misses match in Javadoc
2323<br><a href="">46675</a>
2324[Compiler] NullPointerException with ? operator
2325<br><a href="">35220</a>
2326CodeAssist - method of anonymous type should not be proposed
2327<br><a href="">47631</a>
2328PerThreadObject (JavaModelManager.deltaState) leaks Threads.
2329<br><a href="">46470</a>
2330Wrong completion after a switch
2331<br><a href="">35232</a>
2332CodeAssist - wrong completion for static method in anonymous type
2333<br><a href="">47401</a>
2334Wrong code assist proposals in anonymous class
2335<br><a href="">47443</a>
2336All projects touched on startup
2337<br><a href="">44493</a>
2338Improve formatting of throws clauses
2339<br><a href="">44765</a>
2340New formatter not properly formatting long method invocation
2341<br><a href="">44653</a>
2342// $NON-NLS-1$ comments not kept on same line of the string while formatting
2343<br><a href="">46699</a>
2344IBinding.isSynthetic() returns false for compiler-generated constructor
2345<br><a href="">47415</a>
2346[Search] package references confused with multiple fragments
2347<br><a href="">38679</a>
2348Search for class ref shows local class containing a match on an import [search]
2349<br><a href="">47049</a>
2350[Builder] Build output folder not getting flushed because files are not marked as derived
2351<br><a href="">46613</a>
2352AST nodes and string buffers
2353<br><a href="">47396</a>
2354JAVA AST Creation failure
2356<a name="v_388"></a>
2358Eclipse Platform Build Notes&nbsp;<br>
2359Java development tools core</h1>
2360Eclipse SDK 3.0M6 Build - 25th November 2003
2361<br>Project org.eclipse.jdt.core v_388
2362(<a href="">cvs</a>).
2364What's new in this drop</h2>
2368<h3>Problem Reports Fixed</h3>
2369<a href="">47082</a>
2370[Compiler] Problem with final variable initialization
2371<br><a href="">47180</a>
2372Merge different type declarations into one class
2375<a name="v_387"></a>
2377Eclipse Platform Build Notes&nbsp;<br>
2378Java development tools core</h1>
2379Eclipse SDK 3.0M5 Build - 21st November 2003 - 3.0 MILESTONE-5
2380<br>Project org.eclipse.jdt.core v_387
2381(<a href="">cvs</a>).
2383What's new in this drop</h2>
2387<h3>Problem Reports Fixed</h3>
2388<a href="">44397</a>
2389Search doesn't find references to local types
2390<br><a href="">46571</a>
2391Searching for all occurrences for method declarated in local types doesn't wor
2392<br><a href="">46943</a>
2393refactoring: encapsulate field of local type: references from enclosing type are not replaced by setter
2394<br><a href="">47180</a>
2395NPE in Delta Processor
2396<br><a href="">46788</a>
2397Export scripts: shouldn't use variable name version
2398<br><a href="">47160</a>
2399ArrayIndexOutOfBoundsException from CodeSnippetParser
2400<br><a href="">47177</a>
2401ClassCastException during hover
2402<br><a href="">47079</a>
2403[Builder] suspicious side-effects during incremental compile
2405<a name="v_386"></a>
2407Eclipse Platform Build Notes&nbsp;<br>
2408Java development tools core</h1>
2409Eclipse SDK 3.0M5 Build - 20th November 2003
2410<br>Project org.eclipse.jdt.core v_386
2411(<a href="">cvs</a>).
2413What's new in this drop</h2>
2415<li>Removed APIs that create an <code>ICompilationUnit</code> handle given a <code>WorkingCopyOwner</code>
2416 as these can be replaced with <code>ICompilationUnit.findWorkingCopy(WorkingCopyOwner)</code>:
2417 <ul>
2418 <li><code>IPackageFragment.getCompilationUnit(String, WorkingCopyOwner)</code></li>
2419 <li><code>JavaCore.create(IFile, WorkingCopyOwner)</code></li>
2420 <li><code>JavaCore.create(IResource, WorkingCopyOwner)</code></li>
2421 <li><code>JavaCore.createCompilationUnitFrom(IFile, WorkingCopyOwner)</code></li>
2422 <li><code>IDOMCompilationUnit.getCompilationUnit(IPackageFragment, WorkingCopyOwner)</code></li>
2423 </ul>
2424 <br>
2426<li>Added API on <code>ICompilationUnit</code> to find an existing working copy given a working
2427 copy owner (it replaces <code>IWorkingCopy.findSharedWorkingCopy(IBufferFactory)</code>):
2430 * Finds the working copy for this compilation unit, given a <code>WorkingCopyOwner</code>.
2431 * If no working copy has been created for this compilation unit associated with this
2432 * working copy owner, returns <code>null</code>.
2433 *
2434 * Users of this method must not destroy the resulting working copy.
2435 *
2436 * @param owner the given <code>WorkingCopyOwner</code>
2437 * @return the found working copy for this compilation unit, <code>null</code> if none
2438 * @see WorkingCopyOwner
2439 * @since 3.0
2440 */
2441ICompilationUnit findWorkingCopy(WorkingCopyOwner owner);
2444<li>Added API on <code>IClassFile</code> to create a working copy on a class file (it replaces
2445 <code>IClassFile.getWorkingCopy(IProgressMonitor, IBufferFactory)</code>):
2448 * Returns a working copy on the source associated with this class file using the given
2449 * owner to create the buffer, or <code>null</code> if there is no source associated
2450 * with the class file.
2451 *
2452 * The buffer will be automatically initialized with the source of the class file
2453 * upon creation.
2454 *
2455 * The only valid operations on this working copy are <code>getBuffer()</code> or <code>getPrimary()</code>.
2456 *
2457 * @param owner the owner that creates a buffer that is used to get the content of the working copy
2458 * or <code>null</code> if the primary owner should be used
2459 * @param monitor a progress monitor used to report progress while opening this compilation unit
2460 * or <code>null</code> if no progress should be reported
2461 * @return a a working copy on the source associated with this class file
2462 * @exception JavaModelException if the source of this class file can
2463 * not be determined. Reasons include:
2464 * - This class file does not exist (ELEMENT_DOES_NOT_EXIST)
2465 * @since 3.0
2466 */
2467ICompilationUnit getWorkingCopy(WorkingCopyOwner owner, IProgressMonitor monitor) throws JavaModelException;
2470<li>Added API on <code>ITypeBinding</code> to get the binary name of a type binding:
2473 * Returns the binary name (as defined in the Java Language
2474 * Specification Chapter 13 Section 1) of this type binding.
2475 * It is however slash ('/') separated instead of dot ('.') separated as said
2476 * in the specification.
2477 * Returns <code>null</code> if the type is defined in code that is unreachable.
2478 *
2479 * @return the binary name of this type or <code>null</code> if this type is unreachable
2480 */
2481String getBinaryName();
2486<h3>Problem Reports Fixed</h3>
2487<a href="">46012</a>
2488IllegalArgumentException in StringLiteral
2489<br><a href="">46769</a>
2490NPE in PatternLocator.qualifiedSourceName
2491<br><a href="">47074</a>
2492inability to detect invalid cast between interfaces
2493<br><a href="">46057</a>
2494need mechanism for retrieving the name of anonymous and local classes
2496<a name="v_385"></a>
2498Eclipse Platform Build Notes&nbsp;<br>
2499Java development tools core</h1>
2500Eclipse SDK 3.0M5 Build - 19th November 2003
2501<br>Project org.eclipse.jdt.core v_385
2502(<a href="">cvs</a>).
2504What's new in this drop</h2>
2508<h3>Problem Reports Fixed</h3>
2509<a href="">46964</a>
2510Can not set Javadoc compiler setting
2511<br><a href="">46901</a>
2512Strange compile error in javadoc
2514<a name="v_384"></a>
2516Eclipse Platform Build Notes&nbsp;<br>
2517Java development tools core</h1>
2518Eclipse SDK 3.0M5 Build - 19th November 2003
2519<br>Project org.eclipse.jdt.core v_384
2520(<a href="">cvs</a>).
2522What's new in this drop</h2>
2524<li>Added API on <code>ICompilationUnit</code> to query whether the working copy's resource has changed
2525 (it replaces <code>IWorkingCopy.isBasedOn(IResource)</code>):
2528 * Returns whether the resource of this working copy has changed since the
2529 * inception of this working copy.
2530 * Returns <code>false</code> if this compilation unit is not in working copy mode.
2531 *
2532 * @return whether the resource has changed
2533 * @since 3.0
2534 */
2535public boolean hasResourceChanged();
2538<li>Added APIs on <code>IType</code> to create hierarchies using <code>ICompilationUnits</code> instead of
2539 <code>IWorkingCopies</code>:
2542 * Creates and returns a type hierarchy for this type containing
2543 * this type and all of its supertypes, considering types in the given
2544 * working copies. In other words, the list of working copies will take
2545 * precedence over their original compilation units in the workspace.
2546 *
2547 * Note that passing an empty working copy will be as if the original compilation
2548 * unit had been deleted.
2549 *
2550 * @param workingCopies the working copies that take precedence over their original compilation units
2551 * @param monitor the given progress monitor
2552 * @return a type hierarchy for this type containing this type and all of its supertypes
2553 * @exception JavaModelException if this element does not exist or if an
2554 * exception occurs while accessing its corresponding resource.
2555 * @since 3.0
2556 */
2557ITypeHierarchy newSupertypeHierarchy(ICompilationUnit[] workingCopies, IProgressMonitor monitor) throws JavaModelException;
2560 * Creates and returns a type hierarchy for this type containing
2561 * this type, all of its supertypes, and all its subtypes in the workspace,
2562 * considering types in the given working copies. In other words, the list of working
2563 * copies that will take precedence over their original compilation units in the workspace.
2564 *
2565 * Note that passing an empty working copy will be as if the original compilation
2566 * unit had been deleted.
2567 *
2568 * @param workingCopies the working copies that take precedence over their original compilation units
2569 * @param monitor the given progress monitor
2570 * @return a type hierarchy for this type containing
2571 * this type, all of its supertypes, and all its subtypes in the workspace
2572 * @exception JavaModelException if this element does not exist or if an
2573 * exception occurs while accessing its corresponding resource.
2574 * @since 3.0
2575 */
2576ITypeHierarchy newTypeHierarchy(ICompilationUnit[] workingCopies, IProgressMonitor monitor) throws JavaModelException;
2578<li>Added API on <code>SearchEngine</code> to create a search engine using
2579 <code>ICompilationUnits</code> instead of <code>IWorkingCopies</code>:
2582 * Creates a new search engine with a list of working copies that will take precedence over
2583 * their original compilation units in the subsequent search operations.
2584 *
2585 * Note that passing an empty working copy will be as if the original compilation
2586 * unit had been deleted.
2587 *
2588 * Since 3.0 the given working copies take precedence over primary working copies (if any).
2589 *
2590 * @param workingCopies the working copies that take precedence over their original compilation units
2591 * @since 3.0
2592 */
2593public SearchEngine(ICompilationUnit[] workingCopies) {...}
2598<h3>Problem Reports Fixed</h3>
2600<a name="v_383"></a>
2602Eclipse Platform Build Notes&nbsp;<br>
2603Java development tools core</h1>
2604Eclipse SDK 3.0M5 Build - 18th November 2003
2605<br>Project org.eclipse.jdt.core v_383
2606(<a href="">cvs</a>).
2608What's new in this drop</h2>
2610<li>To avoid confusion with annotations introduced in JDK 1.5 grammar, all internal references to "annotation" (added to handle Javadoc comments)
2611got renamed into "Javadoc". As a consequence of this is that IDs for optional Javadoc problems have been updated accordingly:
2613 * COMPILER / Reporting Invalid Javadoc Comment
2614 * When enabled, the compiler will issue an error or a warning when a javadoc comment is inconsistent,
2615 * misses a tag entry or contains invalid references.
2616 * - option id: "org.eclipse.jdt.core.compiler.problem.invalidJavadoc"
2617 * - possible values: { "error", "warning", "ignore" }
2618 * - default: "ignore"
2619 * COMPILER / Reporting Missing Javadoc Comment
2620 * When enabled, the compiler will signal cases where public class, interface, method, constructor or field
2621 * (considered as part of the API) has no javadoc comment.
2622 * The severity of the problem is controlled with option "org.eclipse.jdt.core.compiler.problem.invalidJavadoc".
2623 * - option id: "org.eclipse.jdt.core.compiler.problem.missingJavadoc"
2624 * - possible values: { "enabled", "disabled" }
2625 * - default: "disabled"
2627Note that backward compatibility with previous options IDs: <code>"org.eclipse.jdt.core.compiler.problem.invalidAnnotation"</code> and <code>"org.eclipse.jdt.core.compiler.problem.missingAnnotation"</code>
2628will be supported until 3.0M6 build and removed after.
2632<h3>Problem Reports Fixed</h3>
2633<a href="">46717</a>
2634The code formatter does not insert a new line before /** Javadoc
2635<br><a href="">45958</a>
2636Compiler wrongly complains against valid @see constructor reference
2637<br><a href="">45112</a>
2638Use Javadoc instead of Annotation for comment compiler parsing
2639<br><a href="">46052</a>
2640result of ITypeHierarchy.getAllSuperTypes() does not include Object
2641<br><a href="">46192</a>
2642ILocalVariable.exists() always returns false
2643<br><a href="">14103</a>
2644[Builder] Too many dependents found when incrementally recompiling
2645<br><a href="">39601</a>
2646[DOM/AST] clarify documentation of source ranges
2647<br><a href="">39739</a>
2648[DOM/AST] VariableDeclarationStatements aren't full statements
2649<br><a href="">46690</a>
2650Code formatter always inserts space after comma in multiple locals or field declarations
2651<br><a href="">46689</a>
2652Code formatter always inserts a space in front of the '-' unary operator
2653<br><a href="">46686</a>
2654Code formatter doesn't indent properly statements following a switch statement
2655<br><a href="">46356</a>
2656[Builder] simple/qualified names list for indicting dependents should be hashed collections
2657<br><a href="">46612</a>
2658[DOM/AST] BodyDeclaration should provide a method getModifiers
2660<a name="v_382"></a>
2662Eclipse Platform Build Notes&nbsp;<br>
2663Java development tools core</h1>
2664Eclipse SDK 3.0M5 Build - 10th November 2003
2665<br>Project org.eclipse.jdt.core v_382
2666(<a href="">cvs</a>).
2668What's new in this drop</h2>
2672<h3>Problem Reports Fixed</h3>
2673<a href="">46276</a>
2674Search for package declarations incorrectly finds matches in clone project
2675<br><a href="">46099</a>
2676Batch compiler doesn't print stats if errors and not proceeding on errors
2677<br><a href="">40950</a>
2678[infrastructure] NPE from indexer
2679<br><a href="">46150</a>
2680formatter failed to format
2681<br><a href="">46013</a>
2682IBinding.getKey() for local shouldn't return null
2683<br><a href="">46033</a>
2684New formatter not formatting nested constructor/methods properly
2685<br><a href="">46093</a>
2686[Builder] Unoptimal pre-check for not writing class files
2687<br><a href="">45847</a>
2688[Builder] Reading build state is slow
2689<br><a href="">45982</a>
2690Array out of bounds error while editing Java file
2691<br><a href="">41611</a>
2692CreateCompilationUnitOperation.executeOperation() should probably force creation more agressively
2693<br><a href="">45113</a>
2694No hierarchy refresh when on region
2697<a name="v_381"></a>
2699Eclipse Platform Build Notes&nbsp;<br>
2700Java development tools core</h1>
2701Eclipse SDK 3.0M5 Build - 4th November 2003
2702<br>Project org.eclipse.jdt.core v_381
2703(<a href="">cvs</a>).
2705What's new in this drop</h2>
2709<h3>Problem Reports Fixed</h3>
2710<a href="">45968</a>
2711[new formatter] Formatter introduces empty lines inside line comments
2712<br><a href="">44450</a>
2713Strange name range for anonymous classes.
2714<br><a href="">43139</a>
2715Delete member in Outliner not working
2716<br><a href="">45944</a>
2717Stack trace attempting to find markers on a closed project
2718<br><a href="">44884</a>
2719Wrong list displayed while code completion
2720<br><a href="">45661</a>
2721Search for references of default package fails
2722<br><a href="">45671</a>
2723Need source range and getTypeSignature() for local variables
2724<br><a href="">45575</a>
2725Failure in nightly build of formatter tests (test325)
2726<br><a href="">45783</a>
2727NPE in MatchLocator
2728<br><a href="">22073</a>
2729Each "format" adds one more level of indentation.
2730<br><a href="">23709</a>
2731for (/*comment*/; causes indentation to misbehave
2732<br><a href="">27249</a>
2733incorrect formatting of empty array initialization blocks
2734<br><a href="">29473</a>
2735wrong formatting of if...try... catch... else
2736<br><a href="">45786</a>
2737No selection on method declaration in field initializer
2738<br><a href="">45721</a>
2739Getting wrong deltas
2740<br><a href="">45674</a>
2741Compiler should allow compound assignment to final in unreachable code
2742<br><a href="">43984</a>
2743NPE in background search
2744<br><a href="">45707</a>
2745Autobuild does not kick in when using classpath containers
2746<br><a href="">45655</a>
2747exception while editing java file
2748<br><a href="">42287</a>
2749Should consider qualified name token positions
2751<a name="v_380"></a>
2753Eclipse Platform Build Notes&nbsp;<br>
2754Java development tools core</h1>
2755Eclipse SDK 3.0M5 Build - 28th October 2003
2756<br>Project org.eclipse.jdt.core v_380
2757(<a href="">cvs</a>).
2759What's new in this drop</h2>
2761<li>Search is now able to find local variable references and declarations. In order to trigger such a search, the search engine must
2762 be fed with an <code>ILocalVariable</code> element. Searching a local variable by its name is not supported.
2764<li>Search is now finding references in Javadoc comments. Found references are method parameters declared in <code>@param</code> tags,
2765 types of exceptions declared in <code>@throws</code>/<code>@exception</code> tags and all instance variables, methods, types or
2766 packages declared in <code>@see</code> tags.
2767 <br>Note that only valid references in Javadoc comments will be reported during search. In order to ensure the integrity of your Javadoc comments,
2768 you may want to enable the compiler check for Javadoc (Preferences&gt;Java&gt;Compiler&gt;Style&gt;Problem in Javadoc tags).
2772<h3>Problem Reports Fixed</h3>
2773<a href="">45641</a>
2774CCE when using declarations view
2775<br><a href="">45596</a>
2776Wrongly complains about missing parameter javadoc entry in anonymous class
2777<br><a href="">45592</a>
2778NPE while searching a method references in jdt-core
2779<br><a href="">45520</a>
2780Potential NPE
2781<br><a href="">45518</a>
2782Search has to find references put in javadoc comments
2783<br><a href="">45436</a>
2784Javadoc warnings: wrong errors in AST
2785<br><a href="">45198</a>
2786NPE from AnnotationParser
2787<br><a href="">45459</a>
2788JDT compiler more restrictive than javac
2789<br><a href="">35899</a>
2790"hierarchy of type ... inconsistent" error message wrong
2791<br><a href="">43967</a>
2792Search for references on local variable finds all occurances of variables of that type not just that variable.
2793<br><a href="">37509</a>
2794Open Declaration opens class declaration for local variables
2795<br><a href="">45433</a>
2796Bug7 (and counting ;-): hundretAssignmentsToFinalVariable()
2797<br><a href="">45357</a>
2798Compiler-Bug: "The local variable oResult may not have been initialized".txt
2800<a name="v_379"></a>
2802Eclipse Platform Build Notes&nbsp;<br>
2803Java development tools core</h1>
2804Eclipse SDK 3.0M5 Build - 21st October 2003
2805<br>Project org.eclipse.jdt.core v_379
2806(<a href="">cvs</a>).
2808What's new in this drop</h2>
2810<li> Compiler options for controlling the severity of problems for invalid imports or unreachable code got discontinued. Indeed, allowing this kind of problems to be ignored
2811or treated as a warning would violate the language spec. As a consequence, <code>JavaCore#COMPILER_PB_INVALID_IMPORT</code> and
2812<code>JavaCore#COMPILER_PB_UNREACHABLE_CODE</code> got deprecated,
2813further attempts to set these preferences are now ignored and import problems or unreachable code are always reported as errors.
2814<li> The warning level of the batch compiler can now be configured more easily using <code>-warn:+...</code> or <code>-warn:-...</code> command line
2815argument (as opposed to only existing <code>-warn:...</code> command line argument).
2816<code>-warn:+...</code> will not override the default warning level, but simply enable
2817a few more specific warnings. Similarily, <code>-warn:-...</code> will only disable specific warnings.
2818<br>Note, by default the batch compiler is reporting the following warnings:
2819 <ul>
2820 <li>'assert' used as identifier</li>
2821 <li>char[] in String concat</li>
2822 <li>method with constructor name</li>
2823 <li>deprecation outside deprecated code</li>
2824 <li>finally block not completing normally</li>
2825 <li>interface non-inherited method compatibility</li>
2826 <li>hidden catch block</li>
2827 <li>assignment without effect</li>
2828 <li>attempt to override package-default method</li>
2829 <li>unused import declaration</li>
2830 <li>non-static reference to static member</li>
2831 </ul>
2833<li>Code select (i.e. <code>ICodeAssit.codeSelect(...)</code>) now returns an <code>ILocalVariable</code>
2834 element when a local variable or an argument is selected.
2835 <br>Note that <code>ILocalVariable</code>s are pseudo-elements:
2836 they are not part of the Java model (<code>exists()</code> always returns <code>false</code>),
2837 they are not returned when asking for the children of a method, and there is no other way to create such
2838 an element. One can only ask for the source range (<code>ISourceReference.getSourceRange()</code>) or
2839 for the name range (<code>ILocalVariable.getNameRange()</code>) of the local variable.
2840 <br>Searching a local variable is not yet implemented, but it is on the plan.
2844<h3>Problem Reports Fixed</h3>
2845<a href="">35389</a>
2846Compiler settings can violate JLS [build path]
2847<br><a href="">44869</a>
2848Search: no refs found to overridden method in binary subclass
2849<br><a href="">45110</a>
2850No constant for '..compiler.problem.missingAnnotation'
2851<br><a href="">45100</a>
2852[formatter] test144 fails
2853<br><a href="">45036</a>
2854[formatter] New formatter fails formatting multiple field declarations using K_CLASSBODY_DECLARATION kind
2855<br><a href="">45037</a>
2856[formatter] New formatter doesn't insert a new line before the while in a do/while
2857<br><a href="">45014</a>
2858Formatter misplaces semicolon
2859<br><a href="">44757</a>
2860New code formatter does not format switch statements correctly
2861<br><a href="">44647</a>
2862NPE code completion
2863<br><a href="">43754</a>
2864How to position this comment?
2865<br><a href="">44839</a>
2866New formater fails with out of memory error
2868<a name="v_378"></a>
2870Eclipse Platform Build Notes&nbsp;<br>
2871Java development tools core</h1>
2872Eclipse SDK 3.0M5 Build - 15th October 2003
2873<br>Project org.eclipse.jdt.core v_378
2874(<a href="">cvs</a>).
2876What's new in this drop</h2>
2878<li> Removed dependency on Xerces.
2880<li> Remove deprecated previously added API <code>IJavaProject#forceClasspathReload(IProgressMonitor)</code>
2881(see comment of <a href="#v_368">v_368</a> drop below).
2883<li>Added optional compiler problem to signal problems with javadoc annotation.
2885 * COMPILER / Reporting Invalid Javadoc Annotation
2886 * When enabled, the compiler will issue an error or a warning when a javadoc annotation is inconsistent,
2887 * misses a tag entry or contains invalid references.
2888 * - option id: "org.eclipse.jdt.core.compiler.problem.invalidAnnotation"
2889 * - possible values: { "error", "warning", "ignore" }
2890 * - default: "ignore"
2891 * COMPILER / Reporting Missing Javadoc Annotation
2892 * When enabled, the compiler will signal cases where public class, interface, method, constructor or field
2893 * (considered as part of the API) has no javadoc annotation.
2894 * The severity of the problem is controlled with option "org.eclipse.jdt.core.compiler.problem.invalidAnnotation".
2895 * - option id: "org.eclipse.jdt.core.compiler.problem.missingAnnotation"
2896 * - possible values: { "enabled", "disabled" }
2897 * - default: "disabled"
2898 *
2903<h3>Problem Reports Fixed</h3>
2904<a href="">44715</a>
2905NullPointerException compiling Java file
2906<br><a href="">44697</a>
2907Bug when i search reference of 'String' in 3.0M4
2908<br><a href="">38091</a>
2909DCR - Generate warnings for JavaDoc missing entries
2910<br><a href="">44637</a>
2911NPE in Initializer.getPrimaryElement()
2912<br><a href="">42762</a>
2913Compiler tests should run both in 1.3 and 1.4 mode
2914<br><a href="">44580</a>
2915No outline when unit name is not valid
2916<br><a href="">44651</a>
2917Wrong formatting of multiple local variables declarations
2918<br><a href="">44643</a>
2919Remove dependancy to xerces
2920<br><a href="">44662</a>
2921Should not validate unit/classfile handles upon creation
2922<br><a href="">44400</a>
2923Unnecessary cast not being picked up
2924<br><a href="">44143</a>
2925[JSR202] Remove usage of jsr bytecodes in 1.5 mode
2927<a name="v_377"></a>
2929Eclipse Platform Build Notes&nbsp;<br>
2930Java development tools core</h1>
2931Eclipse SDK 3.0M4 Build - 9th October 2003 - 3.0 MILESTONE-4
2932<br>Project org.eclipse.jdt.core v_377
2933(<a href="">cvs</a>).
2935What's new in this drop</h2>
2939<h3>Problem Reports Fixed</h3>
2940<a href="">44576</a>
2941Code formatter option "Insert a new line before an opening brace" has no effect for single else
2942<br><a href="">44570</a>
2943Code formatter option "Insert a new line inside an empty block" has no effect
2944<br><a href="">44503</a>
2945Unoptimal formatting for long constructor argument
2946<br><a href="">44546</a>
2947New formatter unable to format
2948<br><a href="">44506</a>
2949Type hierarchy is missing anonymous type
2950<br><a href="">44481</a>
2951"Insert new line between else and if" is not working as expected
2952<br><a href="">44480</a>
2953Formatting the formatted string should not produce edits
2954<br><a href="">44444</a>
2955jdt.core in trouble when project has no JRE
2956<br><a href="">44437</a>
2957Typo in
2959<a name="v_376"></a>
2961Eclipse Platform Build Notes&nbsp;<br>
2962Java development tools core</h1>
2963Eclipse SDK 3.0M4 Build - 8th October 2003