mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-02 04:09:01 +00:00
Enable new build options for GraalVM 25 native image builds
Closes gh-35616
This commit is contained in:
@@ -139,6 +139,8 @@ public abstract class ContextAotProcessor extends AbstractAotProcessor<ClassName
|
||||
args.add("--report-unsupported-elements-at-runtime");
|
||||
args.add("--no-fallback");
|
||||
args.add("--install-exit-handlers");
|
||||
args.add("--future-defaults=all");
|
||||
args.add("--exact-reachability-metadata");
|
||||
return args;
|
||||
}
|
||||
|
||||
|
||||
+3
-1
@@ -113,7 +113,9 @@ class ContextAotProcessorTests {
|
||||
Args = -H:Class=org.springframework.context.aot.ContextAotProcessorTests$SampleApplication \\
|
||||
--report-unsupported-elements-at-runtime \\
|
||||
--no-fallback \\
|
||||
--install-exit-handlers
|
||||
--install-exit-handlers \\
|
||||
--future-defaults=all \\
|
||||
--exact-reachability-metadata
|
||||
""");
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user