Skip to content

Commit

Permalink
8285785: CheckCleanerBound test fails with PasswordCallback object is…
Browse files Browse the repository at this point in the history
… not released

Reviewed-by: mbaesken
Backport-of: b9d1e85
  • Loading branch information
GoeLin committed Nov 15, 2023
1 parent df82c1c commit 74d8e49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/jdk/ProblemList.txt
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ com/sun/security/sasl/gsskerb/ConfSecurityLayer.java 8039280 generic-
com/sun/security/sasl/gsskerb/NoSecurityLayer.java 8039280 generic-all
javax/security/auth/kerberos/KerberosHashEqualsTest.java 8039280 generic-all
javax/security/auth/kerberos/KerberosTixDateTest.java 8039280 generic-all
javax/security/auth/callback/PasswordCallback/CheckCleanerBound.java 8285785,8286045,8287596 generic-all
javax/security/auth/callback/PasswordCallback/CheckCleanerBound.java 8286045 generic-all
sun/security/provider/PolicyFile/GrantAllPermToExtWhenNoPolicy.java 8039280 generic-all
sun/security/provider/PolicyParser/ExtDirsChange.java 8039280 generic-all
sun/security/provider/PolicyParser/PrincipalExpansionError.java 8039280 generic-all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public static void main(String[] args) throws Exception {
// Wait to trigger the cleanup.
for (int i = 0; i < 10 && weakHashMap.size() != 0; i++) {
System.gc();
Thread.sleep(100);
}

// Check if the object has been collected. The collection will not
Expand Down

0 comments on commit 74d8e49

Please sign in to comment.