RFR[8246707]: '(sc) SocketChannel.read/write throws AsynchronousCloseException on closed channel'

Conor Cleary conor.cleary at oracle.com
Thu Jul 16 16:03:46 UTC 2020


Hi all,

Could someone please take a look at my webrev for JDK-8246707 '(sc) 
SocketChannel.read/write throws AsynchronousCloseException on closed 
channel'?

This fix addresses an issue where an AsynchronousCloseException was 
being thrown instead of a ChannelClosedException when 
SocketChannel.write() is called on a /closed/ SocketChannel.


bug: https://bugs.openjdk.java.net/browse/JDK-8246707
webrev: 
http://cr.openjdk.java.net/~ccleary/issues/webrevs-store/8246707/webrevs/webrev.02/


Regards,
Conor

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20200716/1af7f13e/attachment.htm>


More information about the nio-dev mailing list