RFR: 8353749: Improve security warning when using JKS or JCEKS keystores [v4]

Hai-May Chao hchao at openjdk.org
Thu Nov 20 23:15:18 UTC 2025


On Tue, 18 Nov 2025 23:59:35 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> Hai-May Chao has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Removed bugid from Compatibility.java test
>
> src/java.base/share/classes/com/sun/crypto/provider/JceKeyStore.java line 996:
> 
>> 994:                 + "keytool -importkeystore -srckeystore <keystore> "
>> 995:                 + "-destkeystore <keystore> -deststoretype pkcs12");
>> 996:     }
> 
> Currently the debug output has a long prefix containing timestamp etc. If the warning is separated on two lines, does it make sense to call `debug.println` twice so both lines have the prefix?

Done.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27624#discussion_r2548004556


More information about the security-dev mailing list