Difference between revisions of "JDT UI/Java8"
(New page: This page tracks the work in progress to add Java™ 8 support (mainly jsr308 "Type Annotations" and jsr335 "Lambda Expressions") into Eclipse JDT UI. See JDT Core/Java8 for the wo...)
Revision as of 12:22, 7 March 2013
This page tracks the work in progress to add Java™ 8 support (mainly jsr308 "Type Annotations" and jsr335 "Lambda Expressions") into Eclipse JDT UI. See JDT Core/Java8 for the work in the JDT Core plug-ins.
- The following lines should be added in all headers of modified files for Java™ 8 implementation:
* This is an implementation of an early-draft specification developed under the Java * Community Process (JCP) and is made available for testing and evaluation purposes * only. The code is not compatible with any specification of the JCP. *
DOM AST node changes in JLS8
+ AnnotatableType (abstract superclass): + annotations (also in subtypes PrimitiveType, ArrayType, SimpleType, QualifiedType, WildcardType) + ExtraDimensions + annotations MethodDeclaration: +extraDimensions (incl. annotations on extra dimensions) +receiverType +receiverQualifier -thrownExceptions +thrownExceptionTypes SingleVariableDeclaration: +varargsAnnotations TypeParameter: +annotations VariableDeclaration: +extraDimensions (also in subtypes SingleVariableDeclaration, VariableDeclarationFragment) + LambdaExpression: + parentheses + parameters + body + resolveMethodBinding()
For JLS4, the changes were:
+ UnionType + types TryStatement: + resources