From a0195000c2e1eaed802ca9b25041c9a9ef73695e Mon Sep 17 00:00:00 2001 From: "Keith W. Campbell" Date: Tue, 13 Jun 2023 09:23:51 -0400 Subject: [PATCH] Don't test unavailable algorithms Support for EdDSA, Ed25519 and Ed448 was added in Java 15. Signed-off-by: Keith W. Campbell --- test/jdk/java/security/Signature/TestCloneable.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/jdk/java/security/Signature/TestCloneable.java b/test/jdk/java/security/Signature/TestCloneable.java index 33e2383cfa4..4312acd2c15 100644 --- a/test/jdk/java/security/Signature/TestCloneable.java +++ b/test/jdk/java/security/Signature/TestCloneable.java @@ -21,6 +21,12 @@ * questions. */ +/* + * =========================================================================== + * (c) Copyright IBM Corp. 2023, 2023 All Rights Reserved + * =========================================================================== + */ + /* * @test * @bug 8246077 @@ -45,7 +51,6 @@ public Object[][] testData() { return new Object[][] { { "SHA1withDSA", "SUN" }, { "NONEwithDSA", "SUN" }, { "SHA224withDSA", "SUN" }, { "SHA256withDSA", "SUN" }, - { "EdDSA", "SunEC" }, { "Ed25519", "SunEC" }, { "Ed448", "SunEC" }, { "SHA1withECDSA", "SunEC" }, { "SHA224withECDSA", "SunEC" }, { "SHA256withECDSA", "SunEC" }, { "SHA384withECDSA", "SunEC" }, { "SHA512withECDSA", "SunEC" }, { "NONEwithECDSA", "SunEC" },