Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Commit 9299717

Browse files
committed
Add -H:+InlineBeforeAnalysis flag in buildtools
See gh-433
1 parent c9a083b commit 9299717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-native-feature/src/main/java/org/springframework/nativex/support/ConfigurationCollector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ private void writeNativeImageProperties(File file) throws IOException {
186186
public String getNativeImagePropertiesContent() {
187187
StringBuilder s = new StringBuilder();
188188
// From the existing native-image.properties in the feature
189-
s.append("Args = --allow-incomplete-classpath --report-unsupported-elements-at-runtime --no-fallback --no-server --install-exit-handlers");
189+
s.append("Args = --allow-incomplete-classpath --report-unsupported-elements-at-runtime --no-fallback --no-server --install-exit-handlers -H:+InlineBeforeAnalysis");
190190
if (!initializationDescriptor.getBuildtimeClasses().isEmpty() ||
191191
!initializationDescriptor.getBuildtimePackages().isEmpty()) {
192192
s.append(" \\\n");

0 commit comments

Comments
 (0)