[9] RFR of 8071599: (so) Socket adapter sendUrgentData throws IllegalBlockingMode when channel configured non-blocking
Alan Bateman
Alan.Bateman at oracle.com
Fri Feb 27 21:06:49 UTC 2015
On 27/02/2015 18:14, Brian Burkhalter wrote:
> I would like to reprise this discussion [1] with a simpler patch.
>
> Issue:https://bugs.openjdk.java.net/browse/JDK-8071599
> Patch:http://cr.openjdk.java.net/~bpb/8071599/webrev.02/
> <http://cr.openjdk.java.net/%7Ebpb/8071599/webrev.02/>
>
This looks good to me. Arguably it should synchronized on the
blockingLock but it doesn't have to because it will never block and will
be correcly synchronized with other writers due to the writeLock.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20150227/7e9a1bea/attachment.html>
More information about the nio-dev
mailing list