RFR: 8272600: (test) Use native "sleep" in Basic.java
Roger Riggs
rriggs at openjdk.java.net
Tue Aug 24 16:01:44 UTC 2021
The intermittent test in java/lang/ProcessBuilder/Basic.java has identified unexpected messages from a child Java VM
as the cause of the test failure. Attempts to control the output of the child VM have failed, the VM is unrepentant .
There is no functionality in the child except to wait long enough for the test to finish and the child is destroyed.
The fix is to switch from using a Java child to using a native child; a new executable `sleepmillis`.
-------------
Commit messages:
- 8272600: (test) Use native "sleep" in Basic.java
Changes: https://git.openjdk.java.net/jdk/pull/5239/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5239&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8272600
Stats: 116 lines in 2 files changed: 70 ins; 34 del; 12 mod
Patch: https://git.openjdk.java.net/jdk/pull/5239.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5239/head:pull/5239
PR: https://git.openjdk.java.net/jdk/pull/5239
More information about the core-libs-dev
mailing list