Add missing build time class initialization
As gh-28624 supports only static boolean fields, we still need a few classes to be initialized at build time. Such explicit configuration should be in theory avoidable, so we will work with the GraalVM team to see if this can be fixed, see for example https://github.com/oracle/graal/issues/4673 for HttpStatus. See gh-28624
This commit is contained in:
@@ -1 +0,0 @@
|
||||
Args = --initialize-at-build-time=org.springframework.aot.graalvm.ThrowawayClassLoader
|
||||
@@ -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
|
||||
@@ -0,0 +1,2 @@
|
||||
Args = --initialize-at-build-time=org.springframework.http.HttpStatus,\
|
||||
org.springframework.http.MediaType
|
||||
Reference in New Issue
Block a user