JDK-8290530 : Bump minimum JDK version for JavaFX to JDK 17
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: build
  • Affected Version: jfx20
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-07-19
  • Updated: 2024-02-14
  • Resolved: 2022-07-28
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
jfx20 b02Fixed
Related Reports
CSR :  
Relates :  
Sub Tasks
JDK-8293714 :  
Description
Even though we build JavaFX binaries with JDK 18 as the boot JDK, the latest version of JavaFX still runs with JDK 11 (and is capable of being built using JDK 12 or later, and with some limitations, using JDK 11), although it isn't tested with older JDK versions.

In order for JavaFX to be able to use newer JDK features, such as records, switch expressions, text blocks, and so forth, we need to increase the minimum version of the JDK that can run the latest JavaFX. Additionally, there is an ongoing cost to keeping JavaFX buildable and runnable on older versions of Java, and very little reason to continue to do so.

This JBS issue proposed to bump the minimum version of the JDK needed to run JavaFX to JDK 17. This enhancement cannot be backported to any earlier version.

Comments
Changeset: 89d1cf2c Author: Kevin Rushforth <kcr@openjdk.org> Date: 2022-07-28 17:23:42 +0000 URL: https://git.openjdk.org/jfx/commit/89d1cf2cd74b0ccc69cd8c3f80325ae6abca4ff1
28-07-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jfx/pull/850 Date: 2022-07-26 14:04:44 +0000
26-07-2022