Integrated: 8272600: (test) Use native "sleep" in Basic.java

Roger Riggs rriggs at openjdk.java.net
Wed Sep 22 13:58:10 UTC 2021


On Tue, 24 Aug 2021 15:55:28 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> 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`.

This pull request has now been integrated.

Changeset: 0a361638
Author:    Roger Riggs <rriggs at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/0a361638c5ea4d3e109d950e34a61b4737c8f670
Stats:     174 lines in 2 files changed: 111 ins; 35 del; 28 mod

8272600: (test) Use native "sleep" in Basic.java

Reviewed-by: iklam, dholmes

-------------

PR: https://git.openjdk.java.net/jdk/pull/5239


More information about the core-libs-dev mailing list