RFR: 8303486: [REDO] Update ProcessTools.startProcess(...) to exit early if process exit before linePredicate is printed.
Leonid Mesnik
lmesnik at openjdk.org
Wed Mar 1 20:58:02 UTC 2023
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.
-------------
Commit messages:
- the additional fix
- Revert "8303421: [BACKOUT] 8303133: Update ProcessTools.startProcess(...) to exit early if process exit before linePredicate is printed."
Changes: https://git.openjdk.org/jdk/pull/12815/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12815&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8303486
Stats: 31 lines in 2 files changed: 18 ins; 3 del; 10 mod
Patch: https://git.openjdk.org/jdk/pull/12815.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/12815/head:pull/12815
PR: https://git.openjdk.org/jdk/pull/12815
More information about the core-libs-dev
mailing list