On Mon, 22 Jun 2026 14:56:08 GMT, Sean Mullan <[email protected]> wrote:

>> Hai-May Chao has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Update with Sean's comments
>
> src/java.base/share/classes/java/security/KeyStore.java line 865:
> 
>> 863:      * <li>the {@code jdk.crypto.legacyAlgorithms}
>> 864:      * {@link Security#getProperty(String) Security} property to 
>> determine
>> 865:      * if the specified keystore type is considered legacy. If so, it
> 
> To be more precise, I would say "If so, a warning is emitted at runtime when 
> this method is called with the keystore type."
> 
> This comment applies to all getInstance methods in this PR.

Done.

> src/java.base/share/classes/java/security/KeyStore.java line 866:
> 
>> 864:      * {@link Security#getProperty(String) Security} property to 
>> determine
>> 865:      * if the specified keystore type is considered legacy. If so, it
>> 866:      * emits a warning when the keystore type is requested.
> 
> Please add these sentences after this: "This warning is shown once per caller 
> for each legacy keystore type. If the keystore type is also disabled, the 
> warning will not be shown."
> 
> This comment applies to all `getInstance` methods in this PR.

Done.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31472#discussion_r3463041239
PR Review Comment: https://git.openjdk.org/jdk/pull/31472#discussion_r3463041021

Reply via email to