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.
Replacing the manual code with the JDK's simplifies the build file and is less error prone.
- blocks
-
JDK-8344728 ☂ Gradle build modernization
- Open
- links to
-
Commit(master) openjdk/jfx/4af67c12
-
Review(master) openjdk/jfx/1647