8006741: javadoc cleanup for 6263419
Reviewed-by: alanb
diff --git a/src/share/classes/java/security/PrivateKey.java b/src/share/classes/java/security/PrivateKey.java
index 40f112a..7d8a7ea 100644
--- a/src/share/classes/java/security/PrivateKey.java
+++ b/src/share/classes/java/security/PrivateKey.java
@@ -40,7 +40,8 @@
* 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/src/share/classes/javax/crypto/SecretKey.java b/src/share/classes/javax/crypto/SecretKey.java
index c32eb71..e03639a 100644
--- a/src/share/classes/javax/crypto/SecretKey.java
+++ b/src/share/classes/javax/crypto/SecretKey.java
@@ -40,7 +40,8 @@
* 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.
*
* <p>Keys that implement this interface return the string {@code RAW}