Skip to content

Commit

Permalink
Allow DataSize to be initialized at build time
Browse files Browse the repository at this point in the history
Previously, Graal failed to build a native image as DataSize was
unintentionally initialized at build time. This commit workarounds the
faulty assumption by flagging it as safe to initialize at build-time.

Closes gh-28328
  • Loading branch information
snicoll committed Apr 12, 2022
1 parent 5fc8a98 commit 64570a8
Showing 1 changed file with 2 additions and 1 deletion.
@@ -1 +1,2 @@
Args = --initialize-at-build-time=org.springframework.core.NativeDetector
Args = --initialize-at-build-time=org.springframework.core.NativeDetector \
--initialize-at-build-time=org.springframework.util.unit.DataSize

0 comments on commit 64570a8

Please sign in to comment.