JDK-8321603 : Bump minimum JDK version for JavaFX to JDK 21
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: build
  • Affected Version: jfx23
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-12-08
  • Updated: 2024-06-05
  • Resolved: 2024-02-23
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
jfx23 b07Fixed
Related Reports
Blocks :  
Blocks :  
CSR :  
Relates :  
Description
Even though we build JavaFX binaries with JDK 21 as the boot JDK (see JDK-8321435), the latest version of JavaFX still builds and runs with JDK 17, although it isn't tested with older JDK versions.

In order for JavaFX to be able to use newer JDK features, such as code snippets (in API docs), record patterns, Pattern Matching for switch statements, 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 little reason to continue to do so.

This JBS issue proposes to bump the minimum version of the JDK needed to run JavaFX to JDK 21. This enhancement must not be backported to any earlier version.

Comments
Changeset: afa206b5 Author: Kevin Rushforth <kcr@openjdk.org> Date: 2024-02-23 15:00:08 +0000 URL: https://git.openjdk.org/jfx/commit/afa206b546a580a784d830712be174bb84f09ee9
23-02-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jfx/pull/1370 Date: 2024-02-15 20:38:14 +0000
15-02-2024

This will need a CSR and a release note.
08-12-2023