RFR: 8376601: Bump minimum JDK version for JavaFX to JDK 25

Kevin Rushforth kcr at openjdk.org
Wed Jan 28 17:52:57 UTC 2026


This PR bumps the minimum version of the JDK needed to run JavaFX to JDK 25.

In order for JavaFX to be able to use more recent JDK features, we should 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 continues our current practice of setting the minimum JDK for JavaFX N to JDK N-2. JavaFX N is primarily intended for use with JDK N and we also build and test it against JDK N-1 (which is typically what we use as the boot JDK). Anything older than that, including the proposed minimum JDK N-2 (25 in this specific case), is untested.

This PR targeted to master for JavaFX 27, and must not be backported to any earlier version. This needs a CSR and a release note.

-------------

Commit messages:
 - 8376601: Bump minimum JDK version for JavaFX to JDK 25

Changes: https://git.openjdk.org/jfx/pull/2056/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2056&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8376601
  Stats: 3 lines in 2 files changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jfx/pull/2056.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/2056/head:pull/2056

PR: https://git.openjdk.org/jfx/pull/2056


More information about the openjfx-dev mailing list