JDK 9 RFR of javadoc typo in PKCS8EncodedKeySpec

joe darcy joe.darcy at oracle.com
Tue Mar 10 00:56:41 UTC 2015


Hello,

When doing a JDK docs build, I noticed a javadoc warning is reported for 
PKCS8EncodedKeySpec; the type is missing the "code" in a {@code ...} tag.

Patch below. Upon successful review, I'll file a bug.

Thanks,

-Joe

diff -r 439cf0adaf29 
src/java.base/share/classes/java/security/spec/PKCS8EncodedKeySpec.java
--- 
a/src/java.base/share/classes/java/security/spec/PKCS8EncodedKeySpec.java Mon 
Mar 09 17:37:34 2015 -0700
+++ 
b/src/java.base/share/classes/java/security/spec/PKCS8EncodedKeySpec.java Mon 
Mar 09 17:55:01 2015 -0700
@@ -89,7 +89,7 @@
       * Java Cryptography Architecture Standard Algorithm Name 
Documentation</a>
       * for information about standard algorithm names.
       * @throws NullPointerException if {@code encodedKey}
-     * or {@algorithm} is null.
+     * or {@code algorithm} is null.
       * @throws IllegalArgumentException if {@code algorithm} is
       * the empty string {@code ""}
       * @since 1.9




More information about the security-dev mailing list