From 650236d11987cb75dc3ad9f0eef71b1a99f6e1b0 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 22 Jan 2026 10:45:43 +0100 Subject: [PATCH] Remove breaking and unnecessary Undertow TLS with RSA test The test starts breaking with JDK 17.0.18, because of this change: https://www.oracle.com/java/technologies/javase/17-0-18-relnotes.html#JDK-8245545 Closes gh-48937 --- .../undertow/UndertowServletWebServerFactoryTests.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/embedded/undertow/UndertowServletWebServerFactoryTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/embedded/undertow/UndertowServletWebServerFactoryTests.java index 79692703bf4..5a6f1a4436b 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/embedded/undertow/UndertowServletWebServerFactoryTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/embedded/undertow/UndertowServletWebServerFactoryTests.java @@ -44,8 +44,6 @@ import org.awaitility.Awaitility; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.condition.DisabledForJreRange; -import org.junit.jupiter.api.condition.JRE; import org.mockito.InOrder; import org.springframework.boot.testsupport.classpath.resources.WithPackageResources; @@ -305,14 +303,6 @@ class UndertowServletWebServerFactoryTests extends AbstractServletWebServerFacto new String[] { "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" }); } - @Test - @WithPackageResources("restricted.jks") - @DisabledForJreRange(min = JRE.JAVA_24) - void sslRestrictedProtocolsRSATLS12Success() throws Exception { - testRestrictedSSLProtocolsAndCipherSuites(new String[] { "TLSv1.2" }, - new String[] { "TLS_RSA_WITH_AES_128_CBC_SHA256" }); - } - @Test @WithPackageResources("restricted.jks") void sslRestrictedProtocolsRSATLS11Failure() {