On Wed, 1 Sep 2021 15:02:44 GMT, Roger Riggs <[email protected]> wrote:
>> test/jdk/java/lang/ProcessBuilder/Basic.java line 2665:
>>
>>> 2663:
>>> 2664: Path exePath =
>>> Path.of(TEST_NATIVEPATH).resolve("BasicSleep.exe");
>>> 2665: System.out.println("exePath: " + exePath + ", canExec: "
>>> + exePath.toFile().canExecute());
>>
>> What is this for??
>
> Ioi was concerned that the fallback to Java would be used silently and the
> old intermittent issue would return.
Well Ioi asked for a comment explaining why the fallback was necessary, but the
println doesn't explain anything. I assume it should say something like "Unable
to find ... falling back to Java version"?
-------------
PR: https://git.openjdk.java.net/jdk/pull/5239