From 80e72836ef297fce1a72c391fdd2ff1976d1cbbe Mon Sep 17 00:00:00 2001 From: Scott Frederick Date: Wed, 28 Jun 2023 15:10:41 -0600 Subject: [PATCH] Disable Paketo builder native system test on Java 20 See gh-35897 --- .../springframework/boot/image/paketo/PaketoBuilderTests.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-system-tests/spring-boot-image-tests/src/systemTest/java/org/springframework/boot/image/paketo/PaketoBuilderTests.java b/spring-boot-system-tests/spring-boot-image-tests/src/systemTest/java/org/springframework/boot/image/paketo/PaketoBuilderTests.java index 7aeac5a8f2..1778b5d8b7 100644 --- a/spring-boot-system-tests/spring-boot-image-tests/src/systemTest/java/org/springframework/boot/image/paketo/PaketoBuilderTests.java +++ b/spring-boot-system-tests/spring-boot-image-tests/src/systemTest/java/org/springframework/boot/image/paketo/PaketoBuilderTests.java @@ -295,6 +295,7 @@ class PaketoBuilderTests { } @Test + @EnabledForJreRange(max = JRE.JAVA_17) void nativeApp() throws Exception { this.gradleBuild.expectDeprecationMessages("uses or overrides a deprecated API"); writeMainClass();