Jump to: navigation, search

Java9

The goal of this page is to link to all other pages in the wiki related to Java 9 work. The root bug for all the work is bug 456778 .


Previews

Eclipse Java™ 9 Support (BETA) for Oxygen is available as an early-access feature patch on the Eclipse Marketplace.

  • This is constantly evolving and requires the most recent integration build of 4.7.

To test Java 9 features, you need a recent Java 9 install, available from http://jdk.java.net/9 .

Recent Java 9 previews require you to add --add-modules=java.se.ee to the vmargs, see https://www.eclipse.org/eclipse/news/4.6/platform.php#java-9

Update site for complete Eclipse SDK builds from the BETA_JAVA9 branches for JDT committers (others use at own risk):
http://download.eclipse.org/eclipse/updates/4.7-Y-builds

Development

  • 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.13 BETA_JAVA9 on all newly added members (same bundle version as in Oxygen).
  • Every week before the Thursday BETA_JAVA9 builds, we merge changes from master into the BETA_JAVA9 branch. This strategy avoids piling up large differences between the two main development branches, avoids all the problems with trying to cherry-pick individual commits, and makes it easy to provide a patch build on top of master. Changes that should go into master and BETA_JAVA9 should first be released to master and then merged over using the normal process. Additional merges can occur at any time when required.
    • The JDK 9 release is currently planned for September 21, 2017. Any change in the schedule will have an impact on Eclipse's support plan for Java 9.



If you have other interesting links for Eclipse Java 9 related work, please update this page.