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

Valerie Peng valeriep at openjdk.java.net
Mon May 2 20:55:31 UTC 2022


On Fri, 29 Apr 2022 15:18:34 GMT, Sean Mullan <mullan 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/Cipher.java line 1055:
> 
>> 1053:      * values used by the underlying cipher implementation. If the required
>> 1054:      * parameters were not supplied and the underlying cipher implementation
>> 1055:      * can generate the parameter values, it will be returned. Otherwise,
> 
> "it will be returned" sounds a bit awkward here. I would change this to "the generated parameter values will be returned".

Ok.

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

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



More information about the security-dev mailing list