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 e6881ff52f1a..75d7442ece61 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 @@ -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