RFR: 8303486: [REDO] Update ProcessTools.startProcess(...) to exit early if process exit before linePredicate is printed.
David Holmes
dholmes at openjdk.org
Thu Mar 2 06:23:11 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.
Looks good.
Thanks
-------------
Marked as reviewed by dholmes (Reviewer).
PR: https://git.openjdk.org/jdk/pull/12815
More information about the core-libs-dev
mailing list