mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8284336: CDS SignedJar.java test fails due to archived Reference object
Reviewed-by: alanb, ccheung
This commit is contained in:
parent
1bd8975caf
commit
662320a0ec
5 changed files with 28 additions and 3 deletions
|
@ -2716,7 +2716,9 @@ public abstract class ClassLoader {
|
|||
* Called by the VM, during -Xshare:dump
|
||||
*/
|
||||
private void resetArchivedStates() {
|
||||
parallelLockMap.clear();
|
||||
if (parallelLockMap != null) {
|
||||
parallelLockMap.clear();
|
||||
}
|
||||
packages.clear();
|
||||
package2certs.clear();
|
||||
classes.clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue