Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8321603

Bump minimum JDK version for JavaFX to JDK 21

XMLWordPrintable

    • b07

      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.

            kcr Kevin Rushforth
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: