> This PR bumps the minimum version of the JDK needed to run JavaFX to **JDK > 21**. > > 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 > required 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 is targeted to JavaFX 23, and must not be backported to any earlier > version. This needs a CSR and a release note.
Kevin Rushforth has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision: - Merge remote-tracking branch 'upstream/master' into 8321603-jdk-21-min - 8321603: Bump minimum JDK version for JavaFX to JDK 21 ------------- Changes: - all: https://git.openjdk.org/jfx/pull/1370/files - new: https://git.openjdk.org/jfx/pull/1370/files/a08dfd2f..4577f37e Webrevs: - full: https://webrevs.openjdk.org/?repo=jfx&pr=1370&range=01 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1370&range=00-01 Stats: 210 lines in 29 files changed: 166 ins; 4 del; 40 mod Patch: https://git.openjdk.org/jfx/pull/1370.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/1370/head:pull/1370 PR: https://git.openjdk.org/jfx/pull/1370