jdt core - build notes 3.1 stream
java development tooling core
 
Here are the build notes for the Eclipse JDT/Core plug-in project org.eclipse.jdt.core, describing bug resolution and substantial changes in the HEAD branch. This present document covers all changes since Release 3.0 (also see a summary of API changes).
Maintenance of previous releases of JDT/Core is performed in parallel branches: R3.0.x, R2.1.x, R2.0.x, R1.0.x.


Eclipse Platform Build Notes 
Java Development Tooling Core

Eclipse SDK 3.1 - ?th September 2004 - J2SE 1.5 Preview
Project org.eclipse.jdt.core v_506 (cvs).

What's new in this drop

Problem Reports Fixed

72946 Refactoring context menu does not show inline action on local variables [refactoring] [inline temp]


Eclipse Platform Build Notes 
Java Development Tooling Core

Eclipse SDK 3.1 - 31st August 2004 - J2SE 1.5 Preview
Project org.eclipse.jdt.core v_505 (cvs).

What's new in this drop

Problem Reports Fixed

72772 [1.5][Search Engine] ClassCastException: org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding


Eclipse Platform Build Notes 
Java Development Tooling Core

Eclipse SDK 3.1 - 31st August 2004 - J2SE 1.5 Preview
Project org.eclipse.jdt.core v_504 (cvs).

What's new in this drop

Problem Reports Fixed

72942 [1.5] 'AT' is visible inside syntax error messages
68343 IDOMType.setSuperInterfaces() with empty array has no impact on Interfaces
72083 [1.5] NPE while compiling FindBugs
71080 [1.5] Type parameter bound > should be allowed
62070 Should revisit reference recording
36397 Compiling source which indirectly references unavailable classes
62822 [1.5] Bound mismatch: The type X is not a valid substitute for the bounded parameter
72094 NPE inside qualified type reference resolution
72468 "hierarchy of ... type is inconsistent" error message
59082 [1.5] Should not offer argument completion for non generic type
72501 [1.5] CodeAssist - ArrayIndexOutOfBoundsException with ParameterizedQualifiedTypeReference
72640 Codestream target level is initialized with source level
72560 [1.5] VerifyError in nested generics loop


Eclipse Platform Build Notes 
Java Development Tooling Core

Eclipse SDK 3.1 - 24th August 2004 - J2SE 1.5 Preview
Project org.eclipse.jdt.core v_503 (cvs).

What's new in this drop

Problem Reports Fixed

70193 DBCS – The GB18030 character cannot be correctly generated into “.classpath” file when new a source folder named with GB18030 character.
70997 Debugger doesn't stop in finally block
47074 inability to detect invalid cast between interfaces
71910 Weird exception handlers ranges with any exception handlers
72352 "No completion available" after cast to "String[]"
71702 code completion doesn't work anymore after Array cast.
68847 [1.5] DCR Signature: API to separate raw type and type parameters
72348 [1.5][Type Hierarchy] Super type hierarchy of class extending generic type is empty
72105 [1.5] NPE in SelectionEngine.selectFrom
72230 [1.5][Type Signature] IAE in createCharArrayTypeSignature
68506 Java code formatter strips newline, leaving final line unterminated!
59052 [1.5][reconciling] DOM conversion incomplete for generics
72248 [1.5] StackOverflowError caused by methods type variable
72233 IAE creating AST for java.lang.SuppressWarnings
57585 memory optimization in JavaModelCache
72238 [1.5] CodeAssist - Wrong completion inside parameterized type
68585 index is out of date after encoding change
68594 [1.5] NPE after code assist
70995 [1.5] Add 1.5 constructs in the code formatter
68842 [1.5] AST: parameter type binding: getKey seems wrong
71852 ClassCastException in HandleFactory.createElement(...)
69066 [1.5] getTypeArguments incorrect (?) when type argument is a type variable
68838 [1.5] AST: Missing bindings in type parameters


Eclipse Platform Build Notes 
Java Development Tooling Core

Eclipse SDK 3.1 - 10th August 2004 - J2SE 1.5 Preview - 3.1 MILESTONE 1
Project org.eclipse.jdt.core v_502 (cvs).

What's new in this drop

Problem Reports Fixed

66908 Code assist javadoc confused by duplicate java.lang.String
66570 Code assist fails due to capitalization
71705 [1.5] CodeAssist failure with simple test case
69598 [1.5] Auto Completion not available in new for-loop
71672 [1.5] MethodInvocation has no type arguments
67790 [1.5] AST: ConstructorInvocation type arguments not in source range
70292 [1.5] enum makes Copy, Cut commands fail
71241 [1.5] different methods with same erasure should not override
69901 [1.5] Interface / Generic: unchecked conversion should throw a warning
71467 JavaConventions.ValidatePackageName() does not return ERROR
71113 [1.5] improve DOM/AST specs for bindings for JLS3 constructs
71079 [1.5] ClassCastException resolving Javadoc
70969 [1.5] compile error with conditional operator and wildcards
70611 [1.5] Specific generic class declaration breaks save and load
69931 JDTCompilerAdapter prevents use of Cheetah
71007 [1.5] Qualified name not supported as member value
70984 [1.5] Invalid syntax error
70986 [Prefs] Old Java project prefs are not all stored while migrating to new API
70975 [1.5] Type mismatch when compiling against binary generic method
70656 [1.5] StackOverflow when resolving Enum


Eclipse Platform Build Notes 
Java Development Tooling Core

Eclipse SDK 3.1 - 27th July 2004 - J2SE 1.5 Preview - Codename "Cheetah"
Project org.eclipse.jdt.core v_501 (cvs).

What's new in this drop

Problem Reports Fixed

48336 [Search] Participants should surface in search progress
70598 [Encoding] ArrayIndexOutOfBoundsException while testing BOM on *.txt files
70767 [1.5] NPE compiling code with explicit constructor invocation
70717 Batch compiler should report compilation errors to console
70665 [DOM/AST] missing type parameters for constructor declaration in JLS3
70618 [1.5] Variable T should be allowed as argument of supertype
70616 [1.5] Unable to bind type variable in binary from Enum
70609 [1.5] NPE compiling Container
70606 [1.5] ClassCastException compiling DefaultTreeCellEditor
69351 [1.5] Error should be issued if generic type is extending Throwable
62822 [1.5] Bound mismatch: The type X is not a valid substitute for the bounded parameter
69626 [1.5] The return type is incompatible
41018 Method reference with member type parameter(s) not found
70053 [1.5] VerifyError - incompatible argument to function
69942 compiler warning for serializable classes that do not explicitly declare serialVersionUID
70398 Java AST creation error due to NullPointerException in IF statement test block.
43587 Searching for references to default constructors reports questionable results
70243 [1.5] no warning for unsafe cast
69799 [1.5] NPE when saving File with forEach loop
69320 [1.5] generic parameter type compiles by eclipse, not by javac
69800 [1.5] eclipse fails to report incompatible types
70295 [1.5] method(Class) is not applicable for Class
70247 [1.5] NPE in TypeVariableBinding
68726 [Javadoc] Target attribute in @see link triggers warning
68993 IllegalArgumentException when opening project preferences
69806 formatter doesn't handle strictfp correctly.
69776 [1.5] VerifyError: Incompatible object argument for function call
69713 [1.5] Cannot save java document, throws nullpointer
69542 [1.5] ByteCode differs from javac ByteCode in behaviour
69554 Eclipse Java compiler is not completely compliant to Javac
69658 typo in javadoc of ClassInstanceCreation
69308 All ASTNodes that deal with modifiers should offer a method setModifiers(List modifiers)
69302 [Javadoc] Invalid reference warning inconsistent with javadoc tool
69275 [Javadoc] Invalid warning on @see link
69272 [Javadoc] Invalid malformed reference (missing separator)
68087 [Javadoc] '-' character should be accepted in tag names
68025 Javadoc processing does not detect some wrong links
68017 Javadoc processing does not detect missing argument to @return
69573 [1.5] Missing Message for Compiler
69028 Anonymous type in argument of super() is not in type hierarchy
69375 [1.5] wildcards: no error for incorrect assignment
68698 Bug in inner class emulation:compiler doesn't reject illegal code.
69359 [1.5] Trouble with "unnecassary cast" warnings
69271 decimal integer literals should not consist of FULL WIDTH Unicode digits
69349 [DOM/AST] Wrong end position for method declaration
69152 [NPE] An internal error occurred during: "Override indicator installation job".
68010 [1.5] Return type of bridge method is not correct inside outliner
69170 [1.5] no error for new T[0]
69353 [1.5] Should reject usage of type parameter in catch block
69288 [1.5] Unsafe type operations should be reported against individual expressions
64305 [1.5] Bad "return type is incompatible" error for array values
69251 [1.5] can't instantiate bounded wildcard
69141 [1.5] Wildcards with lower bound do not work
69276 [1.5] NPE in ReturnStatement
64154 [1.5] incorrect 'constructor not visible'
65943 Closing/opening a project doesn't have the correct delta
68998 [1.5] NPE in java compiler
68146 Search should not populate Java model cache
67789 Java element delta from refresh contains excluded package
68845 [1.5] AST: AbstractTypeDeclaration should have resolveBinding
66512 Invalid classpath entry not rejected
67643 [1.5] Incompatible conditional operand types
68981 [1.5] NPE in code assist
68891 [1.5] TypeVariableBinding does not know his declaring type or method
68862 [1.5] ClassCastException when moving a a java file


Eclipse Platform Build Notes 
Java Development Tooling Core

Eclipse SDK 3.1 - 29th June 2004 - J2SE 1.5 Preview - Codename "Cheetah"
Project org.eclipse.jdt.core v_500 (Cheetah06) (cvs).

What's new in this drop

  • From target 1.5 on, the JSR bytecode instruction is no longer generated. As a consequence, the corresponding compiler option status will be ignored as soon as -target 1.5 is specified.
  • Batch compiler defaults to 1.5 source and target, when toggled in 1.5 compliant mode ("-1.5").
  • Added support for generics to JavaModel, thus enabling editor problem reconciling, outliner, type hierarchies.
  • Improved codeassist and codeselect handling of generics

Problem Reports Fixed

68837 [1.5] AST: Missing source range in parameterized type
68133 [1.5] VerifyError: Code segment has wrong length in class file
68863 Missing entry in local variable attribute
68440 [1.5] VerifyError with new for loop
64159 [1.5] call to addAll(Collection) incorrectly dissalowed
68602 [1.5] AST converter fails on local types
66424 [1.5] Collections in new style for loop
64417 [1.5] NPE in SourceTypeBinding.resolveTypesFor
68730 [1.5] No completion
65953 [1.5] Internal Compiler Error: ArrayIndexOutOfBoundsException
58470 [1.5] Source mapper fooled by generics
64336 [1.5] Signature does allow to create parameterized type signatures
68557 [1.5] ArrayIndexOutOfBoundsException in SourceTypeConverter
68006 [1.5] Invalid modifier after parse
65503 [1.5] "new" for-loop inside "old" for-loop gives error
65870 [1.5] AST creation fails when created with comments
64301 [1.5] Cast required where no cast should be required
63556 [1.5] Error when creating generic classes specializing distant generic parameters
63590 [1.5] Cheetah allows generic throws clause
63555 [1.5] Cannot put generic type fields inside static inner class
58722 [1.5] cannot extend interfaces


Eclipse Platform Build Notes 
Java Development Tooling Core

Eclipse Platform Build Notes 
Eclipse SDK 3.1 - 15th May 2004
Project org.eclipse.jdt.core v_429_Cheetah05 (cvs).

What's new in this drop

  • Cast/instanceof operations are now fully supported, along with extra diagnosis for unsafe type operations.
  • Explicit parameterizations of message sends and constructor calls are also supported.

Problem Reports Fixed

62416 [1.5] An error has occurred when creating this (Java) editor
62292 [1.5] Missing receiver in parameterized message send
61507 [1.5] NPE in computeCompatibleMethod
60681 [1.5] Return type not strict enough
60563 [1.5] VerifyError when using generics and arrays
59258 Possibility to share compiler preferences for a shared project
60556 [1.5] Collections.unmodifiableList(List)
58978 [1.5] Generic method needs better error reporting
59983 [1.5] Internal compiler error
58903 [1.5] Implementing inherited generic methods


Eclipse Platform Build Notes 
Java Development Tooling Core

Eclipse Platform Build Notes 
Eclipse SDK 3.1 - 23th April 2004
Project org.eclipse.jdt.core v_422_Cheetah04 (cvs).

What's new in this drop

  • Wildcard type compatibilities got reworked quite significantly. In particular, it now diagnoses usage of methods which parameters are of wildcard type (see 59641).
  • Covariance is still not supported, but the Cheetah can now issue synthetic bridge methods for allowing overriding to parameterized methods.

Problem Reports Fixed

59723 [1.5] Compiler rejects usage of ArrayList.toArray(char[][])
59628 [1.5] Erroneous diagnosis for missing abstract method implementation
59641 [1.5] Compiler should refuse usage of wildcard argument values
59147 [1.5] Compiler rejects correct code with wildcards and raw types
58979 [1.5] NullPointerException in compiler


Eclipse Platform Build Notes 
Java Development Tooling Core

Eclipse Platform Build Notes 
Eclipse SDK 3.1 - 16th April 2004
Project org.eclipse.jdt.core v_421_Cheetah03 (cvs).

What's new in this drop

  • The Cheetah is now able to digest generic methods and perform type inference. It also recognizes the Object.getClass() method and perform adequate substitutions (see 57784).
  • Generic types completion is available and type parameters are proposed as possible completions. Currently type parameter proposals are given by ICompletionRequestor#acceptClass().

Problem Reports Fixed

58715 [1.5] The return type is incompatible
58631 [1.5] Cycle in hierarchy no longer detected
58666 [1.5] Object.getClass() need to be treated special ?
57784 [1.5] Errors using Arrays.asList(T [])
58461 [1.5] java.lang.VerifyError from enhanced for loop


Eclipse Platform Build Notes 
Java Development Tooling Core

Eclipse Platform Build Notes 
Eclipse SDK 3.1 - 13th April 2004
Project org.eclipse.jdt.core v_421_Cheetah02 (cvs).

What's new in this drop

  • Properly decode signatures of parameterized member types which are flourishing in 1.5 class libs, and were reported as bogus inconsistencies with Cheetah01.

Problem Reports Fixed

53036 Incorrect highlighting for type problem in qualified type name
57716 [1.5] NPE compiling SelectionParser in source 1.5
57397 [1.5] Unable to save unit


Eclipse Platform Build Notes 
Java Development Tooling Core

Eclipse Platform Build Notes 
Eclipse SDK 3.1 - 4th April 2004
Project org.eclipse.jdt.core v_420_Cheetah01 (cvs).

What's new in this drop

  • JDK 1.5 support.
  • JavaCore 1.5 specific options. Either augmented to consider 1.5 or added.
    * COMPILER / Setting Compliance Level
    *    Select the compliance level for the compiler. In "1.3" mode, source and target settings
    *    should not go beyond "1.3" level.
    *     - option id:         "org.eclipse.jdt.core.compiler.compliance"
    *     - possible values:   { "1.3", "1.4", "1.5" }
    *     - default:           "1.4"
    * 
    * COMPILER / Setting Source Compatibility Mode
    *    Specify whether which source level compatibility is used. From 1.4 on, 'assert' is a keyword
    *    reserved for assertion support. Also note, than when toggling to 1.4 mode, the target VM
    *   level should be set to "1.4" and the compliance mode should be "1.4".
    *   Source level 1.5 is necessary to enable generics, autoboxing, covariance, annotations, enumerations
    *   enhanced for loop, static imports and varargs. Once toggled, the target VM level should be set to "1.5"
    *   and the compliance mode should be "1.5".
    *     - option id:         "org.eclipse.jdt.core.compiler.source"
    *     - possible values:   { "1.3", "1.4", "1.5" }
    *     - default:           "1.3"
    * 
    * COMPILER / Defining Target Java Platform
    *    For binary compatibility reason, .class files can be tagged to with certain VM versions and later.
    *    Note that "1.4" target require to toggle compliance mode to "1.4" too. Similarily, "1.5" target require
    *    to toggle compliance mode to "1.5".
    *     - option id:         "org.eclipse.jdt.core.compiler.codegen.targetPlatform"
    *     - possible values:   { "1.1", "1.2", "1.3", "1.4", "1.5" }
    *     - default:           "1.2"
    * 
    * COMPILER / Reporting Unsafe Type Operation
    *    When enabled, the compiler will issue an error or a warning whenever an operation involves generic types, and potentially
    *    invalidates type safety since involving raw types (e.g. invoking #foo(X) with arguments  (X)).
    *     - option id:         "org.eclipse.jdt.core.compiler.problem.unsafeTypeOperation"
    *     - possible values:   { "error", "warning", "ignore" }
    *     - default:           "warning"
    *
    * COMPILER / Reporting final Bound for Type Parameter
    *    When enabled, the compiler will issue an error or a warning whenever a generic type parameter is associated with a 
    *    bound corresponding to a final type; since final types cannot be further extended, the parameter is pretty useless.
    *     - option id:         "org.eclipse.jdt.core.compiler.problem.finalParameterBound"
    *     - possible values:   { "error", "warning", "ignore" }
    *     - default:           "ignore"
    

Problem Reports Fixed

56731 [1.5] NPE inside ClassFileStruct when compiling with jre 1.5.0
51262 [1.5] Handling of additional bounds in type parameters
52673 [1.5] ArrayStoreException in 1.5 parser


For earlier build notes, also see build notes up to Release 3.0.