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 75d7442ece61..1c131a435cbb 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