jdk/src/share/classes/java/security/CodeSource.java
changeset 8784 29a6801dcf6f
parent 7970 af1579474d16
child 12434 fed433bd7b71
equal deleted inserted replaced
8782:1ff0b643b793 8784:29a6801dcf6f
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   576             bais.close();
   576             bais.close();
   577         }
   577         }
   578 
   578 
   579         // Deserialize array of code signers (if any)
   579         // Deserialize array of code signers (if any)
   580         try {
   580         try {
   581             this.signers = (CodeSigner[])ois.readObject();
   581             this.signers = ((CodeSigner[])ois.readObject()).clone();
   582         } catch (IOException ioe) {
   582         } catch (IOException ioe) {
   583             // no signers present
   583             // no signers present
   584         }
   584         }
   585     }
   585     }
   586 
   586