RFR: 8333742: ProcessImpl and ProcessHandleImpl may mishandle processes that exit with code 259

Daniel Jeliński djelinski at openjdk.org
Fri Jun 7 20:55:12 UTC 2024


On Fri, 7 Jun 2024 20:35:00 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> I don't follow. Could you explain?
>
> The `WaitForSingleObject(handle, 0)` seems like an indirect way to determine if the process is alive.
> Whereas `isProcessAlive(handle)` seems to directly answer the question.

sorry, I still don't get it. Are you telling me that I should use isProcessAlive to implement isProcessAlive? Because it doesn't look like a WinAPI function name,

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19586#discussion_r1631676183


More information about the core-libs-dev mailing list