RFR: 8365660: test/jdk/sun/security/pkcs11/KeyAgreement/ tests skipped without SkipExceprion
Francesco Andreuzzi
duke at openjdk.org
Mon Aug 18 08:36:16 UTC 2025
On Mon, 18 Aug 2025 08:06:42 GMT, Mikhail Yankelevich <myankelevich at openjdk.org> wrote:
> * Skipped exceptions added
> * minor cleanup
>
> tests changed:
> test/jdk/sun/security/pkcs11/KeyAgreement/TestDH.java
> test/jdk/sun/security/pkcs11/KeyAgreement/UnsupportedDHKeys.java
> test/jdk/sun/security/pkcs11/KeyAgreement/TestShort.java
> test/jdk/sun/security/pkcs11/KeyAgreement/SupportedDHKeys.java
> test/jdk/sun/security/pkcs11/KeyAgreement/TestInterop.java
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?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26816#discussion_r2281679053
More information about the security-dev
mailing list