JDK-8251188 : Update LDAP tests not to use wildcard addresses
  • Type: Bug
  • Component: core-libs
  • Sub-Component: javax.naming
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2020-08-05
  • Updated: 2025-06-29
  • Resolved: 2020-09-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 16 JDK 8 Other
11.0.24-oracleFixed 16 b18Fixed 8u421Fixed openjdk8u442,shenandoah8u432Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Description
The following tests use LDAP test servers which bind to the wildcard address:
test/jdk/com/sun/jndi/ldap/DeadSSLLdapTimeoutTest.java
test/jdk/com/sun/jndi/ldap/BalancedParentheses.java
test/jdk/com/sun/jndi/ldap/blits/AddTests/AddNewEntry.java

Tests which use LDAPTestUtils.java need to be analysed to see if server socket is not bound to the wildcard address
Comments
Fix Request (8u) The patch is not clean. The fix for the test bug. Review 8u-dev: https://git.openjdk.org/jdk8u-dev/pull/585
01-10-2024

Fix Request (11u) The patch is clean. The fix for the test bug. Review 11u-dev: https://git.openjdk.org/jdk11u-dev/pull/2947
01-10-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk8u-dev/pull/585 Date: 2024-09-30 18:04:37 +0000
30-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk11u-dev/pull/2947 Date: 2024-09-30 17:35:00 +0000
30-09-2024

Changeset: a75edc29 Author: Aleksei Efimov <aefimov@openjdk.org> Date: 2020-09-25 12:46:08 +0000 URL: https://git.openjdk.java.net/jdk/commit/a75edc29
25-09-2020