From 89a6101b2ed73a97c70e3e0b2b98e68ce1144757 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 30 Jun 2022 10:23:17 +0200 Subject: [PATCH] Only use JPMS exports as we don't need reflection access See gh-28624 See gh-28732 --- .../spring-core/native-image.properties | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-core/src/main/resources/META-INF/native-image/org.springframework/spring-core/native-image.properties b/spring-core/src/main/resources/META-INF/native-image/org.springframework/spring-core/native-image.properties index 75d7442ece..1c131a435c 100644 --- a/spring-core/src/main/resources/META-INF/native-image/org.springframework/spring-core/native-image.properties +++ b/spring-core/src/main/resources/META-INF/native-image/org.springframework/spring-core/native-image.properties @@ -3,7 +3,7 @@ org.springframework.util.ClassUtils,\ org.springframework.util.ConcurrentReferenceHashMap,\ org.springframework.util.MimeType,\ org.springframework.util.MimeTypeUtils \ ---add-opens org.graalvm.nativeimage.builder/com.oracle.svm.hosted=ALL-UNNAMED \ ---add-opens jdk.internal.vm.compiler/org.graalvm.compiler.debug=ALL-UNNAMED \ ---add-opens jdk.internal.vm.ci/jdk.vm.ci.meta=ALL-UNNAMED \ ---add-opens org.graalvm.nativeimage.builder/com.oracle.svm.core.meta=ALL-UNNAMED +--add-exports org.graalvm.nativeimage.builder/com.oracle.svm.hosted=ALL-UNNAMED \ +--add-exports jdk.internal.vm.compiler/org.graalvm.compiler.debug=ALL-UNNAMED \ +--add-exports jdk.internal.vm.ci/jdk.vm.ci.meta=ALL-UNNAMED \ +--add-exports org.graalvm.nativeimage.builder/com.oracle.svm.core.meta=ALL-UNNAMED