[jdk13u-dev] Integrated: 8246707: (sc) SocketChannel.read/write throws AsynchronousCloseException on closed channel
Ekaterina Vergizova
evergizova at openjdk.java.net
Fri Mar 12 14:47:12 UTC 2021
On Fri, 12 Mar 2021 10:52:54 GMT, Ekaterina Vergizova <evergizova at openjdk.org> wrote:
> I'd like to backport JDK-8246707 to 13u for parity with 11u.
> The patch applies cleanly.
> Tested with tier1; new test fails without the patch, passes with it.
This pull request has now been integrated.
Changeset: 325657a6
Author: Ekaterina Vergizova <evergizova at openjdk.org>
URL: https://git.openjdk.java.net/jdk13u-dev/commit/325657a6
Stats: 150 lines in 2 files changed: 137 ins; 8 del; 5 mod
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.
Backport-of: 831f23ee86a158524dbf607428beb94f9c2a1552
-------------
PR: https://git.openjdk.java.net/jdk13u-dev/pull/146
More information about the jdk-updates-dev
mailing list