RFR: 6914801: IPv6 unavailable if stdin is a socket

Michael McMahon michaelm at openjdk.org
Tue Jan 3 12:38:52 UTC 2023


On Mon, 2 Jan 2023 08:11:39 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

> Happy new year! Thanks Alan for checking this. Can I get a more formal review?
> 
> The test I added is basically a copy of EchoTest, except that 1) it runs only if an IPv6 socket can be opened by the harness, 2) the started application works only if it can open an IPv6 socket. I also modified the tests to use IPv4 sockets for communication when they are available. If IPv4 is not available, the test will use platform-default socket type, and should still pass.

Checking it now.

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

PR: https://git.openjdk.org/jdk/pull/11638


More information about the nio-dev mailing list