RFR 9: 8176272 : (process) ProcessHandle::onExit fails to wait for non-child process
chris.hegarty at oracle.com
Thu Mar 16 13:38:31 UTC 2017
> On 15 Mar 2017, at 18:53, Roger Riggs <Roger.Riggs at oracle.com> wrote:
> Hi Thomas,
> Good idea. Though it is unlikely that the pid would be re-used between the checks of isAlive
> but that will remove any window.
> Updated webrev:
This looks good to me Roger.
Trivially, I think I would have defined an
@Native static final int NOT_A_CHILD = -2;
, but that is just a minor cleanup/style comment.
More information about the core-libs-dev