Review Request : JDK-8002306, (se) fails if invoked with thread interrupt status set [win]

Alan Bateman Alan.Bateman at
Tue Dec 18 13:17:55 PST 2012

On 18/12/2012 19:32, Dan Xu wrote:
> :
> I have updated my fix at, 
> <>.
> It removes checks of null or isConnected, and also addresses a 
> potential race situation by using an uninterruptible thread to 
> establish the loopback connections, which is the last resort to solve 
> the connection failures. In addition, the test is also updated to test 
> the pipe directly. Please review the new changes. Thanks!
> -Dan
I think the approach is good but I'd prefer if we didn't  duplicate the 
code to establish the loopback connection. If you could put this into 
own class (that implements Runnable) then you could invoke it directly 
first, and if that is interrupted then the background thread can invoke 
it from its run method.

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the nio-dev mailing list