--- old/src/java.base/share/classes/java/security/SecureClassLoader.java 2020-08-31 08:09:29.191988327 -0700 +++ new/src/java.base/share/classes/java/security/SecureClassLoader.java 2020-08-31 08:09:28.963979745 -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,11 @@ return cs.matchCerts(csk.cs, true); } } + + /** + * Called by the VM, during -Xshare:dump + */ + private void resetArchivedStates() { + pdcache.clear(); + } }