RFR 9: 8086208 : java/lang/ProcessHandle/OnExitTest.java: IllegalThreadStateException: process hasn't exited
Martin Buchholz
martinrb at google.com
Mon Jun 15 20:46:34 UTC 2015
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.Riggs at 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
>
>
More information about the core-libs-dev
mailing list