On Wed, 13 Apr 2022 07:01:19 GMT, Xue-Lei Andrew Fan <[email protected]> wrote:
>> How about this then?
>>
>> * <p>The returned parameters may be the same that were used to
>> initialize
>> * this cipher, or may contain additional default and random parameter
>> * values used by the underlying cipher implementation if this
>> * cipher can successfully generate the required parameter values when
>> * not supplied. Otherwise, {@code null} is returned.
>
> I like the revised spec more.
>
> BTW, for "... contain additional default and random parameter values ...", is
> "or" more common than "and" in English?
Hmm, the original javadoc has "and", so I just picked it up. Perhaps I should
change it to "or" then. Thanks.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8117