RFR: 8272600: (test) Use native "sleep" in Basic.java [v3]
Roger Riggs
rriggs at openjdk.java.net
Wed Sep 1 15:05:34 UTC 2021
On Tue, 31 Aug 2021 01:26:17 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Revised to use native /bin/sleep program on Unix* (non-Windows).
>> For Windows, a native "BasicSleep" program is used.
>
> 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.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5239
More information about the core-libs-dev
mailing list