RFR: JDK-8284851 Update javax.crypto files to use proper javadoc for mentioned classes [v2]

Valerie Peng valeriep at openjdk.org
Tue Jun 28 22:04:41 UTC 2022


On Tue, 28 Jun 2022 19:32:07 GMT, Mark Powers <duke at openjdk.org> wrote:

>> https://bugs.openjdk.org/browse/JDK-8284851
>
> Mark Powers has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Valerie fix

src/java.base/share/classes/javax/crypto/KeyGenerator.java line 60:

> 58:  * method in this {@code KeyGenerator} class that takes these two universally
> 59:  * shared types of arguments. There is also one that takes just a
> 60:  * {@code keysize} argument, and uses the SecureRandom implementation

Add `{@code }` to the SecureRandom?

src/java.base/share/classes/javax/crypto/KeyGenerator.java line 207:

> 205:      * for the specified algorithm.
> 206:      *
> 207:      * <p> This method traverses the list of registered security Providers,

Providers -> providers

src/java.base/share/classes/javax/crypto/KeyGenerator.java line 208:

> 206:      *
> 207:      * <p> This method traverses the list of registered security Providers,
> 208:      * starting with the most preferred Provider.

Provider -> provider

src/java.base/share/classes/javax/crypto/KeyGenerator.java line 211:

> 209:      * A new {@code KeyGenerator} object encapsulating the
> 210:      * {@code KeyGeneratorSpi} implementation from the first
> 211:      * Provider that supports the specified algorithm is returned.

Provider -> provider

-------------

PR: https://git.openjdk.org/jdk/pull/9282



More information about the security-dev mailing list