diff -r 389ce5f9a6d1 -r d3d6e4643560 jdk/src/share/classes/java/security/CodeSigner.java --- a/jdk/src/share/classes/java/security/CodeSigner.java Mon Feb 28 06:40:46 2011 -0500 +++ b/jdk/src/share/classes/java/security/CodeSigner.java Mon Feb 28 23:02:37 2011 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2011, 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 @@ -26,10 +26,7 @@ package java.security; import java.io.*; -import java.security.cert.CRL; import java.security.cert.CertPath; -import sun.misc.JavaSecurityCodeSignerAccess; -import sun.misc.SharedSecrets; /** * This class encapsulates information about a code signer. @@ -167,44 +164,6 @@ return sb.toString(); } - // A private attribute attached to this CodeSigner object. Can be accessed - // through SharedSecrets.getJavaSecurityCodeSignerAccess().[g|s]etCRLs - // - // Currently called in SignatureFileVerifier.getSigners - private transient CRL[] crls; - - /** - * Sets the CRLs attached - * @param crls, null to clear - */ - void setCRLs(CRL[] crls) { - this.crls = crls; - } - - /** - * Returns the CRLs attached - * @return the crls, initially null - */ - CRL[] getCRLs() { - return crls; - } - - // Set up JavaSecurityCodeSignerAccess in SharedSecrets - static { - SharedSecrets.setJavaSecurityCodeSignerAccess( - new JavaSecurityCodeSignerAccess() { - @Override - public void setCRLs(CodeSigner signer, CRL[] crls) { - signer.setCRLs(crls); - } - - @Override - public CRL[] getCRLs(CodeSigner signer) { - return signer.getCRLs(); - } - }); - } - // Explicitly reset hash code value to -1 private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException {