blob: daf925ba3561d8182103766be672d5d9954dc006 [file] [log] [blame]
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="IBM">
<meta name="GENERATOR" content="Mozilla/4.75 [en] (Windows NT 5.0; U) [Netscape]">
<title>JDT/Core Release Notes</title>
</head>
<body>
<body text="#000000" bgcolor="#FFFFFF">
&nbsp;
<table border=0 cellspacing=5 cellpadding=2 width="100%" >
<tr>
<td align=left width="72%">
<font face="Verdana, Arial, Helvetica" size="+3"><b>jdt core - build notes 3.0 stream</b></font>
<br><font face="Arial, Helvetica, sans-serif" size="-2" color="#8080ff">java development tooling core</font></td>
</tr>
<tr><td>&nbsp;</td></tr>
<tr>
<td>
<font face="Arial, Helvetica, sans-serif" size="-1">
Here are the build notes for the Eclipse JDT/Core plug-in project
<a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/jdt-core-home/main.html"><b>org.eclipse.jdt.core</b></a>,
describing <a href="http://bugs.eclipse.org/bugs" target=new>bug</a> resolution and substantial changes in the <a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core"><b>HEAD</b></a> branch.
This present document covers all changes since Release 2.1 (also see a summary of <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.jdt.core/notes/API_changes.html">API changes</a>).
Older changes which occurred up to Release 2.1 can be found in
<a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.jdt.core/notes/R21_buildnotes_jdt-core.html">build notes R2.1</a>.
</font>
</td>
</tr>
</table>
<!--
<li> Plugin version ID got incremented to 3.0.0.
</li>
-->
<p><hr><h1>
Eclipse Platform Build Notes&nbsp;<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.0 Build - 18th June 2003
<br>Project org.eclipse.jdt.core v_357b
<h2>
What's new in this drop</h2>
<ul>
<li>backport index manager deadlock fix on top of v_357</li>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38901">38901</a>
IndexManager hangs in end-less loop
<h3>Problem Reports Closed</h3>
<p><hr><h1>
Eclipse Platform Build Notes&nbsp;<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.0 Build - 16th June 2003
<br>Project org.eclipse.jdt.core v_358
<p><b>NOTE:</b> This version got backed out due to severe regression
(see <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38951">38951</a> NPE in editor while saving contents).
Until subsequent version is made available (see above), integration builds will revert to previous version (v_357).
<h2>
What's new in this drop</h2>
<ul>
<li><code>JavaCore.newLibraryEntry(...)</code> will now allow an empty source attachment (<code>new Path("")</code>) to
be equivalent to no source attachment (i.e. <code>null</code>). This adjustment is made necessary for
library entries generated from classpath variables which cannot be set to <code>null</code>. Also see
bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38531">38531</a>.
<pre>
* @param sourceAttachmentPath the absolute path of the corresponding source archive or folder,
* or <code>null</code> if none. Note, since 3.0, an empty path is allowed to denote no source attachment.
* and will be automatically converted to <code>null</code>.
</pre>
</li>
<li>Added API <code>IJavaProject#forceClasspathReload(IProgressMonitor)</code> to force reload of <code>.classpath</code> file
before next automatic update occurs.
<pre>
/**
* Force the project to reload its <code>.classpath</code> file from disk and update the classpath accordingly.
* Usually, a change to the <code>.classpath</code> file is automatically noticed and reconciled at the next
* resource change notification event. If required to consider such a change prior to the next automatic
* refresh, then this functionnality should be used to trigger a refresh. In particular, if a change to the file is performed,
* during an operation where this change needs to be reflected before the operation ends, then an explicit refresh is
* necessary.
*
* @param monitor a progress monitor for reporting operation progress
* @exception JavaModelException if the classpath could not be updated. Reasons
* include:
* - This Java element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
* - Two or more entries specify source roots with the same or overlapping paths (NAME_COLLISION)
* - A entry of kind <code>CPE_PROJECT</code> refers to this project (INVALID_PATH)
* - This Java element does not exist (ELEMENT_DOES_NOT_EXIST)</li>
* - The output location path refers to a location not contained in this project (<code>PATH_OUTSIDE_PROJECT</code>)
* - The output location path is not an absolute path (<code>RELATIVE_PATH</code>)
* - The output location path is nested inside a package fragment root of this project (<code>INVALID_PATH</code>)
* - The classpath is being modified during resource change event notification (CORE_EXCEPTION)
* @since 3.0
*/
</pre>
</li>
<li>In the process of closing the gap between compilation units and working copies
(see <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36888 ">bug 36888 </a>), the following new APIs
are added to <code>ICompilationUnit</code>:
<ul>
<li><pre>
/**
* Changes this compilation unit handle into a working copy. A new IBuffer is
* created using this compilation unit handle's owner. Uses the primary owner is none was
* specified when this compilation unit handle was created.
*
* When switching to working copy mode, problems are reported to given
* IProblemRequestor.
*
* Once in working copy mode, changes to this compilation unit or its children are done in memory.
* Only the new buffer is affected. Using commitWorkingCopy(boolean, IProgressMonitor)
* will bring the underlying resource in sync with this compilation unit.
*
* If this compilation unit was already in working copy mode, an internal counter is incremented and no
* other action is taken on this compilation unit. To bring this compilation unit back into the original mode
* (where it reflects the underlying resource), discardWorkingCopy must be call as many
* times as becomeWorkingCopy.
*
* @param problemRequestor a requestor which will get notified of problems detected during
* reconciling as they are discovered. The requestor can be set to null indicating
* that the client is not interested in problems.
* @param monitor a progress monitor used to report progress while opening this compilation unit
* or null if no progress should be reported
* @exception JavaModelException if this compilation unit could not become a working copy.
* @see discardWorkingCopy
* @since 3.0
*/
void becomeWorkingCopy(IProblemRequestor problemRequestor, IProgressMonitor monitor) throws JavaModelException;
</pre></li>
<li><pre>
/**
* Commits the contents of this working copy to its underlying resource.
*
* It is possible that the contents of the original resource have changed
* since this working copy was created, in which case there is an update conflict.
* The value of the force parameter effects the resolution of
* such a conflict:
* - true - in this case the contents of this working copy are applied to
* the underlying resource even though this working copy was created
* before a subsequent change in the resource
* - false - in this case a JavaModelException is thrown
*
* Since 2.1, a working copy can be created on a not-yet existing compilation
* unit. In particular, such a working copy can then be committed in order to create
* the corresponding compilation unit.
*
* @param force a flag to handle the cases when the contents of the original resource have changed
* since this working copy was created
* @param monitor the given progress monitor
* @exception JavaModelException if this working copy could not commit. Reasons include:
* - A CoreException occurred while updating an underlying resource
* - This element is not a working copy (INVALID_ELEMENT_TYPES)
* - A update conflict (described above) (UPDATE_CONFLICT)
* @since 3.0
*/
void commitWorkingCopy(boolean force, IProgressMonitor monitor) throws JavaModelException;
</pre></li>
<li><pre>
/**
* Changes this compilation unit in working copy mode back to its original mode.
*
* This has no effect if this compilation unit was not in working copy mode.
*
* If becomeWorkingCopy was called several times on this
* compilation unit, discardWorkingCopy must be called as
* many times before it switches back to the original mode.
*
* @see becomeWorkingCopy
* @exception JavaModelException if this working copy could not return in its original mode.
* @since 3.0
*/
void discardWorkingCopy() throws JavaModelException;
</pre></li>
<li><pre>
/**
* Returns the working copy owner of this working copy.
* Returns null if it is not a working copy or if it has no owner.
*
* @return WorkingCopyOwner the owner of this working copy or null
* @since 3.0
*/
WorkingCopyOwner getOwner();
</pre></li>
<li><pre>
/**
* Returns a new working copy of this element if this element is not
* a working copy, or this element if this element is already a working copy.
*
* Note: if intending to share a working copy amongst several clients, then
* getWorkingCopy(WorkingCopyOwner, IProblemRequestor, IProgressMonitor)
* should be used instead.
*
* When the working copy instance is created, an ADDED IJavaElementDelta is
* reported on this working copy.
*
* Since 2.1, a working copy can be created on a not-yet existing compilation
* unit. In particular, such a working copy can then be committed in order to create
* the corresponding compilation unit.
*
* @param monitor a progress monitor used to report progress while opening this compilation unit
* or null if no progress should be reported
* @exception JavaModelException if the contents of this element can
* not be determined.
* @return a new working copy of this element if this element is not
* a working copy, or this element if this element is already a working copy
* @since 3.0
*/
ICompilationUnit getWorkingCopy(IProgressMonitor monitor) throws JavaModelException;
</pre></li>
<li><pre>
/**
* Returns a shared working copy on this element using the given working copy owner to create
* the buffer, or this element if this element is already a working copy.
* This API can only answer an already existing working copy if it is based on the same
* original compilation unit AND was using the same working copy owner (that is, as defined by Object.equals).
*
* The life time of a shared working copy is as follows:
* - The first call to getWorkingCopy(WorkingCopyOwner, IProblemRequestor, IProgressMonitor)
* creates a new working copy for this element
* - Subsequent calls increment an internal counter.
* - A call to discardWorkingCopy() decrements the internal counter.
* - When this counter is 0, the working copy is discarded.
*
* So users of this method must discard exactly once the working copy.
*
* Note that the working copy owner will be used for the life time of this working copy, that is if the
* working copy is closed then reopened, this owner will be used.
* The buffer will be automatically initialized with the original's compilation unit content
* upon creation.
*
* When the shared working copy instance is created, an ADDED IJavaElementDelta is reported on this
* working copy.
*
* Since 2.1, a working copy can be created on a not-yet existing compilation
* unit. In particular, such a working copy can then be committed in order to create
* the corresponding compilation unit.
*
* @param owner the working copy owner that creates a buffer that is used to get the content
* of the working copy
* @param problemRequestor a requestor which will get notified of problems detected during
* reconciling as they are discovered. The requestor can be set to null indicating
* that the client is not interested in problems.
* @param monitor a progress monitor used to report progress while opening this compilation unit
* or null if no progress should be reported
* @exception JavaModelException if the contents of this element can
* not be determined.
* @return a new working copy of this element using the given factory to create
* the buffer, or this element if this element is already a working copy
* @since 3.0
*/
ICompilationUnit getWorkingCopy(WorkingCopyOwner owner, IProblemRequestor problemRequestor, IProgressMonitor monitor) throws JavaModelException;
</pre></li>
</ul>
And the following abstract class replaces <code>IBufferFactory</code>:
<pre>
/**
* The owner of an ICompilationUnit handle in working copy mode.
* An owner is used to identify a working copy and to create its buffer.
*
* @see ICompilationUnit#becomeWorkingCopy
* @see ICompilationUnit#discardWorkingCopy
* @since 3.0
*/
public abstract class WorkingCopyOwner {
/**
* Creates a buffer for the given working copy.
* The new buffer will be initialized with the contents of the underlying file
* if and only if it was not already initialized by the compilation owner (a buffer is
* uninitialized if its content is null).
*
* @param workingCopy the working copy of the buffer
* @return IBuffer the created buffer for the given working copy
* @see IBuffer
*/
public IBuffer createBuffer(ICompilationUnit workingCopy) {
...
}
}
</pre>
</li>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38901">38901</a>
IndexManager hangs in end-less loop
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38908">38908</a>
Ant script reports that the bootclasspath cannot be infer
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38531">38531</a>
IllegalArgumentException "Source attachment path should be absolute"
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38424">38424</a>
Mistake on Web site
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38732">38732</a>
organize imports does not work with assert in source code
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38447">38447</a>
AST: Source ranges with missing bracket
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36854">36854</a>
NPE opening type hierarchy
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=33530">33530</a>
JavaModel synchronization model should be more optimistic
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=20931">20931</a>
Need an API to reload the classpath from the file
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38393">38393</a>
bytecode generated for evaluation with parentheses is wrong
<h3>Problem Reports Closed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38977">38977</a>
Deadlock on index manager while shutting down target eclipse
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38873">38873</a>
Compilation Units which aren't any.
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=7294">7294</a>
StackOverflowException during IType.getFields()
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36777">36777</a>
refreshing a library results in jzentry==0 failure message
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38766">38766</a>
Would like the Compiler to ignore the serialVersionUID
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38763">38763</a>
Unexpected NLS problem
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38441">38441</a>
Allow src folder exclusion filters with no path that exclude all files of a certain type
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38702">38702</a>
Compiler generates illegal bytecode in switch statement. VerifyError.
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38688">38688</a>
exception in the console window
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38163">38163</a>
NPE while building type hierarchy
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37949">37949</a>
NPE from SourceTypeConverter
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37804">37804</a>
NPE when opening class
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38607">38607</a>
Refresh does not capture changes in jar files
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38674">38674</a>
3.0 M1 - Preserve unused local variables doesn't seem to work
<p><hr><h1>
Eclipse Platform Build Notes&nbsp;<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.0 Build - 5th June 2003 - 3.0 MILESTONE-1
<br>Project org.eclipse.jdt.core v_357
<h2>
What's new in this drop</h2>
<ul>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37274">37274</a>
Deadlock on plugin import
<h3>Problem Reports Closed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38398">38398</a>
Deadlock importing binaries
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38398">38509</a>
deadlock on importing plugins
<p><hr><h1>
Eclipse Platform Build Notes&nbsp;<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.0 Build - 4th June 2003 - 3.0 MILESTONE-1
<br>Project org.eclipse.jdt.core v_356
<h2>
What's new in this drop</h2>
<ul>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38362">38362</a>
Inconsistent output when using comparrisson operators
<h3>Problem Reports Closed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37417">37417</a>
faster method to clean output folder
<p><hr><h1>
Eclipse Platform Build Notes&nbsp;<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.0 Build - 3rd June 2003
<br>Project org.eclipse.jdt.core v_355
<h2>
What's new in this drop</h2>
<ul>
<li>Fix for bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37111">37111</a> may issue some outgoing changes
to .classpath file since the source attachment will be shortened into a project relative path when applicable. The .classpath file
is still backward compatible, and will continue to accept non relative source attachments as well. </li>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37111">37111</a>
classpath file - java source attachment shouldn't hardcode project name
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38143">38143</a>
this = null; should raise compile time error
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38124">38124</a>
Brackets around cast accepted by Eclipse but not javac
<h3>Problem Reports Closed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38282">38282</a>
Multiple Java Build Paths
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38235">38235</a>
Variables should be allowed to contain other variables/lists
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38345">38345</a>
VerifyError, Inconsistent stack height with try/switch/if combination
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38172">38172</a>
Non-deprecated classes in jar files are marked as deprecated
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38152">38152</a>
Java Compiler Error with method visibility
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38146">38146</a>
NPE in compiler
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38133">38133</a>
Strange behaviour of task "Nested block depth ...."
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37376">37376</a>
Adding access to parser errors in org.eclipse.jdt.core.jdom
<p><hr><h1>
Eclipse Platform Build Notes&nbsp;<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.0 Build - 26th May 2003
<br>Project org.eclipse.jdt.core v_354
<h2>
What's new in this drop</h2>
<ul>
<li>Added <code>JavaCore</code> optional problem to detect incompatible required binaries, so as to flag situations where
some prerequisite binaries are required a JRE level higher than the project target platform; i.e. compiling against 1.4 libraries
when deploying for 1.1 platform is likely unwanted.
<pre>
* JAVACORE / Reporting Incompatible JDK Level for Required Binaries
* Indicate the severity of the problem reported when a project prerequisites another project
* or library with an incompatible target JDK level (e.g. project targeting 1.1 vm, but compiled against 1.4 libraries).
* - option id: "org.eclipse.jdt.core.incompatibleJDKLevel"
* - possible values: { "error", "warning", "ignore" }
* - default: "ignore"
</pre>
</li>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37750">37750</a>
incorrect handle identifier for IImportContainer
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36674">36674</a>
compiler can generate Java 1.4-only bytecode regardless of compatibility settings
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37962">37962</a>
Unexpected transient problem during reconcile
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37166">37166</a>
NPE in SearchEngine when matching type against ProblemReferenceBinding
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37438">37438</a>
searchenging NPE in searchDeclarationsOfReferencedTypes
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37779">37779</a>
ExceptionInInitializerError when using JDTCompilerAdapter
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36307">36307</a>
JDK1.4.2: Wrong declaring class for clone method on array class
<h3>Problem Reports Closed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=38043">38043</a>
NPE during rebuild of Java source file
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37940">37940</a>
SerialVersionUID conflict between eclipse and ANT based compilations
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37417">37417</a>
faster method to clean output folder
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=30530">30530</a>
Search returns most exact matches as inexact
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37876">37876</a>
Assertion failure when making a search references
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36332">36332</a>
can't attach more than one source dir to a jar
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36211">36211</a>
REGRESSION: VerifyError
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37548">37548</a>
Array protected methods should use array type as receiver type in bytecodes
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37840">37840</a>
NPE in DeltaProcessor using latest JDT/Core version v_353
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37801">37801</a>
JDT compiler bug ?
<p><hr><h1>
Eclipse Platform Build Notes&nbsp;<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.0 Build - 19th May 2003
<br>Project org.eclipse.jdt.core v_353
<h2>
What's new in this drop</h2>
<ul>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37621">37621</a>
java compiler creates class with internal inconsistency
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37646">37646</a>
Help for JDTCompilerAdapter is dated
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36894">36894</a>
JobManager could wait when idle
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37541">37541</a>
Unoptimal deprecation diagnosis
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37565">37565</a>
JACKS: Class literal should not cause class initialization
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37503">37503</a>
Compiler does not take care of exclusion filter
<h3>Problem Reports Closed</h3>
<p><hr><h1>
Eclipse Platform Build Notes&nbsp;<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.0 Build - 13th May 2003
<br>Project org.eclipse.jdt.core v_352
<h2>
What's new in this drop</h2>
<ul>
<li>Lowered default severity of field/local variable hiding optional diagnosis to <code>"ignore"</code>.
</li>
<li>Lowered default severity of accidental boolean assignment optional diagnosis to <code>"ignore"</code>.
</li>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37501">37501</a>
VerifyError with assert when optimizing out unused local variables
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37387">37387</a>
Compiler generates unnecessary byte codes
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37381">37381</a>
AST: Wrong source ranges on VariableDeclExpression
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37200">37200</a>
"Source->Generate Delegate Methods..." fails
<h3>Problem Reports Closed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37526">37526</a>
compiler message: ... is out of range
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37296">37296</a>
Eclipse compiler error - ambiguous method call
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37426">37426</a>
NPE while compiling
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37328">37328</a>
class incompatability compiling within/outside of eclipse
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37122">37122</a>
non-existent import flaged as "not used" instead of "not found"
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37247">37247</a>
invalid byte code: java.lang.VerifyError
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37168">37168</a>
Task tag produces two tasks when next to a closing brace
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37051">37051</a>
getNonJavaResources() should return an array of IResource
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36819">36819</a>
AST: binding of a anonymous class constructor
<p><hr><h1>
Eclipse Platform Build Notes&nbsp;<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.0 Build - 29th April 2003
<br>Project org.eclipse.jdt.core v_351
<h2>
What's new in this drop</h2>
<ul>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=37040">37040</a>
VerifyError "Illegal target of jump or branch"
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36490">36490</a>
Java compiler misses dependency on 'static final' class variables
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36814">36814</a>
NaiveASTFlattener does not serialize try-finally statements correctly
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36772">36772</a>
AST: CompilationUnit.findDeclaringNode: Spec/Impl not same
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36711">36711</a>
Resource duplication message should list location of duplicate
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36718">36718</a>
Compiler should not generate references to classes not on the classpath
<h3>Problem Reports Closed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36880">36880</a>
High processor usage when building
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=33756">33756</a>
Eclipse doesn't seem to work if you delete the JDK
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36857">36857</a>
Using the operator += with a String on the right side results in a compile error.
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=32160">32160</a>
Tolerate superficial classpath changes
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36733">36733</a>
Java compilation errors after editing installed VMs
<p><hr><h1>
Eclipse Platform Build Notes&nbsp;<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.0 Build - 22nd April 2003
<br>Project org.eclipse.jdt.core v_350
<h2>
What's new in this drop</h2>
<ul>
<li>Added new compiler optional problem to signal cases where a boolean variable is assigned
in a condition expression. It is likely an accidental situation, where a comparison was actually meant.
<pre>
* COMPILER / Reporting Possible Accidental Boolean Assignment
* When enabled, the compiler will issue an error or a warning if a boolean assignment is acting as the condition
* of a control statement (where it probably was meant to be a boolean comparison).
* - option id: "org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment"
* - possible values: { "error", "warning", "ignore" }
* - default: "warning"
</pre>
</li>
<li>Added new compiler settings to control the diagnosis of variable hiding other ones.
<pre>
* COMPILER / Reporting Local Variable Declaration Hiding another Variable
* When enabled, the compiler will issue an error or a warning whenever a local variable
* declaration is hiding some field or local variable (either locally, inherited or defined in enclosing type).
* - option id: "org.eclipse.jdt.core.compiler.problem.localVariableHiding"
* - possible values: { "error", "warning", "ignore" }
* - default: "warning"
*
* COMPILER / Reporting Field Declaration Hiding another Variable
* When enabled, the compiler will issue an error or a warning whenever a field
* declaration is hiding some field or local variable (either locally, inherited or defined in enclosing type).
* - option id: "org.eclipse.jdt.core.compiler.problem.fieldHiding"
* - possible values: { "error", "warning", "ignore" }
* - default: "warning"
*
* COMPILER / Reporting Special Parameter Hiding another Field
* When enabled, the compiler will signal cases where a constructor or setter method parameter declaration
* is hiding some field (either locally, inherited or defined in enclosing type).
* The severity of the problem is controlled with option "org.eclipse.jdt.core.compiler.problem.localVariableHiding".
* - option id: "org.eclipse.jdt.core.compiler.problem.specialParameterHidingField"
* - possible values: { "enabled", "disabled" }
* - default: "disabled"
</pre>
</li>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36510">36510</a>
Automatically attach source for source files located in a class folder
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36499">36499</a>
exists() returns true for a source file inside a classfolder
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36438">36438</a>
null == null causes java.lang.VerifyError
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=35755">35755</a>
Search in hierarchy misses dependent projects
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36465">36465</a>
Unable to create multiple source folders when not using bin for output
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36339">36339</a>
Try codegen issues slightly incorrect ANY exception handler
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=35965">35965</a>
Source not found in source attachment
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36447">36447</a>
Unoptimal wide conditional branch bytecode sequence
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=19286">19286</a>
Suspicious synchronized operations
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36213">36213</a>
ArrayIndex out of bounds
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36244">36244</a>
JDK1.4.2: Add -cp as a batch option
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=35528">35528</a>
When I check out a project from CVS, Updating takes a very long time
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36058">36058</a>
Unknown NPE in log
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=21661">21661</a>
Compile dependency problems
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=28937">28937</a>
Compiler Problem Marker: Accidental Boolean Assignment
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=33831">33831</a>
ast API: add FieldAccess.resolveFieldBinding
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=35649">35649</a>
The SourceMapper instances could share the fileNamefilter
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=34896">34896</a>
compiler setting "unused private fields"
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=33751">33751</a>
The numbering of anonymous could be optimized
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=35849">35849</a>
Incremental compilation ignores linked folders
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=35926">35926</a>
Batch compiler compile should return false when the command line is incorrect
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=35421">35421</a>
[nls] Inconsistencies between properties files and nls strings
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=34173">34173</a>
Create a compiler warning when an instance variable is "re-declared" as a local variable.
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=21140">21140</a>
Warning/error on shadowing definition of data member?
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=35490">35490</a>
Search doesn't work for reference of 'cursorLocation'
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=35338">35338</a>
Cannot save file, "Save failed:null" error message received
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=35438">35438</a>
CastExpression resolution departs from JLS section 6.5.1
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36165">36165</a>
[DOM/AST] Incorrect grammar rule in TypeDeclaration
<h3>Problem Reports Closed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=21304">21304</a>
Have option for compiler warning on redeclaration of instance/class variables as local variables
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36709">36709</a>
absent line numbers msg when debugging
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36620">36620</a>
NPE Searching for workspace references
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36620">36620</a>
Possibility of inlining getter and setter
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36543">36543</a>
compiler's incomplete build path option is not working
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=29331">29331</a>
Problems with workspace [build path]
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36337">36337</a>
Linked Classfolder - Selection in Outline does not synchronize with editor
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36437">36437</a>
Build problem when using required (dependend) project
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36452">36452</a>
Compiler: variable declaraion statment as if body
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=34427">34427</a>
Type hierarchy does not resolve for "Task"
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=35263">35263</a>
Eclipse crashes when opening Hierarchy view for java.lang.Eception
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=35272">35272</a>
Inconsistent validation of CP entries
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36397">36397</a>
Compiling source which indirectly references unavailable classes
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=35594">35594</a>
antlr.LLkParser fails as superclass in Eclipse 2.1, javac works
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=35993">35993</a>
Project not built when it contains linked resource with undefined path variable
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36246">36246</a>
JDK1.4.2: VerifyError using try/finally
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36231">36231</a>
Overjealous "Assignment has no effect"
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=36260">36260</a>
Java compiler bug.
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=33786">33786</a>
IMethod:isSimilar - ignoring isConstructor
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=35978">35978</a>
JDTCompilerAdapter doesn't use user preference for warnings
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=35987">35987</a>
unused private method false positive?
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=31251">31251</a>
something knows how to make names plural but it's harcoded i think
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=35818">35818</a>
Unused field /variable compiler problem should ignore assignment
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=3259">3259</a>
JM - Should flush source ranges in SourceMapper when closing ClassFile (1GDKLA1)
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=35904">35904</a>
Problem detecting gif file length
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=35784">35784</a>
detect hiding (non-private) fields
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=25838">25838</a>
Warning when overriding field
<p><hr><h1>
Eclipse Platform Build Notes&nbsp;<br>
Java Development Tooling Core</h1>
Eclipse SDK 2.1 Build (before 3.0/2.1.1 branching) - 31st March 2003
<br>Project org.eclipse.jdt.core v_312
<h2>
What's new in this drop</h2>
<ul>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=35831">35831</a>
NPE navigating references using links
<h3>Problem Reports Closed</h3>
<p><hr>
For earlier build notes, also see <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.jdt.core/notes/R21_buildnotes_jdt-core.html">build notes up to Release 2.1</a>.
<br>&nbsp;
</body>
</html>