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

hedongbo hedongbo at huawei.com
Fri Feb 19 07:56:57 UTC 2021


Gentle Ping :-)

From: hedongbo
Sent: Tuesday, February 9, 2021 9:18 AM
To: jdk-updates-dev at openjdk.java.net
Subject: FW: [11u] RFR:8246707: (sc) SocketChannel.read/write throws AsynchronousCloseException on closed channel

Ping?

From: hedongbo
Sent: Wednesday, February 3, 2021 5:16 PM
To: jdk-updates-dev at openjdk.java.net<mailto:jdk-updates-dev at openjdk.java.net>
Subject: [11u] RFR:8246707: (sc) SocketChannel.read/write throws AsynchronousCloseException on closed channel


Hi,



Please review the backport of JDK-8246707 to 11u:



Bug: https://bugs.openjdk.java.net/browse/JDK-8246707

Original commit: https://hg.openjdk.java.net/jdk/jdk/rev/c8c6030e4d1f

11u webrev: http://cr.openjdk.java.net/~dongbohe/8246707/webrev.00/



This patch doesn't apply cleanly but is fairly trivial. The reason is that the latest jdk11u-dev has no ` blockingRead ` and `blockingWriteFully` function, because they were added in jdk13 through JDK-8222774.




Tested with tier1, tier2. No regression in tests.






Thanks,
dongbohe



More information about the jdk-updates-dev mailing list