On Thu, 12 Feb 2026 11:54:40 GMT, Mikhail Yankelevich 
<[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?

Yes, good catch. Will fix.

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

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

Reply via email to