blob: ea43b8f66efc9f348f3cdd25d7b41296f591cedd [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="IBM">
<title>JDT/Core Release Notes 3.3</title>
<link rel="stylesheet" href="jdt_core_style.css" charset="iso-8859-1" type="text/css">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<table border=0 cellspacing=5 cellpadding=2 width="100%" >
<tr>
<td align="left" width="72%" class="title1">
<font size="+3"><b>jdt core - build notes 3.3 stream</b></font>
</td>
</tr>
<tr><td align="left" width="72%" class="title2"><font size="-2">java development tooling core</font></td></tr>
<tr><td>&nbsp;</td></tr>
<tr>
<td class="title3">
<font size="-1">
Here are the build notes for the Eclipse JDT/Core plug-in project
<a href="http://www.eclipse.org/jdt/core/index.php"><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.
For more information on 3.3 planning, please refer to <a href="http://www.eclipse.org/jdt/core/r3.3/index.php#release-plan">JDT/Core release plan</a>,
the next <a href="http://www.eclipse.org/jdt/core/r3.3/index.php#milestone-plan">milestone plan</a>,
the overall <a href="http://www.eclipse.org/eclipse/development/eclipse_project_plan_3_2.html">official plan</a>,
or the <a href="http://www.eclipse.org/eclipse/platform-releng/buildSchedule.html">build schedule</a>.
<!--
This present document covers all changes since Release 3.0 (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 3.0 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>.
-->
This present document covers all changes since Release 3.2 (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>).
<br>Maintenance of previous releases of JDT/Core is performed in parallel branches:
<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_2_maintenance">R3.2.x</a>,
<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_1_maintenance">R3.1.x</a>,
<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R3_0_maintenance">R3.0.x</a>,
<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R2_1_maintenance">R2.1.x</a>,
<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=R2_0_1">R2.0.x</a>,
<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=ECLIPSE_1_0">R1.0.x</a>.
</font>
</td>
</tr>
</table>
<a name="v_717"></a>
<p><hr><h1>
Eclipse Platform Build Notes<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.3M3 - 17th October 2006
<br>Project org.eclipse.jdt.core v_717
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_717">cvs</a>).
<h2>What's new in this drop</h2>
<ul>
<li><code>TypeNameMatch</code> API has been polished while implementing new <code>searchAllTypeNames(char[][] char[][],...)</code>
API method (see next point).<br>
This class has been abstracted and clients now need to use added <code>SearchEngine</code> following method
to create an instance of it:
<pre>
/**
* Create a type name match on a given type with specific modifiers.
*
* @param type The java model handle of the type
* @param modifiers Modifiers of the type
* @return A non-null match on the given type.
*/
public static TypeNameMatch createTypeNameMatch(IType type, int modifiers)
</pre>
Early performance tests using added <code>searchAllTypeNames</code> method with <code>TypeNameMatchRequestor</code>
requestor (ie. a la Open Type dialog) show interesting memory footprint reduction (around 30%). More precise measures of this
performance improvement will be done later...
</li>
<li>Added new <code>SearchEngine</code> API method for search all type names with multiple qualifications and type names
(see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160324">160324</a>).<br>
Only requestor differs from already existing corresponding <code>searchAllTypeNames</code> method:
<pre>
/**
* Searches for all top-level types and member types in the given scope matching any of the given qualifications
* and type names in a case sensitive way.
*
* Provided {@link TypeNameMatchRequestor} requestor will collect {@link TypeNameMatch}
* matches found during the search.
...
* @param nameMatchRequestor the {@link TypeNameMatchRequestor requestor} that collects
* {@link TypeNameMatch matches} of the search.
...
* @since 3.3
*/
public void searchAllTypeNames(
final char[][] qualifications,
final char[][] typeNames,
IJavaSearchScope scope,
final TypeNameMatchRequestor nameMatchRequestor,
int waitingPolicy,
IProgressMonitor progressMonitor) throws JavaModelException
</pre>
Similarily to previous added <code>searchAllTypeNames</code> new API method, clients have to provide
a new requestor: <code>TypeNameMatchRequestor</code> in order to get matches collected during the search.<br>
</li>
<li>Code Assist can return completion proprosals that required some other completion proposals:<br>
To apply a completion proposal the required completion proposals must be applied otherwise the resulting code won't be correct.<br>
To manage completion proposalswith required proposals the following API have been added:
<pre>
public class CompletionProposal {
...
/**
* Returns the required completion proposals.
* The proposal can be apply only if these required completion proposals are also applied.
* If the required proposal aren't applied the completion could create complations problems.
*
* &lt;p&gt;
* This field is available for the following kinds of
* completion proposals:
* &lt;ul&gt;
* &lt;li&gt;&lt;code&gt;FIELD_REF&lt;/code&gt; - The allowed required proposals for this kind are:
* &lt;ul&gt;
* &lt;li&gt;&lt;code&gt;TYPE_REF&lt;/code&gt;&lt;/li&gt;
* &lt;/ul&gt;
* &lt;/li&gt;
* &lt;li&gt;&lt;code&gt;METHOD_REF&lt;/code&gt; - The allowed required proposals for this kind are:
* &lt;ul&gt;
* &lt;li&gt;&lt;code&gt;TYPE_REF&lt;/code&gt;&lt;/li&gt;
* &lt;/ul&gt;
* &lt;/li&gt;
* &lt;/ul&gt;
* &lt;/p&gt;
* &lt;p&gt;
* Other kinds of required proposals will be returned in the future, therefore clients of this
* API must allow with {@link CompletionRequestor#setAllowsRequiredProposals(int, int, boolean)}
* only kinds which are in this list to avoid unexpected results in the future.
* &lt;/p&gt;
* &lt;p&gt;
* A required completion proposal cannot have required completion proposals.
* &lt;/p&gt;
*
* @return the required completion proposals, or &lt;code&gt;null&lt;/code&gt; if none.
*
* @see CompletionRequestor#setAllowsRequiredProposals(int, int,boolean)
*
* @since 3.3
*/
public CompletionProposal[] getRequiredProposals() {...}
...
}
</pre>
<pre>
public class CompletionRequestor {
...
/**
* Returns whether a proposal of a given kind with a required proposal
* of the given kind is allowed.
*
* @param proposalKind one of the kind constants declared
* @param requiredProposalKind)one of the kind constants declared
* on &lt;code&gt;CompletionProposal&lt;/code&gt;
* @return &lt;code&gt;true&lt;/code&gt; if a proposal of a given kind with a required proposal
* of the given kind is allowed by this requestor, and &lt;code&gt;false&lt;/code&gt;
* if it isn't of interest.
* &lt;p&gt;
* By default, all kinds of required proposals aren't allowed.
* &lt;/p&gt;
* @see #setAllowsRequiredProposals(int, int, boolean)
* @see CompletionProposal#getKind()
* @see CompletionProposal#getRequiredProposals()
*
* @since 3.3
*/
public boolean isAllowingRequiredProposals(int proposalKind, int requiredProposalKind) {...}
/**
* Sets whether a proposal of a given kind with a required proposal
* of the given kind is allowed.
*
* Currenlty only a subset of kinds support required proposals. To see what combinations
* are supported you must look at {@link CompletionProposal#getRequiredProposals()}
* documentation.
*
* @param proposalKind one of the kind constants declared
* @param requiredProposalKind)one of the kind constants declared
* on &lt;code&gt;CompletionProposal&lt;/code&gt;
* @param allow &lt;code&gt;true&lt;/code&gt; if a proposal of a given kind with a required proposal
* of the given kind is allowed by this requestor, and &lt;code&gt;false&lt;/code&gt;
* if it isn't of interest
* @see #isAllowingRequiredProposals(int, int)
* @see CompletionProposal#getKind()
* @see CompletionProposal#getRequiredProposals()
*
* @since 3.3
*/
public void setAllowsRequiredProposals(int proposalKind, int requiredProposalKind)boolean allow) {...}
...
}
</pre>
</li>
<li>Code Assist propose completion even if the type of a variable or the return type of the method is missing.<br>
e.g.
<pre>
package p;
public class X {
void foo() {
Vector v = null;
v.addEl| // complete at | location
}
}
</pre>
A completion proposal with required proposals will be returned. The main proposal will be the method <code>addElement()</code>
at <code>addEl</code> location with a required proposal of the type <code>java.util.Vector</code> at
<code>Vector</code> location.
The same kind of completion can be computed with the following examples.
<pre>
package p;
public class X {
Vector v = null;
void foo() {
v.addEl| // complete at | location
}
}
</pre>
<pre>
package p;
public class X {
Vector bar() {return null;}
void foo() {
bar().addEl| // complete at | location
}
}
</pre>
</li>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161190">161190</a>
[search] All type search doesn't find all types
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=151756">151756</a>
[compiler] unverifiable bytecode created with cvs head compiler
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=161028">161028</a>
[search] NPE on organize imports in TypeNameMatch.equals
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160854">160854</a>
[search] No type is found using seachAllTypeNames(char[][],char[][],...) methods when no type names is specified
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=80339">80339</a>
Wrong error message "; expected" when writing an interface
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159709">159709</a>
[compiler] missing warnings for deprecated member types
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157170">157170</a>
[AST visitor] Unvisited elements
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159973">159973</a>
[1.5] [compiler] VerifyError due to compiler generating incorrect synthetic methods
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160655">160655</a>
[assist] Bug with code assist and generics
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=44984">44984</a>
[typing] Automatically optimize class imports
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160494">160494</a>
[search] searchAllTypeNames(char[][], char[][],...) fails to find types in default package
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160328">160328</a>
[search] Remove constructor TypeNameMatch(IType)
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160327">160327</a>
[search] Add specification for TypeNameMatch.getType
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160324">160324</a>
[search] SearchEngine.searchAllTypeNames(char[][], char[][], TypeNameMatchRequestor
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160323">160323</a>
[search] TypeNameMatch: support hashCode/equals
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160352">160352</a>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=90600">90600</a>
[model] CreateElementInCUOperation.apply: should use project options for rewriter
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160352">160352</a>
COMPACT mode doesn't work for exception table in the disassembler
<a name="v_716"></a>
<p><hr><h1>
Eclipse Platform Build Notes<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.3M3 - 10th October 2006
<br>Project org.eclipse.jdt.core v_716
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_716">cvs</a>).
<h2>What's new in this drop</h2>
<ul>
<li>Raw type reference are now reported by default. See bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159456">159456</a>.</li>
<li>API of <code>TypeNameMatch</code> has been changed to improve memory consumption performance.
It now creates IType handle while accepting the type information from indexes and stores their modifiers
to avoid java element opening while getting this piece of information.<br>
Note that there's no Java Model initialization nor populating while creating handles...<br>
Note also that previously added API method on IJavaProject has been removed:
<pre>
IType findType(String packageName,
String typeQualifiedName,
IPackageFragmentRoot root,
ICompilationUnit[] units,
IProgressMonitor progressMonitor) throws JavaModelException;
</pre>
</li>
<li>While fixing bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157814">157814</a>, new <code>MethodReferenceMatch.isPolymorphic()</code> API method has been renamed to:
<pre>
/**
* Returns whether the reference is on a message sent from a type
* which is a super type of the searched method declaring type.
* If <code>true</code>, the method called at run-time may or may not be
* the search target, depending on the run-time type of the receiver object.
*
* @return <code>true</code> if the reference is on a message sent from
* a super-type of the search method declaring class, <code>false </code> otherwise
*/
public boolean isSuperInvocation()
</pre>
</li>
<li>Added new API <code>ClasspathContainerInitializer#getFailureContainer(...)</code> that returns the classpath container that
should be used if a container initializer fails to initialize a container.</li>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95008">95008</a>
[assist] Missing completion for field initialization in boolean case
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160015">160015</a>
[1.5][javadoc] Missing warning on autoboxing compatible methods
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160132">160132</a>
[1.5][compiler] Compiler fails with indirect reference error message
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160005">160005</a>
Add protection about misbehaving container initializer
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=86482">86482</a>
ISourceRange implementation does not implements value equals
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157814">157814</a>
[search] polymorphic matches in supertype hierarchy should be marked as potential
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148380">148380</a>
[search] get IType from TypeNameRequestor result
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=160025">160025</a>
CharOperation fails with AIOOBE when replaced array contains the same chars
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159641">159641</a>
patch to refactor Main and add new &quot;GCCMain&quot; driver
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=134848">134848</a>
[compiler][null] false positive after nested loop with break to explicit label
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159654">159654</a>
[compiler] unverifiable bytecode created by current cvs head compiler
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=158518">158518</a>
Remove dependency of GenericTypeTest#test370 on SUN internal APIs
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159607">159607</a>
[1.5][compiler] M2: Unnecessary cast is necessary
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=158267">158267</a>
Brace positions line after annotation
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=158258">158258</a>
Double check sorting algorithms
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159456">159456</a>
[1.5][compiler] Enable compiler warning for raw type reference by default
<a name="v_715"></a>
<p><hr><h1>
Eclipse Platform Build Notes<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.3M3 - 3rd October 2006
<br>Project org.eclipse.jdt.core v_715
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_715">cvs</a>).
<h2>What's new in this drop</h2>
<ul>
<li>Added new <code>SearchEngine</code> API method for search all type names (see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148380">148380</a>).<br>
Only requestor differs from already existing <code>searchAllTypeNames</code> method:
<pre>
/**
* Searches for all top-level types and member types in the given scope.
* The search can be selecting specific types (given a package name using specific match mode
* and/or a type name using another specific match mode).
*
* Provided {@link TypeNameMatchRequestor} requestor will collect {@link TypeNameMatch}
* matches found during the search.
...
* @param nameMatchRequestor the {@link TypeNameMatchRequestor requestor} that collects
* {@link TypeNameMatch matches} of the search.
...
* @since 3.3
*/
public void searchAllTypeNames(
final char[] packageName,
final int packageMatchRule,
final char[] typeName,
final int typeMatchRule,
int searchFor,
IJavaSearchScope scope,
final TypeNameMatchRequestor nameMatchRequestor,
int waitingPolicy,
IProgressMonitor progressMonitor) throws JavaModelException
</pre>
Clients have to provide a new requestor: <code>TypeNameMatchRequestor</code> in order to
get matches collected during the search.<br>
Note that this match (<code>TypeNameMatch</code>) can resolve type and then provide corresponding java model <code>IType</code>:
<pre>
/**
* Returns the java model type corresponding to fully qualified type name
* (based on package, enclosing types and simple name).
*
* @return the java model type
* @throws JavaModelException happens when type stored information are not valid
*/
public IType resolvedType() throws JavaModelException
</pre>
</li>
<li>
Deprecated existing <code>SearchEngine</code> API helper method:
<pre>
public void searchAllTypeNames(
final char[] packageExactName,
final char[] typeName,
final int matchRule,
int searchFor,
IJavaSearchScope scope,
final TypeNameRequestor nameRequestor,
int waitingPolicy,
IProgressMonitor progressMonitor) throws JavaModelException
</pre>
This should avoid to have too many similar <code>searchAllTypeNames</code> available methods...
</li>
<li>
Added new <code>JavaCore</code> API method to create a java element from an <code>IFile</code>
using a specific project:
<pre>
/**
* Returns the Java element corresponding to the given file, its project being the given
* project.
* Returns <code>null</code> if unable to associate the given file
* with a Java element.
*
* The file must be one of:
* . a file with one of the {@link JavaCore#getJavaLikeExtensions()
* Java-like extensions} - the element returned is the corresponding <code>ICompilationUnit</code>
* . a <code>.class</code> file - the element returned is the corresponding <code>IClassFile</code>
* . a <code>.jar</code> file - the element returned is the corresponding <code>IPackageFragmentRoot</code>
*
* Creating a Java element has the side effect of creating and opening all of the
* element's parents if they are not yet open.
*
* @param file the given file
* @return the Java element corresponding to the given file, or
* <code>null</code> if unable to associate the given file
* with a Java element
* @since 3.3
*/
public static IJavaElement create(IFile file, IJavaProject project)
</pre>
Existing API method <code>JavaCore.create(IFile)</code> assumed that project to use was the file one
but it was not always the case, especially for class files belonging to an external class folder...<br>
Note that no other methods was added for <code>IResource</code> and <code>IFolder</code> as default project was
always well computed for this kind of resources.
</li>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=158506">158506</a>
[search] SearchEngine.searchAllTypeNames should spec that null is valid for package
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159325">159325</a>
Any idea why ClasspathEntry checks for string object reference instead of equals
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=155824">155824</a>
[javadoc] Content assist doesn't suggest Varargs
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=150289">150289</a>
[hierarchy] NPE in hierarchy builder when region is empty
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159250">159250</a>
[1.5][compiler] Should better locate raw type usage for array qualified type references
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159245">159245</a>
[1.5][compiler] Missing raw type usage warning for array type ref
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159243">159243</a>
[compiler] Should better locate deprecation issue for qualified type ref
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=158951">158951</a>
[model] IWorkingCopy should not be referenced in any javadoc comment of JavaModel methods
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=153133">153133</a>
[model] toggle breakpoint in constructor creates a class load breakpoint
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=159021">159021</a>
[compiler] Unused locals initialisation is optimized out when it is a single name reference
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=158548">158548</a>
[1.5][compiler] Compiler should be more resilient with unresolved parameterized type references
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=154995">154995</a>
[compiler][null] false positive in embedded while/while/break code
<a name="v_714"></a>
<p><hr><h1>
Eclipse Platform Build Notes<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.3M3 - 26th September 2006
<br>Project org.eclipse.jdt.core v_714
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_714">cvs</a>).
<h2>What's new in this drop</h2>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147667">147667</a>
[1.5][compiler] Illegal compile error: "the method XXX is ambiguous for the type YYY"
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=158000">158000</a>
[compiler][null] Second diagnostic absorbed within finally blocks
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=150082">150082</a>
[compiler][null] Null reference warning ignores try blocks
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149665">149665</a>
[compiler][null] Unexpected variable might be null warning in finally block
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147118">147118</a>
[compiler][null] Incorrect null analysis involving do_while loop
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=142303">142303</a>
Right-click, "Open Declaration" fails under 3.2RC4
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=141518">141518</a>
IEvaluationContext.newVariable is not considered when doing codecomplete.
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=143001">143001</a>
Statement recovery doesn't recover broken try statement
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=123225">123225</a>
Code assist suggests overridden method
<a name="v_713"></a>
<p><hr><h1>
Eclipse Platform Build Notes<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.3M2 - 15th September 2006 - 3.3 MILESTONE 2
<br>Project org.eclipse.jdt.core v_713
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_713">cvs</a>).
<h2>What's new in this drop</h2>
<ul>
<li>Added <code>isPolymorphic()</code> getter to <code>MethodReferenceMatch</code> (see <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73401">bug 73401</a>
and <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156491">bug 156491</a>).
<br>
When a search requestor (<code>SearchRequestor</code>) accepts this kind of match,
it knows if a method reference match is a polymorphic method (ie. implemented in a super or sub type) or not.
<p>
For example, in example below:</p>
<pre>
class A { public void foo() {} }
class B extends A {}
class C extends B { public void foo() {} }
class D extends C {}
public class X {
void foo() {
new B().foo();
new C().foo();
new D().foo();
}
}
</pre>
<p>
Searching for all references to <code>C.foo()</code> method get 3 matches
(instance of <code>MethodReferenceMatch</code>). Two of them, <code>new B().foo()</code> and
<code>new D().foo()</code> are flagged as polymorphic due to the fact that these are methods
respectively of a superclass and of a subclass...
</p>
<p>
Search view has been modified to filter this kind of matches when user wants to focus only
on exact references of the searched method.</p>
</li>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157389">157389</a>
[1.4][compiler] assertionStatus is not set properly for nested types
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157333">157333</a>
calling delete on enum constant deletes entire Enum
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157403">157403</a>
NPE when trying to get the ast for a class with boggus annotations
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156491">156491</a>
[search] Reference search unusable in some situations
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=73401">73401</a>
[search] Unable to search just for references to overridden method
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157247">157247</a>
[1.6] [compiler] VerifyError with StackMap frames when no local variable attributes are generated
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=157086">157086</a>
should adopt ICU Collator and use new APIs on StructuredViewer
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149751">149751</a>
Enum-valued annotation element handles non-enum constant badly
<a name="v_712"></a>
<p><hr><h1>
Eclipse Platform Build Notes<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.3M2 - 12th September 2006
<br>Project org.eclipse.jdt.core v_712
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_712">cvs</a>).
<h2>What's new in this drop</h2>
<ul>
<li>Code Assist: Annotation types are proposed even there is no prefix.
<pre>
public @interface MyAnnot {
int foo();
}
@|
public class AClass {}
</pre>
'MyAnnot' is proposed if you do code assist at '|' location.
</li>
<li>
Added new flag on nature of searched element to specify both interfaces and annotations (see <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156177">bug 156177</a>).
This flag is defined on IJavaSearchConstants interface:
<pre>
/**
* The searched element is an interface or annotation type.
* More selective than using {@link #TYPE}.
* @since 3.3
*/
int INTERFACE_AND_ANNOTATION= 11;
</pre>
</li>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148859">148859</a>
[model][delta] Package Explorer only shows default package after import
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156591">156591</a>
[1.5][compiler] constant-specific methods in enum cannot be abstract
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156540">156540</a>
[1.5][compiler] Compiler produces invalid bytecode for certain enum declarations
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156177">156177</a>
[search] interfaces and annotations could be found with only one requets of searchAllTypeName
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156340">156340</a>
[search] searchAllTypeNames return nothing for empty prefix
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=151189">151189</a>
[search] Declaration search does not find all matches
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=153874">153874</a>
[1.5][compiler] Compiler fails to consider bridge method with -source 1.4
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=129983">129983</a>
[1.5][assist] Need partial word for annotation autocompletion
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156194">156194</a>
[codeassist] PROPOSE_MEMBER_TYPES can be removed
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=155115">155115</a>
UnresolvedReferenceBindings surfacing through DOM AST
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=153128">153128</a>
[compiler] Duplicate methods generated (from invalid source, but still :-)
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156119">156119</a>
No warning for unnecessary semicolon in interface
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=155255">155255</a>
[1.5][compiler] ternary conditional operator returns wrong type
<a name="v_711"></a>
<p><hr><h1>
Eclipse Platform Build Notes<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.3M2 - 5th September 2006
<br>Project org.eclipse.jdt.core v_711
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_711">cvs</a>).
<h2>What's new in this drop</h2>
<ul>
<li>Added to the batch compiler the ability to redefine the destination path
on a source folder basis. Directories cited as sources, directly or as
arguments to the <code>-classpath</code> and other classpath related
options, can bear a <code>[-d dir]</code> specification that directs the
generated class files to <code>dir</code> for source files fetched from the
said directories.
For example, given the source files <code>src/X.java</code> and
<code>Y.java</code>, X depending from Y, the command <code>ecj src[-d bin1]
-d bin2</code> will produce the files <code>bin1/X.class</code> and
<code>bin2/Y.class</code>, while the command <code>ecj src[-d bin] -d
none</code> will only produce the file <code>bin/X.class</code>.
</li>
<li>Code Assist: Annotation arguments names are proposed even there is no prefix.
<pre>
public @interface MyAnnot {
int foo();
}
@MyAnnot(|
public class AClass {}
</pre>
'foo' is proposed if you do code assist at '|' location.
</li>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148521">148521</a>
[5.0][content assist] Content assist show all members of a full annotation
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=156108">156108</a>
[1.5][compiler] Autoboxing doesnt workt in switch-statement
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=140123">140123</a>
Missing callback in CodeSnippetToCuMapper#getCompletionRequestor()
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=153130">153130</a>
[assist] IOB during content assist in scrapbook
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=154170">154170</a>
Printing warnings breaks in-editor quick fixes
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=146554">146554</a>
[batch][compiler][options] Allow the batch compiler to output compiled files
into multiple output folders
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=155887">155887</a>
Breakpoint in 'finally' not hit - test suite failing
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=155795">155795</a>
Patch to fix jface.text.Assert deprecation
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=154880">154880</a>
DeltaProcessor does not set project references if first build is a project build
<a name="v_710"></a>
<p><hr><h1>
Eclipse Platform Build Notes<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.3M2 - 29th August 2006
<br>Project org.eclipse.jdt.core v_710
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_710">cvs</a>).
<h2>What's new in this drop</h2>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=155423">155423</a>
[compiler] Unoptimal code generation when an initializer contains a statement that returns
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=151153">151153</a>
[1.6][compiler] Invalid Stackmap attribute generated for ternary operator
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=145397">145397</a>
[1.6][compiler] Invalid StackMap attribute
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148224">148224</a>
AST API request: have binding for int, need int[], int[][] ....
<a name="v_709"></a>
<p><hr><h1>
Eclipse Platform Build Notes<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.3M2 - 15th August 2006
<br>Project org.eclipse.jdt.core v_709
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_709">cvs</a>).
<h2>What's new in this drop</h2>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=151756">151756</a>
[compiler] unverifiable bytecode created with cvs head compiler
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=153303">153303</a>
IBinding.getAnnotations() returns array with null element
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148661">148661</a>
[formatter] leverage CombinedBinaryExpression in BinaryExpressionFragmentBuilder#visit(BinaryExpression, BlockScope)
<a name="v_708"></a>
<p><hr><h1>
Eclipse Platform Build Notes<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.3M1 - 6th August 2006 - 3.3 MILESTONE 1
<br>Project org.eclipse.jdt.core v_708
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_708">cvs</a>).
<h2>What's new in this drop</h2>
<ul>
<li>New fix for <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95152">bug 95152</a> required the index version to be incremented.
Indexes will be automatically regenerated upon subsequent search queries (accounting for indexing notification in search progress dialogs).
</li>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=95152">95152</a>
[search] F3 can't find synthetic constructor
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=152725">152725</a>
[1.6][formatter] Code formatter does not format 1.5 code when source level is 1.6
<a name="v_707"></a>
<p><hr><h1>
Eclipse Platform Build Notes<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.3M1 - 3rd August 2006
<br>Project org.eclipse.jdt.core v_707
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_707">cvs</a>).
<h2>What's new in this drop</h2>
<ul>
<li>
SearchPattern API method <code>createPattern(IJavaElement, int, int)</code> behavior has been modified for generic searches.<br>
It now returns erasure matches instead of exact ones (see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=124489">124489</a> for detailed discussion on this topic).
</li>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=116459">116459</a>
[1.5][search] Generic type reference should return exact match on parameterized type with its own variables
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=124489">124489</a>
[1.5][search] &quot;Find unused dependencies&quot; misses references to generic types
<a name="v_706"></a>
<p><hr><h1>
Eclipse Platform Build Notes<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.3M1 - 1st August 2006
<br>Project org.eclipse.jdt.core v_706
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_706">cvs</a>).
<h2>What's new in this drop</h2>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=133024">133024</a>
[ast rewrite] ASTRewrite does not honor forced line splits
<a name="v_705"></a>
<p><hr><h1>
Eclipse Platform Build Notes<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.3M1 - 25th July 2006
<br>Project org.eclipse.jdt.core v_705
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_705">cvs</a>).
<h2>What's new in this drop</h2>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=151118">151118</a>
verifier errors occur when running osgi tests
<a name="v_704"></a>
<p><hr><h1>
Eclipse Platform Build Notes<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.3M1 - 18th July 2006
<br>Project org.eclipse.jdt.core v_704
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_704">cvs</a>).
<h2>What's new in this drop</h2>
<ul>
<li>Wildcard captures are now indicating some ID to better address ambiguities in error messages
<br>e.g. now telling: <code>capture#2-of ? extends Number</code> is not compatible with <code>capture#1-of ? extends Number</code>
<br>as opposed to: <code>capture-of ? extends Number</code> is not compatible with <code>capture-of ? extends Number</code>
(also see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149573">149573</a>).
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=129317">129317</a>
Outline view inconsistent with code
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=102875">102875</a>
code assist should propose types even if there's no initial character(s)
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=129584">129584</a>
Java model gives different results
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=150758">150758</a>
[1.5][compiler] NullPointerException in internal compiler
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=150074">150074</a>
[compiler] init part of for each loop with empty body is not executed
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149028">149028</a>
Limiting number of characters to read with the file size is invalid.
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149893">149893</a>
[1.5] Compilation error: The method is ambiguous for the type
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149376">149376</a>
Internal compiler error on "import static"
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149573">149573</a>
[1.5][compiler] Improve readable name of wildcard captures
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=128073">128073</a>
Content Assist should give static fields and methods declared in target type higher relevance
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149043">149043</a>
Unresolvable classpath container leads to lots of scheduled jobs
<a name="v_703"></a>
<p><hr><h1>
Eclipse Platform Build Notes<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.3M1 - 4th July 2006
<br>Project org.eclipse.jdt.core v_703
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_703">cvs</a>).
<h2>What's new in this drop</h2>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=149013">149013</a>
[javadoc] In latest 3.3 build, there is a javadoc error in org.eclipse.core.resources
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=119857">119857</a>
[javadoc] Some inner class references should be flagged as unresolved
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=103304">103304</a>
[Javadoc] Wrong reference proposal for inner classes.
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148797">148797</a>
Syntax error in java class results in AST=null-error on "organize imports"
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148742">148742</a>
[5.0][content assist] Annotation content assist not working in all cases for parameters
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=117302">117302</a>
Clean build of large project gives unresolved type errors
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147875">147875</a>
[1.5][compiler] NPE when initializing annotations of a binary field
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=146012">146012</a>
No F_CONTENT flag on delta when reverting to old annotations
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148970">148970</a>
Exceptions opening external Java file
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148949">148949</a>
JarEntryFile now returning 'null'
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=120865">120865</a>
ICompilationUnit.findPrimaryType(..) should not throw internal AFE
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148370">148370</a>
[formatter] new Class&lt;?&gt;[] {} kills formatter
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148010">148010</a>
Code select doesn't find binary parameterized method
<a name="v_702"></a>
<p><hr><h1>
Eclipse Platform Build Notes<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.3M1 - 27th June 2006
<br>Project org.eclipse.jdt.core v_702
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_702">cvs</a>).
<h2>What's new in this drop</h2>
<ul>
<li>Add new Search API method to support patterns for package/enclosing type name while searching all types names
(see bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92264">92264</a>).<br>
<pre>
/**
* Searches for all top-level types and member types in the given scope.
* The search can be selecting specific types (given a package name using specific match mode
* and/or a type name using another specific match mode).
*
* @param packageName the full name of the package of the searched types, or a prefix for this
* package, or a wild-carded string for this package.
* @param typeName the dot-separated qualified name of the searched type (the qualification include
* the enclosing types if the searched type is a member type), or a prefix
* for this type, or a wild-carded string for this type.
* @param packageMatchRule one of
* . {@link SearchPattern#R_EXACT_MATCH} if the package name and type name are the full names
* of the searched types.
* . {@link SearchPattern#R_PREFIX_MATCH} if the package name and type name are prefixes of the names
* of the searched types.
* . {@link SearchPattern#R_PATTERN_MATCH} if the package name and type name contain wild-cards.
* . {@link SearchPattern#R_CAMELCASE_MATCH} if type name are camel case of the names of the searched types.
* combined with {@link SearchPattern#R_CASE_SENSITIVE},
* e.g. {@link SearchPattern#R_EXACT_MATCH} | {@link SearchPattern#R_CASE_SENSITIVE} if an exact and case sensitive match is requested,
* or {@link SearchPattern#R_PREFIX_MATCH} if a prefix non case sensitive match is requested.
* @param typeMatchRule one of
* . {@link SearchPattern#R_EXACT_MATCH} if the package name and type name are the full names
* of the searched types.
* . {@link SearchPattern#R_PREFIX_MATCH} if the package name and type name are prefixes of the names
* of the searched types.
* . {@link SearchPattern#R_PATTERN_MATCH} if the package name and type name contain wild-cards.
* . {@link SearchPattern#R_CAMELCASE_MATCH} if type name are camel case of the names of the searched types.
* combined with {@link SearchPattern#R_CASE_SENSITIVE},
* e.g. {@link SearchPattern#R_EXACT_MATCH} | {@link SearchPattern#R_CASE_SENSITIVE} if an exact and case sensitive match is requested,
* or {@link SearchPattern#R_PREFIX_MATCH} if a prefix non case sensitive match is requested.
* @param searchFor determines the nature of the searched elements
* . {@link IJavaSearchConstants#CLASS}: only look for classes
* . {@link IJavaSearchConstants#INTERFACE}: only look for interfaces
* . {@link IJavaSearchConstants#ENUM}: only look for enumeration
* . {@link IJavaSearchConstants#ANNOTATION_TYPE}: only look for annotation type
* . {@link IJavaSearchConstants#CLASS_AND_ENUM}: only look for classes and enumerations
* . {@link IJavaSearchConstants#CLASS_AND_INTERFACE}: only look for classes and interfaces
* . {@link IJavaSearchConstants#TYPE}: look for all types (ie. classes, interfaces, enum and annotation types)
* @param scope the scope to search in
* @param nameRequestor the requestor that collects the results of the search
* @param waitingPolicy one of
* . {@link IJavaSearchConstants#FORCE_IMMEDIATE_SEARCH} if the search should start immediately
* . {@link IJavaSearchConstants#CANCEL_IF_NOT_READY_TO_SEARCH} if the search should be cancelled if the
* underlying indexer has not finished indexing the workspace
* . {@link IJavaSearchConstants#WAIT_UNTIL_READY_TO_SEARCH} if the search should wait for the
* underlying indexer to finish indexing the workspace
* @param progressMonitor the progress monitor to report progress to, or null if no progress
* monitor is provided
* @exception JavaModelException if the search failed. Reasons include:
* . the classpath is incorrectly set
* @since 3.3
*/
public void searchAllTypeNames(
final char[] packageName,
final int packageMatchRule,
final char[] typeName,
final int typeMatchRule,
int searchFor,
IJavaSearchScope scope,
final TypeNameRequestor nameRequestor,
int waitingPolicy,
IProgressMonitor progressMonitor) throws JavaModelException
</pre>
Note that already existing <code>searchAllTypeNames(char [], char[], int, int, IJavaSearchScope, TypeNameRequestor, int, IProgressMonitor)</code> API method documentation has been updated to reflected the fact
that package name is an exact name and does not accept wildcards.
</li>
<li>Incremented plug-in version ID to &quot;3.3.0&quot; due to newly added API method (see details above).</li>
<li>Huge String concatenations - thousands of terms and beyond - are now
handled smoothly by the compiler even when they are not solely comprised of
literals and other constants (cf. bug
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=102728">102728</a>).
</li>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148278">148278</a>
Default-package classes missing in Package Explorer
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148352">148352</a>
NLS warning shows up on incomplete code
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=102728">102728</a>
[compiler] Reduce the stack depth demands of extended string concatenation ASTs
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=142530">142530</a>
[hierarchical packages] '.' in folder names confuses package explorer
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148523">148523</a>
[batch] Batch compiler output contains extra linebreak before line position
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147485">147485</a>
Anonymous type missing from java model
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=111086">111086</a>
[1.5][compiler] Compiler accepts call to parameterized method with invalid arguments
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148215">148215</a>
[search] Exception while searching for declarations of referenced types in binary java elements packaged in a jar
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=146331">146331</a>
Java Editor won't save file
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=145367">145367</a>
Failing to open a binary member leaves cache inconsistent
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=96237">96237</a>
[javadoc] Inner types must be qualified
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=92264">92264</a>
[search] all types names should support patterns for package/enclosing type name
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=102720">102720</a>
org.eclipse.jdt.core.Signature spec incomplete
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=148015">148015</a>
NPE in log from ClasspathChange
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=143212">143212</a>
IAE in log
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=145544">145544</a>
Comment indentation wrong when using sun conventions
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=146214">146214</a>
Refactor XmlWritter and Main.Logger
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147877">147877</a>
source end of array access isn't correct
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=145007">145007</a>
[1.5][javadoc] Generics + Inner Class -&gt; Javadoc &quot;missing @throws&quot; warning
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147690">147690</a>
[1.5][compiler] Incompatible serialversionuid when using covariant in Java 1.5
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147747">147747</a>
max stack for clinit of enum overestimated
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=142059">142059</a>
[efs] renaming package fails to update references
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=143013">143013</a>
SWTException: Failed to execute runnable (...AbortCompilation)
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147024">147024</a>
[compiler] Compiler bug when accessing static final attribute in a non-static way
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=143684">143684</a>
Creating of static imports is unavailable..
<a name="v_701"></a>
<p><hr><h1>
Eclipse Platform Build Notes<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.3M1 - 20th June 2006
<br>Project org.eclipse.jdt.core v_701
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_701">cvs</a>).
<h2>What's new in this drop</h2>
<ul>
<li>Fix for <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=120667">bug 120667</a> required the index version to be incremented.
Indexes will be automatically regenerated upon subsequent search queries (accounting for indexing notification in search progress dialogs).
</li>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147736">147736</a>
ClassCastException in TypeHierarchy
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=91709">91709</a>
[1.5][model] Quick Fix Error but no Problem Reported
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147381">147381</a>
[1.5][compiler] Generics discrepancy between Eclipse compiler and Sun compiler.
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=139555">139555</a>
[hierarchy] Opening a class from Type hierarchy will give the wrong one if source and compiled are in defined in project
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=144573">144573</a>
compilationParticipant extension point schema incomplete
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=145835">145835</a>
getJavaClassLibs needs to account for IBM J2SE 1.5
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=145333">145333</a>
[hierarchy] Resolving too much
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=122444">122444</a>
[hierarchy] Type hierarchy of inner member type misses anonymous subtypes
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=114894">114894</a>
[compiler] Compiler generate dead bytecode
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=147096">147096</a>
ecj.jar manifest should not use x-friends, but use x-internal=true instead
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=146015">146015</a>
Some JDT/Core tests results are still VM dependent
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=120667">120667</a>
[hierarchy] Type hierarchy for enum type does not include anonymous subtypes
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=146324">146324</a>
Batch builds produce "The type X is already defined" errors
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=146615">146615</a>
[hierarchy] TypeHierarchyTests is tests order dependent
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=142207">142207</a>
[batch][options] Source/target level names 5 and 5.0 missing from batch
compiler help message
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=76734">76734</a>
[classpath] Attemp to lock workspace during container initialization
<a name="v_700"></a>
<p><hr><h1>
Eclipse Platform Build Notes<br>
Java Development Tooling Core</h1>
Eclipse SDK 3.3M1 - 13th June 2006
<br>Project org.eclipse.jdt.core v_700
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_700">cvs</a>).
<h2>What's new in this drop</h2>
<ul>
<li>Progressive help message for the batch compiler.<br>
The new <tt>-help:warn</tt> option displays details about the various
parameters applicable to the <tt>-warn</tt> option; these details are no
more part of the general help message, which is thus more compact
(cf. bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=144248">144248</a>).
</li>
<li>Compiler is now better resilient to duplicate local variables, thus allowing further
operation to still be carried out accurately (codeselect, completion, search, DOM AST ops)
(cf. bug <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=144858">144858</a>).</li>
</ul>
<h3>Problem Reports Fixed</h3>
<a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=146215">146215</a>
JDT Core tests should not be dependent on HashMap implementation
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=144858">144858</a>
[compiler] Should be more resilient with duplicate locals
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=145746">145746</a>
[1.5][compiler] Enum synthetic methods should be improved
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=145732">145732</a>
[1.5][compiler] Inconsistent behavior in ECJ code for enum types
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=145516">145516</a>
Bad performance when compiling a java file with non java content
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=142897">142897</a>
[1.5][compiler] Compiler cannot resolve type of inner class of a bounded generic type
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=144976">144976</a>
[hierarchy] NPE in ReferenceBinding
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=145500">145500</a>
[hierarchy] Superclass could be more resilient
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=144866">144866</a>
[assist][javadoc] Wrong completion inside @value tag
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=144414">144414</a>
JDT Compiler fails while standard javac compiler can proceed
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=142772">142772</a>
[1.5][compiler] Compilation succeeds with static imports that fail with javac
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=143259">143259</a>
[1.5][compiler] NullPointerException in ReferenceBinding.binarySearch , Eclipse 3.2RC4
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=144426">144426</a>
[compiler] Compiler incorrectly reports "assignment to variable has no effect" when it is a duplicate
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=144248">144248</a>
[batch] Progressive help text
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=141512">141512</a>
[batch] re-format the help message so as to fit into 80 columns
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=141522">141522</a>
[compiler][batch] ClassFile#buildAllDirectoriesInto should protect itself
against concurrent directory creation
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=141330">141330</a>
[1.5][compiler] Suspicious error message for type mismatch
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=141252">141252</a>
[1.6]][compiler] ClassFormatError: Illegal class name "" in class file
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=141810">141810</a>
[1.5][compiler] Enum switch tables incorrectly generated by the compiler
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=141327">141327</a>
StackFrame and VerificationTypeInfo must call super.clone() in their clone() method
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=140476">140476</a>
JDOM: IDOMType.setSuperInterfaces(new String [0]) fails to remove existing implements clause
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=132430">132430</a>
[1.5][javadoc] Unwanted missing tag warning for overridden method with parameter containing type variable
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=130752">130752</a>
[comments] first BlockComment parsed as LineComment
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=140156">140156</a>
[1.5][search] Invalid method handle with parameterized parameters when no source is attached
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=123679">123679</a>
[search] missing icon or bad hit in search results
<br><a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=141550">141550</a>
Enable now passing tests
<p><hr>
For earlier build notes, also see <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.jdt.core/notes/R32_buildnotes_jdt-core.html">build notes up to Release 3.2</a>.
<br>
<p>
<a href="http://validator.w3.org/check?uri=referer"><img
src="http://www.w3.org/Icons/valid-html401"
alt="Valid HTML 4.01 Transitional" height="31" width="88"></a>
</p>
</body>
</html>