[jdk11u-dev] RFR: 8314063: The socket is not closed in Connection::createSocket when the handshake failed for LDAP connection
Andrew Lu
andrewlu at openjdk.org
Fri Oct 20 07:33:41 UTC 2023
I backport this for parity with 11.0.22-oracle.
test/jdk/com/sun/jndi/ldap/LdapSSLHandshakeFailureTest.java
“if (socket instanceof SSLSocket sslSocket ” change to "if (socket instanceof SSLSocket) {
SSLSocket sslSocket = (SSLSocket)socket;" as it is not support in jdk11
-------------
Commit messages:
- Update LdapSSLHandshakeFailureTest.java
- Backport f2383b3cbd1096f0b38e89a3d876da2217511f11
Changes: https://git.openjdk.org/jdk11u-dev/pull/2197/files
Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2197&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8314063
Stats: 356 lines in 3 files changed: 290 ins; 42 del; 24 mod
Patch: https://git.openjdk.org/jdk11u-dev/pull/2197.diff
Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2197/head:pull/2197
PR: https://git.openjdk.org/jdk11u-dev/pull/2197
More information about the jdk-updates-dev
mailing list