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

Andrew Lu andrewlu at openjdk.org
Mon Nov 6 08:30:32 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

This pull request has now been integrated.

Changeset: 9abfddec
Author:    Andrew Lu <andrewlu at openjdk.org>
Committer: Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.org/jdk11u-dev/commit/9abfddecff40a90d4915bf921c8a22f797a65f22
Stats:     356 lines in 3 files changed: 290 ins; 42 del; 24 mod

8314063: The socket is not closed in Connection::createSocket when the handshake failed for LDAP connection

Reviewed-by: mbaesken
Backport-of: f2383b3cbd1096f0b38e89a3d876da2217511f11

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

PR: https://git.openjdk.org/jdk11u-dev/pull/2197


More information about the jdk-updates-dev mailing list