Simplify Java version parsing in the build file

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • jfx24
    • Affects Version/s: jfx23
    • Component/s: javafx
    • 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.

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

              Created:
              Updated:
              Resolved: