JDK-8221097 : Switch FX build to use JDK 12 as boot JDK
  • Type: Task
  • Component: javafx
  • Sub-Component: build
  • Affected Version: openjfx13
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-03-19
  • Updated: 2019-03-25
  • Resolved: 2019-03-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
openjfx13Fixed
Related Reports
Blocks :  
Blocks :  
Relates :  
Description
We need to switch to using JDK 12 as the boot JDK for building FX 13. This change blocks the following two issues:

JDK-8211308: Support HTTP/2 in WebView
JDK-8210508: Update JDK_DOCS property to point to JDK 12 docs

Note that this will not change the minimum JDK needed to build FX, which remains at JDK 11. It also will not bump the class file format for FX classes. We will still be able to run JavaFX 13 with JDK 11 (at least for now).

Note the following limitations after the above fixes are integrated.

JDK-8210508 -- When building with JDK 11 or 11.0.1, the docs will have broken links once this fix is integrated. Using JDK 11.0.2 will work

JDK-8211308 -- When running with JDK 11.*, WebView will fall back to HTTP/1
Comments
The version of the boot JDK for production builds is controlled entirely by the setup of the build machine; in this sense it is like the compiler toolchains. So the only thing needed is to update the build tools / setup scripts on the production build machines used to build JavaFX. No changes are needed in the HG jfx-dev/rt repo for this upgrade. As part of this change, I plan to update the CI build scripts in the GitHub sandbox to download and use jdk-12 as well. This will be done in a related GitHub PR -- https://github.com/javafxports/openjdk-jfx/pull/410 -- but that will not need to be pushed to HG since those files are exlusively GitHub-only files. As part of documenting the toolchains that we use for the build in a README file (see JDK-8214716), we will add the version of the boot JDK to that file.
19-03-2019