Integrated: 8303486: [REDO] Update ProcessTools.startProcess(...) to exit early if process exit before linePredicate is printed.

Leonid Mesnik lmesnik at openjdk.org
Mon Mar 6 15:35:13 UTC 2023


On Wed, 1 Mar 2023 20:50:38 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> It is the 2nd attempt to fix
> [JDK-8303133](https://bugs.openjdk.org/browse/JDK-8303133) Update ProcessTools.startProcess(...) to exit early if the process exit before linePredicate is printed.
> 
> The first fix failed because it runs
> Utils.waitForCondition(BooleanSupplier condition, long timeout, long sleepTime) { ..}
> with 0 as no timeout and not -1 as required.

This pull request has now been integrated.

Changeset: ae8730fd
Author:    Leonid Mesnik <lmesnik at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ae8730fd62b382564cda8749763b939aa2939225
Stats:     30 lines in 2 files changed: 18 ins; 3 del; 9 mod

8303486: [REDO] Update ProcessTools.startProcess(...) to exit early if process exit before linePredicate is printed.

Reviewed-by: dholmes

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

PR: https://git.openjdk.org/jdk/pull/12815


More information about the core-libs-dev mailing list