JDK 9 RFR of javadoc typo in PKCS8EncodedKeySpec
Jason Uh
jason.uh at oracle.com
Tue Mar 10 02:13:16 UTC 2015
Hi Joe,
Looks good to me. There actually is already a bug for this:
https://bugs.openjdk.java.net/browse/JDK-8074673
Thanks for the fix,
Jason
On 3/9/15 5:56 PM, 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