RFR: 8359387: Bump minimum JDK version for JavaFX to JDK 23
Ambarish Rapte
arapte at openjdk.org
Tue Jun 17 15:51:13 UTC 2025
On Fri, 13 Jun 2025 17:57:43 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
> This PR bumps the minimum version of the JDK needed to run JavaFX to JDK 23.
>
> 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 recent 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 (23 in this specific case), is untested.
>
> This PR targeted to JavaFX 25, and must not be backported to any earlier version. This needs a CSR and a release note.
build.properties line 95:
> 93: jfx.build.jdk.version.min=23
> 94: jfx.build.jdk.buildnum.min=37
> 95: jfx.jdk.target.version=23
gradle 8.5 does not support JDK23 so jfx.gradle.version.min should be updated to 8.10.2
ref: https://docs.gradle.org/8.10.2/release-notes.html
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1827#discussion_r2149619555
More information about the openjfx-dev
mailing list