JDK 9 RFR of javadoc typo in PKCS8EncodedKeySpec

Xuelei Fan xuelei.fan at oracle.com
Tue Mar 10 01:02:32 UTC 2015


Looks fine to me.  Thanks!

Xuelei

On 3/10/2015 8:56 AM, joe darcy wrote:
> 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