[jdk11u-dev] RFR: 8314063: The socket is not closed in Connection::createSocket when the handshake failed for LDAP connection

Matthias Baesken mbaesken at openjdk.org
Thu Nov 2 10:00:15 UTC 2023


On Fri, 20 Oct 2023 07:23:09 GMT, Andrew Lu <andrewlu at openjdk.org> wrote:

> 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

Marked as reviewed by mbaesken (Reviewer).

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

PR Review: https://git.openjdk.org/jdk11u-dev/pull/2197#pullrequestreview-1709855947


More information about the jdk-updates-dev mailing list