From 92f8ab774f6616a2c47b91ec74a95f96c596b954 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Fri, 3 Jun 2022 16:41:36 +0200 Subject: [PATCH] Stop initializing DataSize at build time for GraalVM In light of gh-28560, this commit reverts the change made in gh-28328. Closes gh-28562 --- .../org.springframework/spring-core/native-image.properties | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 c9585a72208e..0d550ec1a97d 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 @@ -1,3 +1,2 @@ Args = --initialize-at-build-time=org.springframework.aot.AotDetector \ ---initialize-at-build-time=org.springframework.core.NativeDetector \ ---initialize-at-build-time=org.springframework.util.unit.DataSize +--initialize-at-build-time=org.springframework.core.NativeDetector