On Fri, 6 Feb 2026 23:12:49 GMT, Valerie Peng <[email protected]> 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

test/jdk/java/security/KeyStore/DisabledKnownType.java line 41:

> 39:         try {
> 40:             KeyStore ks = KeyStore.getInstance(new 
> java.io.File(cacertsPath),
> 41:                     "changeit".toCharArray());

Shouldn't this test throw exception if nothing is thrown?

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

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

Reply via email to