Jump to: navigation, search

Difference between revisions of "JDT UI/Java7"

(New page: This page tracks the work in progress to add Java(TM) 7 support (mainly jsr334: project coin) into Eclipse JDT UI. See JDT Core/Java7 for the work in the JDT Core plug-ins. = Work ar...)
 
m (Work areas)
 
(14 intermediate revisions by 4 users not shown)
Line 8: Line 8:
 
|+ '''Java 7 features'''  
 
|+ '''Java 7 features'''  
 
|-
 
|-
! width="200" align="center" | Switch_on_Strings (Raksha)  
+
! width="200" align="center" style="background: none repeat scroll 0% 0% rgb(206, 206, 242);"| Switch_on_Strings (Raksha)  
! width="200" align="center" | Binary_Literals (Raksha)  
+
! width="200" align="center" style="background: none repeat scroll 0% 0% rgb(206, 206, 242);"| Binary_Literals (Raksha)  
! width="200" align="center" | Underscores_in_Literals (Raksha)  
+
! width="200" align="center" style="background: none repeat scroll 0% 0% rgb(206, 206, 242);"| Underscores_in_Literals (Raksha)  
! width="200" align="center" | Multi-catch (Deepak)  
+
! width="200" align="center" style="background: none repeat scroll 0% 0% rgb(206, 242, 206);"| Multi-catch (Deepak)  
! width="200" align="center" | More_Precise_Rethrow (Deepak)
+
! width="200" align="center" style="background: none repeat scroll 0% 0% rgb(206, 242, 206);"| More_Precise_Rethrow (Deepak)
 
|-
 
|-
! width="200" align="center" | Try-with-Resources (Deepak)  
+
! width="200" align="center" style="background: none repeat scroll 0% 0% rgb(206, 242, 206);"| Try-with-Resources (Deepak)  
! width="200" align="center" | Simplified_Varargs_Method_Invocation (Markus)  
+
! width="200" align="center" style="background: none repeat scroll 0% 0% rgb(206, 206, 242);"| Simplified_Varargs_Method_Invocation (Markus)  
! width="200" align="center" | Diamond (Markus)  
+
! width="200" align="center" style="background: none repeat scroll 0% 0% rgb(206, 206, 242);"| Diamond (Raksha)  
! width="200" align="center" | Polymorphic_Methods  
+
! width="200" align="center" style="background: none repeat scroll 0% 0% rgb(206, 206, 242);"| Polymorphic_Methods (Markus)
! width="200" align="center" | Unicode_6.0 (Dani)
+
! width="200" align="center" style="background: none repeat scroll 0% 0% rgb(206, 242, 206);"| Unicode_6.0 (Dani)
 
|}
 
|}
  
 
<br>  
 
<br>  
 +
 +
{| cellspacing="0" cellpadding="5" border="1" style="width: 300px; height: 25px;"
 +
|-
 +
! style="background: none repeat scroll 0% 0% rgb(206, 242, 206);" | &nbsp;&nbsp;
 +
| Completely implemented
 +
|-
 +
! style="background: none repeat scroll 0% 0% rgb(206, 206, 242);" | <br>
 +
| Tested and works but can be improved (e.g. by adding Quick Assists or Quick Fixes)
 +
|-
 +
! style="background: none repeat scroll 0% 0% rgb(242, 206, 206);" | <br>
 +
| Not done yet
 +
|}
  
 
= Things to remember/caveats  =
 
= Things to remember/caveats  =
Line 34: Line 46:
 
  &nbsp;*</code>
 
  &nbsp;*</code>
  
*Goal of the first pass is to make Eclipse work with the new language features. For more advanced support (new quick fixes / refactorings / templates / ...), please file a bug with the [1.7] tag.
+
*Goal of the first pass is to make Eclipse work with the new language features. For more advanced support (new quick fixes / refactorings / templates / ...), please [https://bugs.eclipse.org/bugs/enter_bug.cgi?product=JDT&component=UI&short_desc=%5B1.7%5D+ file a bug] with the [1.7] tag.
 +
 
 +
*Bugs that went into the BETA_JAVA7 branch should be RESOLVED/FIXED with Target Milestone "---" and the [1.7] tag in front of the summary.
  
 
*For ASTNode changes:  
 
*For ASTNode changes:  
Line 42: Line 56:
 
**Think about cases where code could use&nbsp;StructuralPropertyDescriptors
 
**Think about cases where code could use&nbsp;StructuralPropertyDescriptors
  
* Think about cases where new bindings can show up.
+
*Think about cases where new bindings can show up.
  
 
<br>  
 
<br>  
Line 49: Line 63:
  
 
See [[JDT Core/Java7#What_to_do_to_set_up_the_IDE]].
 
See [[JDT Core/Java7#What_to_do_to_set_up_the_IDE]].
 +
 +
[[Category:JDT]]

Latest revision as of 11:09, 20 March 2013

This page tracks the work in progress to add Java(TM) 7 support (mainly jsr334: project coin) into Eclipse JDT UI. See JDT Core/Java7 for the work in the JDT Core plug-ins.

Work areas

Dani will look at Content Assist. For other Eclipse features (Refactorings, Quick Fixes/Assists, Hovers, Source Actions, Search, etc.) see assignments below.

Java 7 features
Switch_on_Strings (Raksha) Binary_Literals (Raksha) Underscores_in_Literals (Raksha) Multi-catch (Deepak) More_Precise_Rethrow (Deepak)
Try-with-Resources (Deepak) Simplified_Varargs_Method_Invocation (Markus) Diamond (Raksha) Polymorphic_Methods (Markus) Unicode_6.0 (Dani)


   Completely implemented

Tested and works but can be improved (e.g. by adding Quick Assists or Quick Fixes)

Not done yet

Things to remember/caveats

  • The following lines should be added in all headers of modified files for the Java(TM) 7 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.
 *
  • Goal of the first pass is to make Eclipse work with the new language features. For more advanced support (new quick fixes / refactorings / templates / ...), please file a bug with the [1.7] tag.
  • Bugs that went into the BETA_JAVA7 branch should be RESOLVED/FIXED with Target Milestone "---" and the [1.7] tag in front of the summary.
  • For ASTNode changes:
    • Search for references to a changed AST Node and update code that relies on the concrete structure
    • Check references to superclasses of the changed/added node type. E.g. for UnionType, code that thinks it handles all known subtypes of Type needs to be adjusted.
    • Add new node types to switch or if-else-if statements
    • Think about cases where code could use StructuralPropertyDescriptors
  • Think about cases where new bindings can show up.


How to set up the IDE

See JDT Core/Java7#What_to_do_to_set_up_the_IDE.