Open GraalVM internals to the ConstantFieldFeature

This is needed as GraalVM 22.2 enabled the module system when building
native-images and all plugins have to participate in it.

See gh-28624
Closes gh-28732
This commit is contained in:
Moritz Halbritter 2022-06-30 09:40:02 +02:00 committed by Sébastien Deleuze
parent 4ec3e1042a
commit 1a88451369
1 changed files with 5 additions and 1 deletions

View File

@ -2,4 +2,8 @@ Args = --initialize-at-build-time=org.springframework.aot.graalvm.ThrowawayClass
org.springframework.util.ClassUtils,\
org.springframework.util.ConcurrentReferenceHashMap,\
org.springframework.util.MimeType,\
org.springframework.util.MimeTypeUtils
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