Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Java9"

(added Development section)
(linked new page Java9/ModularityOptions)
 
(19 intermediate revisions by 7 users not shown)
Line 7: Line 7:
 
*[[Debug/Java9|Platform - JDT/Debug]]<br>
 
*[[Debug/Java9|Platform - JDT/Debug]]<br>
 
*[[PDE/API_Tools/Java9|PDE/Api Tools]]<br>
 
*[[PDE/API_Tools/Java9|PDE/Api Tools]]<br>
*[[Java9-Features|Java9-Features]]<br>
+
*[[Java9/Features|Java 9 Features]]<br>
 +
*[[Java9/Use_cases| JDT Use Cases]]
 +
*[[Image:New-small.gif]] [[Java9/ModularityOptions]]
  
 
== Previews ==
 
== Previews ==
  
'''Eclipse Java™ 9 Support (BETA) for Neon''' is available as an early-access feature patch
+
<strike>'''Eclipse Java™ 9 Support (BETA) for Oxygen''' is available as an early-access feature patch on the Eclipse Marketplace</strike> (this preview is no longer available).
* via the p2 software repository: http://download.eclipse.org/eclipse/updates/4.6-P-builds/
+
* This is constantly evolving and requires the most recent integration build of 4.7.
* on the [https://marketplace.eclipse.org/content/java-9-support-beta-neon Eclipse Marketplace]
+
** [as of 2016-06-06] requires the Neon (4.6) release version of the SDK (or, until it is released, at least the RC4 or [http://download.eclipse.org/eclipse/downloads/drops4/S-4.6RC4a-201606061100/ RC4a] version).
+
  
To test Java 9 features, you need a recent Java 9 install, available from https://jdk9.java.net/ .
+
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 <code>-addmods java.se.ee</code> to the vmargs, see https://www.eclipse.org/eclipse/news/4.6/platform.php#java-9
+
Recent Java 9 previews require you to add <code>--add-modules=java.se.ee</code> 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):<br>
 +
http://download.eclipse.org/eclipse/updates/4.7-Y-builds
  
 
== Development ==
 
== Development ==
Line 28: Line 31:
 
  &nbsp;*
 
  &nbsp;*
  
* Use <code>@since 3.12 BETA_JAVA9</code> on all newly added members (same bundle version as in Oxygen).
+
* Use <code>@since 3.13 BETA_JAVA9</code> 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.
 
* 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 [http://openjdk.java.net/projects/jdk9/ JDK 9] release is currently planned for March 2017, around the time we ship Neon.3 and Oxygen M6. For Neon.3 we plan to directly merge the changed bundles (including all changes from master) into the R4_6_maintenance branch. We don't plan to create separate Neon.x maintenance builds that only contain Java-9-related changes.
+
** The [http://openjdk.java.net/projects/jdk9/ 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.
 
+
 
<br><br>
 
<br><br>
  
 
If you have other interesting links for Eclipse Java 9 related work, please update this page.
 
If you have other interesting links for Eclipse Java 9 related work, please update this page.

Latest revision as of 07:12, 19 July 2018

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 preview is no longer available).

  • 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.

Back to the top