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

Daniel Fuchs daniel.fuchs at oracle.com
Thu Jul 16 16:26:13 UTC 2020


Hi Conor,

Ah! I see it now. Sneaky throwing in the finally clause :-)
You will need a test. Did you forget to `hg add` it before
calling webrev?

best regards,

-- daniel


On 16/07/2020 17:03, Conor Cleary wrote:
> 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
> 



More information about the nio-dev mailing list