Back to Development Resources.
This section describes the JDT/Core implementation of the official plan.
Work items completed in the 3.1 stream, also see build notes.
* COMPILER / Reporting Usage of 'enum' Identifier
* When enabled, the compiler will issue an error or a warning whenever 'enum' is
* used as an identifier (reserved keyword in 1.5)
* - option id: "org.eclipse.jdt.core.compiler.problem.enumIdentifier"
* - possible values: { "error", "warning", "ignore" }
* - default: "warning"
*
* 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 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"
*
* COMPILER / Reporting Forbidden Reference to Type with Restricted Access
* When enabled, the compiler will issue an error or a warning when referring to a type with restricted access, as defined according
* to the access restriction specifications.
* - option id: "org.eclipse.jdt.core.compiler.problem.forbiddenReference"
* - possible values: { "error", "warning", "ignore" }
* - default: "warning"
*
* COMPILER / Reporting Invalid Javadoc Tags with Deprecated References
* Specify whether the compiler will report deprecated references used in Javadoc tags.
* Note that this diagnosis can be enabled based on the visibility of the construct associated with the Javadoc;
* also see the setting "org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility".
* - option id: "org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef"
* - possible values: { "enabled", "disabled" }
* - default: "enabled"
*
* COMPILER / Reporting Invalid Javadoc Tags with Not Visible References
* Specify whether the compiler will report non-visible references used in Javadoc tags.
* Note that this diagnosis can be enabled based on the visibility of the construct associated with the Javadoc;
* also see the setting "org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility".
* - option id: "org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef"
* - possible values: { "enabled", "disabled" }
* - default: "enabled"
*
* COMPILER / Reporting Varargs Argument Needing a Cast in Method/Constructor Invocation
* When enabled, the compiler will issue an error or a warning whenever a varargs arguments should be cast
* when passed to a method/constructor invocation. (e.g. Class.getMethod(String name, Class ... args )
* invoked with arguments ("foo", null)).
* - option id: "org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast"
* - possible values: { "error", "warning", "ignore" }
* - default: "warning"
*
* COMPILER / Reporting Boxing/Unboxing Conversion
* When enabled, the compiler will issue an error or a warning whenever a boxing or an unboxing
* conversion is performed.
* - option id: "org.eclipse.jdt.core.compiler.problem.autoboxing"
* - possible values: { "error", "warning", "ignore" }
* - default: "ignore"
*
* COMPILER / Reporting Unchecked 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<String>) with arguments (X)).
* - option id: "org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation"
* - possible values: { "error", "warning", "ignore" }
* - default: "warning"
* CODEASSIST / Activate Access Restrictions Sensitive Completion
* When active, completion doesn't show that is access restricted.
* - option id: "org.eclipse.jdt.core.codeComplete.restrictionsCheck"
* - possible values: { "enabled", "disabled" }
* - default: "disabled"
These patches are not yet part of any official release or rollup; but provide an early access to the next delivery for quality assessment. If you find any regression using these patches, please inform the JDT/Core team by entering a bug report.
Batch compiler
|
|
posted on 2006/05/09, 1,11 MB (click on picture) |
|
|
posted on 2006/05/09, 921 KB (click on picture) |
| extracted from | release 3.1.2 |
| posted on 2007/11/02, 6,258 KB (click on picture) | |
| applies to | build R3.1.2 |
| description | Post 3.1.2 update. This patch can be applied by expanding the zip archive into the <install>/eclipse/plugins/
directory. Be sure to move the src zip files to the proper source
project.
Plug-in revision ID is "3.1.3". Corresponding sources are versioned using tag v_585b_R31x Addresses the following issues: 208263 [ast rewrite] performance problems with lots of changes 166977 [vista] Unexpected errors while running JDT/Core tests 97693 [1.5][compiler] Unchecked generic cast gives false compiler error. 122987 [1.5][compiler] Boxing conversion should be performed in conditional expression 126091 [1.5][compiler] Java compiler generates extra field for enums with abstract methods 126191 Code formatter doesn't format properly empty enums 126177 [1.5][compiler] Visibility issue with intersection type 126087 [1.5][compiler] Java compiler generates incorrect byte code for empty enums 124853 [compiler] Compiler generates wrong code (try-catch-finally) 125570 [1.5][compiler] Named inner inner classes have illegal names 124943 [1.4][compiler] 1.4 Compiler Compliance not working for compareTo 122995 [1.5][compiler] Access rules don't apply to generic types 123721 two types of 'remove' for TODO task tags Also see corresponding build notes. |
| posted on 2005/11/03, 6,119 KB (click on picture) | |
| applies to | build R3.1.1 |
| description | Early preview of 3.1.2 build. (Note that 3.1.2 builds are now available which make this preview obsolete. However it is kept for developpers that are still using 3.1.1). This patch can be applied by expanding the zip archive into the <install>/eclipse/plugins/
directory. Be sure to move the src zip files to the proper source
project.
Plug-in revision ID is "3.1.1". Corresponding sources are versioned using tag v_579d_R31x Addresses the following issues: 114855 [compiler] OutOfMemoryError compiling deeply nested try-catch 114304 [1.5][compiler] Return type not compatible with generic subinterface. 112109 Compilation problem: Eclipse does not recognise parametrized notify-method in generic context 113273 [1.5][compiler] Compiler confused by multiply bounded type parameter 106466 [1.5][compiler] Type parameter followed by other types in bound - rejected by javac, accepted by Eclipse 100970 [1.5][compiler] Interface methods may conflict with Object methods 100182 [1.5][compiler] unecessary cast in case of boxing 112231 [1.5][compiler] enum declaration 108856 [1.5][compiler] Inner inner classes have illegal names 105756 [1.5][model] Incorrect warning on using raw types 112666 [1.5][compiler] Compiler rejects valid assignment to complex capture 111350 [1.5][compiler] method override and generics 108782 [1.5][compiler] inconsistent @Override error 108780 [1.5][compiler] Subsignature checking does not respect erasure conversion 105808 [1.5][dom] MethodBinding#overrides(..) should not consider return types 112500 [1.5][compiler] bug between inference and wilcard 112268 [1.5][compiler] Type mismatch introduced in 3.1.1 111898 [compiler] Wrong code generation 107045 [1.5][compiler] Compiler misses name clash with bounded class type parameter 109118 [1.5][compiler] Unhandled Exception Compiler error involving generics in java 1.5 111703 Static initialization block in anonymous inner class causes compiler to fail 111208 [1.5][compiler] Compiler gets confused by multiple generic-extends' 111299 JavaModelCache may overflow the memory. 111014 Internal Compiler Error Also see corresponding build notes. |
pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse
R3_1_maintenance
branch of the project org.eclipse.jdt.core.