Review Request : JDK-8002306, (se) Selector.open fails if invoked with thread interrupt status set [win]
Alan Bateman
Alan.Bateman at oracle.com
Mon Jan 7 08:36:09 PST 2013
On 03/01/2013 17:31, Dan Xu wrote:
> I have made changes to my previous fix, and the latest one can be
> reviewed at http://cr.openjdk.java.net/~dxu/8002306/webrev.03/. Please
> help review it. Thanks!
>
> -Dan
>
This looks much better, I think PipeImpl is okay now.
On the test then the assert in the run() method will only be effective
when running with -ea. That's okay except that if it fails then
AssertionError will be thrown and I don't think it will cause the test
to fail. The other thing about the test is that the main thread is
calling close to close the "last" Pipe instance. I don't think this is
needed, the Pipe can be local to tester and it can close the source/sink
always.
Otherwise I think we are close to the finish line on this one, I'm happy
to push it for you.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20130107/bb9bd975/attachment.html
More information about the nio-dev
mailing list