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

Simplify Java version parsing in the build file

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • jfx24
    • jfx23
    • javafx
    • None
    • b19

      The build file uses manual parsing of version strings. Java 9 added Runtime.Version (https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Runtime.Version.html) that does parsing and comparison (it implements Comparable).

      Replacing the manual code with the JDK's simplifies the build file and is less error prone.

            nlisker Nir Lisker
            nlisker Nir Lisker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: