RFR: 8285785: CheckCleanerBound test fails with PasswordCallback object is not released

Xue-Lei Andrew Fan xuelei at openjdk.java.net
Thu Apr 28 07:10:01 UTC 2022


Hi,

May I have this test update reviewed?

The javax/security/auth/callback/PasswordCallback/CheckCleanerBound.java test case failed on one of the test setups.  The test runs gc in a loop and expects the GC to have garbage collected contents of a WeakHashMap. The loop runs for 10 iterations. Some delay needs to be added between each iteration to increase the chances of GC garbage collecting the instances.

Thanks,
Xuelei

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

Commit messages:
 - 8285785: CheckCleanerBound test fails with PasswordCallback object is not released

Changes: https://git.openjdk.java.net/jdk/pull/8443/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8443&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8285785
  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8443.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8443/head:pull/8443

PR: https://git.openjdk.java.net/jdk/pull/8443



More information about the security-dev mailing list