On Wed, 15 Oct 2025 15:06:48 GMT, Sean Mullan <[email protected]> wrote:

>> Anthony Scarpino has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   updates
>
> src/java.base/share/classes/javax/crypto/EncryptedPrivateKeyInfo.java line 
> 343:
> 
>> 341:      * @param password the password used for PBE encryption. This array 
>> is cloned
>> 342:      *                 before use.
>> 343:      * @param algorithm the PBE encryption algorithm. If {@code null}, 
>> the default
> 
> I think I commented on this before, but I think null should not be allowed. 
> This method should only be used when you want to specify your own algorithm.

I've changed the methods to disallow null

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27147#discussion_r2445823994

Reply via email to