On Fri, 15 Nov 2024 19:01:45 GMT, Volkan Yazıcı <d...@openjdk.org> wrote:

> This PR, addressing 8343791, changes `Socket::connect()` methods to close the 
> `Socket` in the event that the connection cannot be established, the timeout 
> expires before the connection is established, or the socket address is 
> unresolved.
> 
> `tier3` tests pass against the 9f00f61d3b7fa42a5e23a04f80bb4bb1a2076ef2.

This pull request has now been integrated.

Changeset: 3eb54615
Author:    Volkan Yazıcı <volkan.yaz...@oracle.com>
Committer: Jaikiran Pai <j...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/3eb54615783562f24e61983dfcc3cb823b27b0eb
Stats:     259 lines in 5 files changed: 217 ins; 33 del; 9 mod

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

Reviewed-by: dfuchs, alanb

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

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

Reply via email to