[jdk25u-dev] RFR: 8365398: TEST_BUG: java/rmi/transport/checkLeaseInfoLeak/CheckLeaseLeak.java failing intermittently

Roland Mesde duke at openjdk.org
Fri Feb 6 00:22:32 UTC 2026


Backporting JDK-8365398: TEST_BUG: java/rmi/transport/checkLeaseInfoLeak/CheckLeaseLeak.java failing intermittently.

This PR fixes intermittent failures in CheckLeaseLeak.java RMI test by synchronizing lease table checks with remote invocations.

For parity with Oracle JDK.

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

make test TEST=test/jdk/java/rmi/transport/checkLeaseInfoLeak/CheckLeaseLeak.java

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

Commit messages:
 - Backport 4b4d0cd35a32448e4b056109c502af2765766432

Changes: https://git.openjdk.org/jdk25u-dev/pull/243/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=243&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8365398
  Stats: 21 lines in 2 files changed: 14 ins; 2 del; 5 mod
  Patch: https://git.openjdk.org/jdk25u-dev/pull/243.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/243/head:pull/243

PR: https://git.openjdk.org/jdk25u-dev/pull/243


More information about the jdk-updates-dev mailing list