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

Volkan Yazıcı duke at openjdk.org
Thu Nov 28 16:08:42 UTC 2024


On Thu, 28 Nov 2024 15:58:49 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> I will push an enhancement here. Allow me some time, please.
>
>> I will push an enhancement here. Allow me some time, please.
> 
> That's fine, it seems we have lacked good tests for these exceptional cases so probably not surprising that some issues turn up.

For the record, `Net::translateToSocketException` doesn't map `AlreadyConnectedException`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22160#discussion_r1862438716


More information about the net-dev mailing list