Jump to: navigation, search

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

< PDE‎ | API Tools
(New page: {{API_Tools}} This page summarizes all the work that must be done to add Java(tm) 8 support to API Tools. == Current Status at a Glance == {| cellspacing="0" cellpadding="5" border="1" a...)
 
(Current Status)
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{API_Tools}}
 
{{API_Tools}}
This page summarizes all the work that must be done to add Java(tm) 8 support to API Tools.
+
This page summarizes all the work that must be done to add Java&trade; 8 support to API Tools.
  
 
== Current Status at a Glance ==
 
== Current Status at a Glance ==
  
 
{| cellspacing="0" cellpadding="5" border="1" align="center"
 
{| cellspacing="0" cellpadding="5" border="1" align="center"
|+ '''Java 7 features'''  
+
|+ '''Java 8 features'''  
 
|-
 
|-
 
! width="200" align="center" style="background: none repeat scroll 0% 0% rgb(242, 206, 206);" | Default Methods
 
! width="200" align="center" style="background: none repeat scroll 0% 0% rgb(242, 206, 206);" | Default Methods
 
! width="200" align="center" style="background: none repeat scroll 0% 0% rgb(242, 206, 206);" | Lambda Expressions
 
! width="200" align="center" style="background: none repeat scroll 0% 0% rgb(242, 206, 206);" | Lambda Expressions
 
! 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
 
|}
 
|}
  
Line 27: Line 28:
 
== Current Status ==
 
== Current Status ==
  
No status yyet.
+
So far there are 4 nodes that we need to support in usage and tag scanning:
 +
* IntersectionType
 +
* LambdaExpression
 +
* PackageQualifiedType
 +
* 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.
 +
 
 +
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 ==
Line 35: Line 44:
 
== How to Test ==
 
== How to Test ==
  
Instructions on how to test the Java(tm) 8 support can be found on the [[JDT_Core/Java8#What_to_do_to_set_up_the_IDE|JDT Core wiki page]].
+
# Get the API tools source from the [http://git.eclipse.org/c/pde/eclipse.pde.ui.git/log/?h=BETA_JAVA8| PDE UI git repo].
 +
# Follow the instructions on testing the Java&trade; 8 support on the [[JDT_Core/Java8#What_to_do_to_set_up_the_IDE|JDT Core wiki page]].

Revision as of 11:56, 17 June 2013

API Tools
Website
Download
Community
Mailing ListForumsIRCmattermost
Bugzilla
OpenHelp WantedBug 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


   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 would require a version of ASM to be able to read the classfiles containing Java 8 bytecodes 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: ASM bug 350023

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.