<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
Thanks for reporting this. I think a lot of the comments in
build.gradle are outdated. I filed
<a class="moz-txt-link-freetext" href="https://bugs.openjdk.org/browse/JDK-8300700">https://bugs.openjdk.org/browse/JDK-8300700</a> to track this.<br>
<br>
-- Kevin<br>
<br>
<br>
<div class="moz-cite-prefix">On 1/19/2023 10:30 AM, Scott Palmer
wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAL3e5iF3HMwK2W1-Pgnjarrkmn_-V6jrPjAbLjbUSDX3G04K=w@mail.gmail.com">
<div dir="ltr">
<div>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..</div>
<div> "verion" at <a href="https://github.com/openjdk/jfx/blob/master/build.gradle#L617" moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/openjdk/jfx/blob/master/build.gradle#L617</a></div>
<div>But more significant, the actual command issued is "java
-fullversion" which outputs something substantially different.</div>
<div>
<div><br>
</div>
<div>
<div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;line-height:18px;white-space:pre"><div><span style="color:rgb(106,153,85)">// Determine the verion of Java in JDK_HOME. It looks like this:</span></div><div><span style="color:rgb(106,153,85)">//</span></div><div><span style="color:rgb(106,153,85)">// $ java -version</span></div><div><span style="color:rgb(106,153,85)">// java version "1.7.0_45"</span></div><div><span style="color:rgb(106,153,85)">// Java(TM) SE Runtime Environment (build 1.7.0_45-b18)</span></div><div><span style="color:rgb(106,153,85)">// Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)</span></div><div><span style="color:rgb(106,153,85)">//</span></div><div><span style="color:rgb(106,153,85)">// We need to parse the second line</span></div><div><span style="color:rgb(86,156,214)">def</span> <span style="color:rgb(156,220,254)">inStream</span> = <span style="color:rgb(197,134,192)">new</span> <span style="color:rgb(78,201,176)">java.io.BufferedReader</span>(<span style="color:rgb(197,134,192)">new</span> <span style="color:rgb(78,201,176)">java.io.InputStreamReader</span>(<span style="color:rgb(197,134,192)">new</span> <span style="color:rgb(78,201,176)">java.lang.ProcessBuilder</span>(<span style="color:rgb(156,220,254)">JAVA</span>, <span style="color:rgb(206,145,120)">"-fullversion"</span>).<span style="color:rgb(220,220,170)">start</span>().<span style="color:rgb(220,220,170)">getErrorStream</span>()));</div><div>
</div><div><span style="color:rgb(197,134,192)"></span></div></div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>