RFR: 8343791: Socket.connect API should document whether the socket will be closed when hostname resolution fails or another error occurs [v13]

Volkan Yazıcı duke at openjdk.org
Mon Nov 25 09:28:36 UTC 2024


On Sun, 24 Nov 2024 14:56:00 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> I think we should update the socket adaptor at the same time, can you add the following to the change:

@AlanBateman, applied the patch in 36dd2a154129a97ad59aee82d1a1735a3f0cfbb3. Removed unused


private static InetSocketAddress Net::getLoopbackAddress(int port)


too. Shall I also add tests [similar to `CloseOnFailureTest`] for `SocketAdaptor` too?

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

PR Comment: https://git.openjdk.org/jdk/pull/22160#issuecomment-2497390663


More information about the net-dev mailing list