Review Request : JDK-8002306,(se) Selector.open fails if invoked with thread interrupt status set [win]
dan.xu at oracle.com
Mon Dec 10 14:28:23 PST 2012
Please help review the fix for JDK-8002306, Selector.open fails if
invoked with thread interrupt status set [win], at
On windows, we establish loopback socket connections every time a
selector is opened. But the connect operation will fail and throw out
ClosedByInterruptException if its current thread is interrupted. In
order to open a selector on an interrupted thread successfully, the fix
clears the interrupt status, establish socket connections, and reset the
status to interrupt afterwards to work around the restrictions. Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nio-dev