[jdk21u-dev] RFR: 8375999: com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails sporadically on Windows

Roland Mesde duke at openjdk.org
Tue Feb 24 20:53:22 UTC 2026


Backporting JDK-8375999: com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails sporadically on Windows.

This PR fixes sporadic LdapPoolTimeoutTest.java failures on Windows by restoring a Windows-specific exception message that was accidentally removed in https://bugs.openjdk.org/browse/JDK-8287062, which in turn was added for parity with Oracle JDK. Already backported to 25.

Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:

make test TEST=test/jdk/com/sun/jndi/ldap/LdapPoolTimeoutTest.java

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

Depends on: https://git.openjdk.org/jdk21u-dev/pull/2625

Commit messages:
 - Backport 90b546925397ff7cdd1591291e1b87d0bac5604a

Changes: https://git.openjdk.org/jdk21u-dev/pull/2635/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2635&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8375999
  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/2635.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/2635/head:pull/2635

PR: https://git.openjdk.org/jdk21u-dev/pull/2635


More information about the jdk-updates-dev mailing list