RFR: 8373690: Unexpected Keystore message using jdk.crypto.disabledAlgorithms [v2]

Sean Mullan mullan at openjdk.org
Mon Feb 23 21:28:20 UTC 2026


On Thu, 19 Feb 2026 23:42:09 GMT, Valerie Peng <valeriep 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
>
> Valerie Peng has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Address review comments.

src/java.base/share/classes/java/security/KeyStore.java line 1906:

> 1904:             throw new KeyStoreException("Keystore format " +
> 1905:                     matched +
> 1906:                     " disabled by jdk.crypto.disabledAlgrithms property");

s/disabledAlgrithms/disabledAlgorithms/

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29619#discussion_r2843153474



More information about the security-dev mailing list