diff --git a/spring-core/graalvm/src/main/resources/META-INF/native-image/org.springframework/spring-core/native-image.properties b/spring-core/graalvm/src/main/resources/META-INF/native-image/org.springframework/spring-core/native-image.properties deleted file mode 100644 index 46311113d35..00000000000 --- a/spring-core/graalvm/src/main/resources/META-INF/native-image/org.springframework/spring-core/native-image.properties +++ /dev/null @@ -1 +0,0 @@ -Args = --initialize-at-build-time=org.springframework.aot.graalvm.ThrowawayClassLoader \ No newline at end of file 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 new file mode 100644 index 00000000000..e6881ff52f1 --- /dev/null +++ b/spring-core/src/main/resources/META-INF/native-image/org.springframework/spring-core/native-image.properties @@ -0,0 +1,5 @@ +Args = --initialize-at-build-time=org.springframework.aot.graalvm.ThrowawayClassLoader,\ +org.springframework.util.ClassUtils,\ +org.springframework.util.ConcurrentReferenceHashMap,\ +org.springframework.util.MimeType,\ +org.springframework.util.MimeTypeUtils diff --git a/spring-web/src/main/resources/META-INF/native-image/org.springframework/spring-web/native-image.properties b/spring-web/src/main/resources/META-INF/native-image/org.springframework/spring-web/native-image.properties new file mode 100644 index 00000000000..2c3c113a9e1 --- /dev/null +++ b/spring-web/src/main/resources/META-INF/native-image/org.springframework/spring-web/native-image.properties @@ -0,0 +1,2 @@ +Args = --initialize-at-build-time=org.springframework.http.HttpStatus,\ +org.springframework.http.MediaType