Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
JDT Core/Java9
Java 9 landing page: Java9.
The root bug for all the work in JDT Core for Java 9 support is bug 457413.
Contents
Open issues
As of now, only JDK 9 contains jrt-fs.jar, which JDT uses to load the system classes. Without this in the JRE, it is impossible to recognize or do anything with a JRE 9. This is a major blocker issue for us. Oracle has a ticket for this - https://bugs.openjdk.java.net/browse/JDK-8153079
How to browse contents of another Java 9 installed JRE?
Note: This is solved now. With Jigsaw, the storage layout of a module is an internal implementation detail. Unlike with JARs in earlier versions of Java, there's no supported way to read the modules of a Java 9 install except via the "jrt:" protocol and its filesystem provider. Those approaches can only access the modules of the currently running VM. For other installed JREs, http://mail.openjdk.java.net/pipermail/jigsaw-dev/2015-January/004145.html has some discussions and a preliminary solution. However, the proposed hack doesn't solve the problem when trying to access another install when already running in Java 9 (because then, the local "jrt" protocol implementation wins).
Current Focus
The foremost goal for JDT should be to support projects with JDK 9 in their build path. This effort is being tracked by bug 459415.
IMPORTANT NOTES
- The following lines must be added in all headers of modified files for the Java™ 9 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. *
- Use
@since 3.12 BETA_JAVA9
on all newly added members (same bundle version as in Neon).