if you do get interrupted, the interrupt is swallowed, which seems wrong. Other waiting methods have "uninterruptible" variants, that restore the interrupt status, like Semaphore.acquireUninterruptibly. Should there be a Process.waitForUninterruptibly?
On Mon, Jun 15, 2015 at 1:37 PM, Roger Riggs <roger.ri...@oracle.com> wrote: > Please review a fix for a (Unix) race condition for the exit status of > Process.onExit. > And some source cleanup of OnExitTest. > > Webrev: > http://cr.openjdk.java.net/~rriggs/webrev-race-8086208/ > > Issue: > https://bugs.openjdk.java.net/browse/JDK-8086208 > > Roger > >