Thanks for reporting this. I think a lot of the comments in build.gradle
are outdated. I filed https://bugs.openjdk.org/browse/JDK-8300700 to
track this.
-- Kevin
On 1/19/2023 10:30 AM, Scott Palmer wrote:
This isn't affecting anything, but while trying to figure out my build
issues I noticed this typo and mismatch between the comment and the code..
"verion" at https://github.com/openjdk/jfx/blob/master/build.gradle#L617
But more significant, the actual command issued is "java -fullversion"
which outputs something substantially different.
// Determine the verion of Java in JDK_HOME. It looks like this:
//
// $ java -version
// java version "1.7.0_45"
// Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
// Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
//
// We need to parse the second line
def inStream = new java.io.BufferedReader(new
java.io.InputStreamReader(new java.lang.ProcessBuilder(JAVA,
"-fullversion").start().getErrorStream()));