JDK-8200446 : Update minimum boot JDK to 10
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: build
  • Affected Version: openjfx11
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-03-29
  • Updated: 2018-06-15
  • Resolved: 2018-06-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
openjfx11Fixed
Related Reports
Blocks :  
Description
This issue proposes to bump the minimum boot JDK to jdk-10+46 which is the recently released GA build. It will also specify 'sourceCompatibility = 10' instead of 9 (1.9) for our source .java files.

We already use jdk-10+46 to build and test our FX 11 EA bits. Making this the minimum will allow JavaFX developers to take advantage of JDK 10 language features, such as 'var' for local variable type inference from JEP 286 (JDK-8151454) and JDK 10 APIs, if any are needed.

Comments
Changeset: 1faddd5e0caf Author: kcr Date: 2018-06-14 15:56 -0700 URL: http://hg.openjdk.java.net/openjfx/jfx-dev/rt/rev/1faddd5e0caf 8200446: Update minimum boot JDK to 10 (#61) Summary: 1) JDK 10 is now the minimum; 2) set sourceCompatibility=10 so we can use JDK 10 features Reviewed-by: prr, jvos
15-06-2018

This is blocked by the gradle upgrade, and will be put on hold for a couple of weeks. Until we upgrade gradle to at least 4.6, this change will cause thousands of warnings. In addition to the noise for developers, it makes the log files too big and causes the CI builds on github to fail. See https://github.com/javafxports/openjdk-jfx/pull/61#issuecomment-380926123
14-04-2018

The CI build system for the GitHub sandbox is still using JDK 9.0.4 as the boot JDK. This will need to be updated before we can push this change, else we break the CI build. See: https://github.com/javafxports/openjdk-jfx/issues/62
05-04-2018