RFR: 8346017: Socket.connect specified to throw UHE for unresolved address is problematic for SOCKS V5 proxy

Volkan Yazıcı duke at openjdk.org
Thu Dec 12 18:54:16 UTC 2024


On Thu, 12 Dec 2024 18:35:04 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> The method description of both Socket.connect methods will require adjustment to remove "If the endpoint is an unresolved InetSocketAddress". I think better to leave the @throws UHE but change the description to "If the connection could not be established because the socket address is unresolved".

@AlanBateman, implemented this change in ca0bef4044e5a0cba7e972be6277292f2d774b37.

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

PR Comment: https://git.openjdk.org/jdk/pull/22719#issuecomment-2539774848


More information about the net-dev mailing list