Skip to content

Commit 0611192

Browse files
committed
Enable KotlinScriptTemplateTests in Spring MVC on Java 20
See gh-29249 Closes gh-30896
1 parent be8bfad commit 0611192

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-webmvc/src/test/java/org/springframework/web/servlet/view/script/KotlinScriptTemplateTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
import org.springframework.web.testfixture.servlet.MockServletContext;
3636

3737
import static org.assertj.core.api.Assertions.assertThat;
38-
import static org.junit.jupiter.api.condition.JRE.JAVA_20;
38+
import static org.junit.jupiter.api.condition.JRE.JAVA_21;
3939
import static org.mockito.Mockito.mock;
4040

4141
/**
@@ -44,7 +44,7 @@
4444
* @author Sebastien Deleuze
4545
* @author Sam Brannen
4646
*/
47-
@DisabledForJreRange(min = JAVA_20, disabledReason = "Kotlin doesn't support Java 20+ yet")
47+
@DisabledForJreRange(min = JAVA_21, disabledReason = "Kotlin doesn't support Java 21+ yet")
4848
class KotlinScriptTemplateTests {
4949

5050
private WebApplicationContext webAppContext = mock();

0 commit comments

Comments
 (0)