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();