RFR: 8373690: Unexpected Keystore message using jdk.crypto.disabledAlgorithms
Valerie Peng
valeriep at openjdk.org
Thu Feb 19 22:07:35 UTC 2026
On Wed, 11 Feb 2026 15:51:17 GMT, Sean Mullan <mullan at openjdk.org> wrote:
>> This PR changes the `KeyStore.getInstance(File, ...) method` to use a different exception message when the keystore type is found but disabled through the "jdk.crypto.disabledAlgorithms" property.
>>
>> Thanks in advance for the review~
>> Valerie
>
> src/java.base/share/classes/java/security/KeyStore.java line 1906:
>
>> 1904: throw new KeyStoreException("Possible keystore format " +
>> 1905: possibleMatch +
>> 1906: " disabled by jce.crypto.disabledAlgrithms property");
>
> s/jce/jdk/
Yes, right. Will fix.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29619#discussion_r2830383652
More information about the security-dev
mailing list