JDK-8209966 : Update minimum boot JDK to 11
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: build
  • Affected Version: jfx12
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-08-25
  • Updated: 2018-09-25
  • Resolved: 2018-09-25
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
jfx12Fixed
Related Reports
Blocks :  
Blocks :  
Blocks :  
Blocks :  
Description
This issue proposes to bump the minimum boot JDK to jdk-11+NN once the JDK 11 GA has been released.

Note that this will *not* change the 'sourceCompatibility' in gradle, which will remain at 10. That can be changed later.

We already use jdk-11 (EA build 27 or 28) to build and test openjfx 11 and openjfx 12. The Travis and Appveyor builds on the GitHub sandbox still use 10, but there is a GitHub issue in progress to fix this -- https://github.com/javafxports/openjdk-jfx/issues/159

Making JDK 11 the minimum will allow us to remove obsolete code in javafx.swing that requires qualified exports, and eliminate the need to bundle the Microsoft redistributable DLL files.
Comments
Changeset: 6331a47d206c Author: kcr Date: 2018-09-25 11:38 -0700 URL: http://hg.openjdk.java.net/openjfx/jfx-dev/rt/rev/6331a47d206c 8209966: Update minimum boot JDK to 11 Reviewed-by: prr, jvos
25-09-2018

Review on GitHub: https://github.com/javafxports/openjdk-jfx/pull/174
21-09-2018

We can file follow-on issues, linked as "blocked by" this issue, to: 1. Stop redistributing Microsoft DLLs (JDK-8210089 ) 2. Remove old javafx.swing implementation (JDK-8210092) 3. Build with --source 11 and --target 11 (JDK-8210093)
28-08-2018

This is in progress, but is waiting for two things: 1. The fix for JDK-8209967 to bump the minimum gradle version to 4.8 (under review) 2. The final GA release of JDK 11 (scheduled for 2018-09-25)
28-08-2018

Note that this issue requires bumping the minimum version of gradle to 4.8 (JDK-8209967), which is the version currently in use, and also requires changing the Appveyor and Travis builds on GitHub to use JDK 11 to build (so the test builds don't break ( https://github.com/javafxports/openjdk-jfx/issues/159 ).
25-08-2018