Skip to content

Commit f9b691c

Browse files
committed
Revert "Enable new build options for GraalVM 25 native image builds"
This reverts commit 9975113.
1 parent ec77bb0 commit f9b691c

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

spring-context/src/main/java/org/springframework/context/aot/ContextAotProcessor.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,6 @@ protected List<String> getDefaultNativeImageArguments(String applicationClassNam
139139
args.add("--report-unsupported-elements-at-runtime");
140140
args.add("--no-fallback");
141141
args.add("--install-exit-handlers");
142-
args.add("--future-defaults=all");
143-
args.add("--exact-reachability-metadata");
144142
return args;
145143
}
146144

spring-context/src/test/java/org/springframework/context/aot/ContextAotProcessorTests.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,7 @@ private Consumer<Path> hasGeneratedAssetsForSampleApplication() {
113113
Args = -H:Class=org.springframework.context.aot.ContextAotProcessorTests$SampleApplication \\
114114
--report-unsupported-elements-at-runtime \\
115115
--no-fallback \\
116-
--install-exit-handlers \\
117-
--future-defaults=all \\
118-
--exact-reachability-metadata
116+
--install-exit-handlers
119117
""");
120118
};
121119
}

0 commit comments

Comments
 (0)