RFR: 8358764: (sc) SocketChannel.close when thread blocked in read causes connection to be reset (win)

Jaikiran Pai jpai at openjdk.org
Tue Jun 10 14:23:30 UTC 2025


On Tue, 10 Jun 2025 14:14:33 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> The NativeDispatcher and Net APIs are separate, the latter typically has very platform specific code to configure.

I was thinking of the `jdk.internal.util.OperatingSystem.isWindows()` instead of the JNI backed function.

> So it's just keeping to the existing architecture.

That answers my question. Thank you.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/25700#discussion_r2138040879


More information about the nio-dev mailing list