> On 15 Mar 2017, at 18:53, Roger Riggs <roger.ri...@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: > http://cr.openjdk.java.net/~rriggs/webrev-processhandle-onexit-8176272/index.html
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. -Chris.