--- old/src/java.base/share/classes/java/security/SecureClassLoader.java 2020-07-22 12:00:40.140122948 -0700 +++ new/src/java.base/share/classes/java/security/SecureClassLoader.java 2020-07-22 12:00:39.960116172 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -269,4 +269,9 @@ return cs.matchCerts(csk.cs, true); } } + + // Called from VM only, during -Xshare:dump + private void resetArchivedStates() { + pdcache.clear(); + } }