RFR: 8365660: test/jdk/sun/security/pkcs11/KeyAgreement/ tests skipped without SkipExceprion [v2]

Mikhail Yankelevich myankelevich at openjdk.org
Mon Aug 18 09:42:31 UTC 2025


On Mon, 18 Aug 2025 08:33:04 GMT, Francesco Andreuzzi <duke at openjdk.org> wrote:

>> Mikhail Yankelevich has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   exception message
>
> test/jdk/sun/security/pkcs11/KeyAgreement/UnsupportedDHKeys.java line 64:
> 
>> 62:     public void main(Provider provider) throws Exception {
>> 63:         if (provider.getService("KeyPairGenerator", "DiffieHellman") == null) {
>> 64:             throw new SkippedException("No supported of DH KeyPairGenerator, skipping");
> 
> Maybe this error message could be improved too?

I agree, should be done in the next commit

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26816#discussion_r2281860976


More information about the security-dev mailing list