Jump to: navigation, search

Difference between revisions of "PDE/API Tools/Java8"

< PDE‎ | API Tools
(Current Status)
Line 11: Line 11:
 
! width="200" align="center" style="background: none repeat scroll 0% 0% rgb(242, 206, 206);" | Type Annotations
 
! width="200" align="center" style="background: none repeat scroll 0% 0% rgb(242, 206, 206);" | Type Annotations
 
! width="200" align="center" style="background: none repeat scroll 0% 0% rgb(242, 206, 206);" | Method References
 
! width="200" align="center" style="background: none repeat scroll 0% 0% rgb(242, 206, 206);" | Method References
 +
! width="200" align="center" style="background: none repeat scroll 0% 0% rgb(242, 206, 206);" | Update to ASM 5.x
 
|}
 
|}
  
Line 34: Line 35:
 
* ExtraDimension
 
* ExtraDimension
  
We would require a version of ASM to be able to read the classfiles containing Java 8 bytecodes to have the delta comparator work.
+
We have to update [http://forge.ow2.org/projects/asm/ ASM to a 5.x version] to have the delta comparator work.
 
+
Currently there is an issue open for Java 8 support in ASM, but does not appear to be worked on: [http://forge.ow2.org/tracker/index.php?func=detail&aid=316375&group_id=23&atid=350023 ASM bug 350023]
+
  
 
== Remaining Work ==
 
== Remaining Work ==

Revision as of 09:59, 21 January 2014

API Tools
Website
Download
Community
Mailing ListForumsIRC
Bugzilla
Open
Help Wanted
Bug Day
Contribute
Browse Source

This page summarizes all the work that must be done to add Java™ 8 support to API Tools.

Current Status at a Glance

Java 8 features
Default Methods Lambda Expressions Type Annotations Method References Update to ASM 5.x


   Completely tested

Partially tested or "requires more testing"

Not tested yet

Current Status

So far there are 4 nodes that we need to support in usage and tag scanning:

  • IntersectionType
  • LambdaExpression
  • PackageQualifiedType
  • ExtraDimension

We have to update ASM to a 5.x version to have the delta comparator work.

Remaining Work

TBD

How to Test

  1. Get the API tools source from the PDE UI git repo.
  2. Follow the instructions on testing the Java™ 8 support on the JDT Core wiki page.