diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/server/PrivateKeyParserTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/server/PrivateKeyParserTests.java index 4000783fc6b2..d24bf322c2f5 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/server/PrivateKeyParserTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/server/PrivateKeyParserTests.java @@ -20,8 +20,6 @@ import java.security.interfaces.ECPrivateKey; import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.condition.EnabledForJreRange; -import org.junit.jupiter.api.condition.JRE; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.CsvSource; import org.junit.jupiter.params.provider.ValueSource; @@ -126,7 +124,6 @@ void shouldNotParseUnsupportedEcPkcs8(String file) { .hasMessageContaining("Unrecognized private key format"); } - @EnabledForJreRange(min = JRE.JAVA_17, disabledReason = "EdDSA is only supported since Java 17") @ParameterizedTest // @formatter:off @ValueSource(strings = { @@ -141,7 +138,6 @@ void shouldParseEdDsaPkcs8(String file) { assertThat(privateKey.getAlgorithm()).isEqualTo("EdDSA"); } - @EnabledForJreRange(min = JRE.JAVA_17, disabledReason = "XDH is only supported since Java 17") @ParameterizedTest // @formatter:off @ValueSource(strings = {