On Fri, 17 Oct 2025 14:34:38 GMT, Roger Riggs <[email protected]> wrote:
>> src/java.base/share/classes/java/lang/Process.java line 247:
>>
>>> 245:
>>> 246: // Wait for the process to terminate, return true if the wait is
>>> interrupted.
>>> 247: private boolean waitForInterrupted() {
>>
>> tryWait that returns true when wait completes?
>
> ok, (But the code flow is only interested in the failure case not the success
> of wait)
awaitTermination might be better. It's all internal so don't have a strong
opinion.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26649#discussion_r2442935669