> 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.
Volkan Yazıcı has updated the pull request incrementally with two additional commits since the last revision: - Use `ParameterizedTest` in `ConnectFailTest` - Remove forgotten `ThrowingSocketImpl` ------------- Changes: - all: https://git.openjdk.org/jdk/pull/22160/files - new: https://git.openjdk.org/jdk/pull/22160/files/c8bc5a3e..e919edb4 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=22160&range=20 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22160&range=19-20 Stats: 401 lines in 3 files changed: 79 ins; 271 del; 51 mod Patch: https://git.openjdk.org/jdk/pull/22160.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/22160/head:pull/22160 PR: https://git.openjdk.org/jdk/pull/22160