[jdk13u-dev] RFR: 8274524: SSLSocket.close() hangs if it is called during the ssl handshake
Xue-Lei Andrew Fan
xuelei at openjdk.java.net
Mon Feb 14 15:19:20 UTC 2022
On Mon, 14 Feb 2022 13:51:17 GMT, Alexey Bakhtin <abakhtin at openjdk.org> wrote:
> Backport of JDK-8274524 to JDK13u-dev
> Backport is almost clean except for trivial fix for Pattern Matching in the instanceof (not available in JDK13)
> sun/security/ssl/SSLSocketImpl tests passed
Looks good to me except a mini coding style comment.
src/java.base/share/classes/sun/security/ssl/SSLSocketImpl.java line 1769:
> 1767: } finally {
> 1768: if (soTimeout == 0)
> 1769: setSoTimeout(soTimeout);
Braces should be used for the if-clauses.
-------------
Marked as reviewed by xuelei (Reviewer).
PR: https://git.openjdk.java.net/jdk13u-dev/pull/326
More information about the jdk-updates-dev
mailing list