Skip to main content
Jump to: navigation, search

Difference between revisions of "Debug/Java8"

(Remaining Work)
 
(8 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
|+ '''Java 8 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(206, 206, 242);" | 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(206, 206, 242);" | 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(206, 206, 242);" | 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(206, 206, 242);" | Method References
 
|}
 
|}
  
Line 28: Line 28:
  
 
== Current Status ==
 
== Current Status ==
 
+
The following work items for Java 8 support:
No status yet.
+
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=421938 Bug 421938] - [1.8] ExecutionEnvironmentDescription#getVMArguments does not preserve VM arguments
 +
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=422016 Bug 422016] - [1.8] Having reference expressions or lambdas in file triggers warning for missing line numbers
 +
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=422029 Bug 422029] - [1.8] Enable debug evaluation support for default methods
 +
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=426903 Bug 426903] - [1.8] Cannot evaluate super call to default method
 +
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=427075 Bug 427075] - [1.8] Unable to set breakpoint in interface methods
 +
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=427077 Bug 427077] - [1.8] Unable to evaluate expressions in the context of an interface
 +
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=427082 Bug 427082] - [1.8] Hover does not show variable's value while debugging in lambda expression
 +
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=427089 Bug 427089] - [1.8] Debugger evaluations fail silently with lambdas or method references
 +
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=428862 Bug 428862] - [1.8] Unable to install breakpoint
  
 
== Remaining Work ==
 
== Remaining Work ==
  
TBD
+
The remaining work items for Java 8 support:
 +
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=421806 Bug 421806] - [1.8] Debug support for Java 8
 +
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=422015 Bug 422015] - [1.8] Handle debugger stack frames containing function objects and lambda implementation methods
 +
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=427086 Bug 427086] - [1.8] Cannot continue debugging -Obsolete methods on the stack
 +
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=427110 Bug 427110] - [1.8] Open Actual Type / Hierarchy in Variables view for lambda and method reference
 +
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=430839 Bug 430839] - [1.8] Cannot inspect static method of interface
 +
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=484032 Bug 484032] - [1.8] Stack frame for Lambda doesn't provide enough context in Variables view
 +
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=516278 Bug 516278] - [1.8] Lambda variables (closures) are not recognized by debugger variable inspector
 +
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=516319 Bug 516319] - [1.8] Variables view should show captured lambda variables
  
 
== How to Test ==
 
== How to Test ==
  
Instructions on how to test the Java™ 8 support can be found on the [[JDT_Core/Java8#What_to_do_to_set_up_the_IDE|JDT Core wiki page]].
+
# Get the debug source from the [http://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/log/?h=BETA_JAVA8| JDT Debug git repo].
 +
# Follow the instructions on testing the Java™ 8 support on the [[JDT_Core/Java8#What_to_do_to_set_up_the_IDE|JDT Core wiki page]].

Latest revision as of 05:05, 10 July 2017

Platform Debug
Website
Download
Community
Mailing ListForumsIRCmattermost
Bugzilla
OpenHelp WantedBug Day
Contribute
Browse Source
JDT Debug
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 JDT Debug.

Current Status at a Glance

Java 8 features
Default Methods Lambda Expressions Type Annotations Method References


   Completely implemented

Partially implemented or "can be improved"

Not tested yet

Current Status

The following work items for Java 8 support:

  • Bug 421938 - [1.8] ExecutionEnvironmentDescription#getVMArguments does not preserve VM arguments
  • Bug 422016 - [1.8] Having reference expressions or lambdas in file triggers warning for missing line numbers
  • Bug 422029 - [1.8] Enable debug evaluation support for default methods
  • Bug 426903 - [1.8] Cannot evaluate super call to default method
  • Bug 427075 - [1.8] Unable to set breakpoint in interface methods
  • Bug 427077 - [1.8] Unable to evaluate expressions in the context of an interface
  • Bug 427082 - [1.8] Hover does not show variable's value while debugging in lambda expression
  • Bug 427089 - [1.8] Debugger evaluations fail silently with lambdas or method references
  • Bug 428862 - [1.8] Unable to install breakpoint

Remaining Work

The remaining work items for Java 8 support:

  • Bug 421806 - [1.8] Debug support for Java 8
  • Bug 422015 - [1.8] Handle debugger stack frames containing function objects and lambda implementation methods
  • Bug 427086 - [1.8] Cannot continue debugging -Obsolete methods on the stack
  • Bug 427110 - [1.8] Open Actual Type / Hierarchy in Variables view for lambda and method reference
  • Bug 430839 - [1.8] Cannot inspect static method of interface
  • Bug 484032 - [1.8] Stack frame for Lambda doesn't provide enough context in Variables view
  • Bug 516278 - [1.8] Lambda variables (closures) are not recognized by debugger variable inspector
  • Bug 516319 - [1.8] Variables view should show captured lambda variables

How to Test

  1. Get the debug source from the JDT Debug git repo.
  2. Follow the instructions on testing the Java™ 8 support on the JDT Core wiki page.

Back to the top