git: openjdk/jdk17u-dev: 8358764: (sc) SocketChannel.close when thread blocked in read causes connection to be reset (win)
Goetz Lindenmaier
goetz at openjdk.org
Mon Nov 10 20:14:43 UTC 2025
Changeset: e3c50e1b
Branch: master
Author: Goetz Lindenmaier <goetz at openjdk.org>
Date: 2025-11-10 20:11:46 +0000
URL: https://git.openjdk.org/jdk17u-dev/commit/e3c50e1b14afde0d02d8d39b3ae8569c97d1855b
8358764: (sc) SocketChannel.close when thread blocked in read causes connection to be reset (win)
Reviewed-by: mdoerr
Backport-of: 83f9c250221f707be484e0163fe9040f99474412
! src/java.base/share/classes/sun/nio/ch/Net.java
! src/java.base/share/classes/sun/nio/ch/SocketChannelImpl.java
! src/java.base/unix/native/libnio/ch/Net.c
! src/java.base/windows/native/libnio/ch/Net.c
+ test/jdk/java/nio/channels/SocketChannel/PeerReadsAfterAsyncClose.java
More information about the jdk-updates-changes
mailing list