Upgrade to GraalVM 22.3 and introduce PreComputeFieldFeature
This new GraalVM feature replaces ConstantFieldFeature and introduces various enhancements: - Leverage the new FieldValueTransformer API - Use GraalVM 22.3 graal-sdk dependency instead of svm one - Avoid using internal GraalVM APIs - No need to configure JPMS exports - Directly integrated in spring-core module - Simplified build configuration Closes gh-29081 Closes gh-29080 Closes gh-29089
This commit is contained in:
@@ -1,5 +1,2 @@
|
||||
Args = --initialize-at-build-time=org.springframework.aot.graalvm.ThrowawayClassLoader \
|
||||
--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
|
||||
Args = --initialize-at-build-time=org.springframework.aot.nativex.feature.ThrowawayClassLoader \
|
||||
--features=org.springframework.aot.nativex.feature.PreComputeFieldFeature
|
||||
|
||||
Reference in New Issue
Block a user