JDK-8242614 : cleanup duplicated test ldap server in some com/sun/jndi/ldap/ tests
  • Type: Bug
  • Component: core-libs
  • Sub-Component: javax.naming
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-04-14
  • Updated: 2025-06-09
  • Resolved: 2020-04-22
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 15 JDK 7 JDK 8
11.0.10-oracleFixed 15 b20Fixed 7u481Fixed 8u331Fixed
Related Reports
Relates :  
Description
Since we have a common test ldap server implementation BaseLdapServer now, some com/sun/jndi/ldap tests which have duplicate test ldap server logic in test itself could be cleanup.

com/sun/jndi/ldap/DisconnectNPETest.java
com/sun/jndi/ldap/NoWaitForReplyTest.java
com/sun/jndi/ldap/LdapName/EmptyNameSearch.java
Comments
Fix request (11u) -- will label after testing completed. I would like to downport this for parity with 11.0.10-oracle. Applies clean except for two trivial resolves (Hashmap has template arguments in source). Test change only, no risk.
12-10-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/fa57d1ce1e1b User: xyin Date: 2020-04-22 01:46:59 +0000
22-04-2020

RFR: http://mail.openjdk.java.net/pipermail/core-libs-dev/2020-April/065940.html
21-04-2020