Skip to content

Commit 89a6101

Browse files
mhalbrittersdeleuze
authored andcommitted
Only use JPMS exports as we don't need reflection access
See gh-28624 See gh-28732
1 parent 1a88451 commit 89a6101

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-core/src/main/resources/META-INF/native-image/org.springframework/spring-core/native-image.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ org.springframework.util.ClassUtils,\
33
org.springframework.util.ConcurrentReferenceHashMap,\
44
org.springframework.util.MimeType,\
55
org.springframework.util.MimeTypeUtils \
6-
--add-opens org.graalvm.nativeimage.builder/com.oracle.svm.hosted=ALL-UNNAMED \
7-
--add-opens jdk.internal.vm.compiler/org.graalvm.compiler.debug=ALL-UNNAMED \
8-
--add-opens jdk.internal.vm.ci/jdk.vm.ci.meta=ALL-UNNAMED \
9-
--add-opens org.graalvm.nativeimage.builder/com.oracle.svm.core.meta=ALL-UNNAMED
6+
--add-exports org.graalvm.nativeimage.builder/com.oracle.svm.hosted=ALL-UNNAMED \
7+
--add-exports jdk.internal.vm.compiler/org.graalvm.compiler.debug=ALL-UNNAMED \
8+
--add-exports jdk.internal.vm.ci/jdk.vm.ci.meta=ALL-UNNAMED \
9+
--add-exports org.graalvm.nativeimage.builder/com.oracle.svm.core.meta=ALL-UNNAMED

0 commit comments

Comments
 (0)