RFR: 8209038: Clarify the javadoc of Cipher.getParameters() [v3]

Valerie Peng valeriep at openjdk.java.net
Mon May 2 20:50:23 UTC 2022


On Thu, 28 Apr 2022 19:23:18 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> Valerie Peng has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Update for getParameters()
>
> src/java.base/share/classes/javax/crypto/CipherSpi.java line 449:
> 
>> 447:      *
>> 448:      * <p>Note that when a Cipher object is initialized, it loses all
>> 449:      * previously-acquired state. In other words, initializing a Cipher is
> 
> Two `{@code Cipher}` above.

Yes, I will look through the whole class (and CipherSpi.java too) regarding the Cipher vs cipher thing.

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

PR: https://git.openjdk.java.net/jdk/pull/8117



More information about the security-dev mailing list