diff options
| author | Bradford Wetmore <wetmore@openjdk.org> | 2021-03-11 00:26:26 +0000 |
|---|---|---|
| committer | Bradford Wetmore <wetmore@openjdk.org> | 2021-03-11 00:26:26 +0000 |
| commit | 32cbd193d9655825d10e07be50ab3b7550ecb401 (patch) | |
| tree | 617019487e06dbdf75bcd3cdb02104b132e3943e /src/java.base/share/classes/java/security/CodeSigner.java | |
| parent | 6971c23a3a2548eb0e8b6e50e2acadc4e16d32fb (diff) | |
| download | openjdk-32cbd193d9655825d10e07be50ab3b7550ecb401.tar.gz openjdk-32cbd193d9655825d10e07be50ab3b7550ecb401.zip | |
8263105: security-libs doclint cleanup
Reviewed-by: iris, darcy, dfuchs, mullan
Diffstat (limited to 'src/java.base/share/classes/java/security/CodeSigner.java')
| -rw-r--r-- | src/java.base/share/classes/java/security/CodeSigner.java | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/java.base/share/classes/java/security/CodeSigner.java b/src/java.base/share/classes/java/security/CodeSigner.java index fd7dccfec0c..bc7bc391fe0 100644 --- a/src/java.base/share/classes/java/security/CodeSigner.java +++ b/src/java.base/share/classes/java/security/CodeSigner.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2021, 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 @@ -48,7 +48,7 @@ public final class CodeSigner implements Serializable { */ private CertPath signerCertPath; - /* + /** * The signature timestamp. * * @serial @@ -165,7 +165,14 @@ public final class CodeSigner implements Serializable { return sb.toString(); } - // Explicitly reset hash code value to -1 + /** + * Restores the state of this object from the stream, and explicitly + * resets hash code value to -1. + * + * @param ois the {@code ObjectInputStream} from which data is read + * @throws IOException if an I/O error occurs + * @throws ClassNotFoundException if a serialized class cannot be loaded + */ @java.io.Serial private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { |
