From cd509df8b65f4c04f205e2816d658d4134fa6cdc Mon Sep 17 00:00:00 2001 From: Vinnie Ryan Date: Wed, 23 Jan 2013 09:49:10 +0000 Subject: [PATCH] 8006741: javadoc cleanup for 6263419 Reviewed-by: alanb --- jdk/src/share/classes/java/security/PrivateKey.java | 3 ++- jdk/src/share/classes/javax/crypto/SecretKey.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/jdk/src/share/classes/java/security/PrivateKey.java b/jdk/src/share/classes/java/security/PrivateKey.java index 40f112aa2fd..7d8a7ea7041 100644 --- a/jdk/src/share/classes/java/security/PrivateKey.java +++ b/jdk/src/share/classes/java/security/PrivateKey.java @@ -40,7 +40,8 @@ package java.security; * sensitive key information to be destroyed, cleared, or in the case * where such information is immutable, unreferenced. * Finally, since {@code PrivateKey} is {@code Serializable}, implementations - * should also override {@link java.io.ObjectOutputStream.writeObject} + * should also override + * {@link java.io.ObjectOutputStream#writeObject(java.lang.Object)} * to prevent keys that have been destroyed from being serialized. * * @see Key diff --git a/jdk/src/share/classes/javax/crypto/SecretKey.java b/jdk/src/share/classes/javax/crypto/SecretKey.java index c32eb7108b6..e03639ab42a 100644 --- a/jdk/src/share/classes/javax/crypto/SecretKey.java +++ b/jdk/src/share/classes/javax/crypto/SecretKey.java @@ -40,7 +40,8 @@ package javax.crypto; * sensitive key information to be destroyed, cleared, or in the case * where such information is immutable, unreferenced. * Finally, since {@code SecretKey} is {@code Serializable}, implementations - * should also override {@link java.io.ObjectOutputStream.writeObject} + * should also override + * {@link java.io.ObjectOutputStream#writeObject(java.lang.Object)} * to prevent keys that have been destroyed from being serialized. * *

Keys that implement this interface return the string {@code RAW}