RFR: 8334719: (se) Deferred close of SelectableChannel may result in a Selector doing the final close before concurrent I/O on channel has completed [v2]

Alan Bateman alanb at openjdk.org
Tue Jun 25 18:17:10 UTC 2024


On Tue, 25 Jun 2024 15:54:25 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> > The new patched `InetSocketAddress` is probably going to be used by all other tests in the `test/jdk/java/nio/channels/Selector/` directory.
> 
> I was under the impression that it only gets used if the test explicitly states `@compile/module=java.base java/net/InetSocketAddress.java` in its test definition and then jtreg would add the following to the test launch command:


Yes, and it runs with `--patch-module java.base=.. ` so I wouldn't expect any interference. We should be able to quick check this by looking at the command in the .jtr file.

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

PR Comment: https://git.openjdk.org/jdk/pull/19879#issuecomment-2189660670


More information about the nio-dev mailing list