Skip to content

Commit 0f8062f

Browse files
Merge branch '3.2.x'
Closes gh-40640
2 parents fb64e95 + ed42ed7 commit 0f8062f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

spring-boot-system-tests/spring-boot-image-tests/src/systemTest/java/org/springframework/boot/image/paketo/PaketoBuilderTests.java

-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@ void plainWarApp() throws Exception {
300300
}
301301

302302
@Test
303-
@EnabledForJreRange(max = JRE.JAVA_17)
304303
void nativeApp() throws Exception {
305304
this.gradleBuild.expectDeprecationMessages("uses or overrides a deprecated API");
306305
this.gradleBuild.expectDeprecationMessages("has been deprecated and marked for removal");

spring-boot-system-tests/spring-boot-image-tests/src/systemTest/resources/org/springframework/boot/image/paketo/PaketoBuilderTests-nativeApp.gradle

+3-1
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,7 @@ bootJar {
3434
}
3535

3636
bootBuildImage {
37-
environment = ['BP_NATIVE_IMAGE': 'true']
37+
environment = ['BP_NATIVE_IMAGE': 'true',
38+
//see https://github.com/paketo-buildpacks/native-image/issues/321
39+
'BP_NATIVE_IMAGE_BUILD_ARGUMENTS': '-H:-AddAllFileSystemProviders']
3840
}

0 commit comments

Comments
 (0)