Remove --allow-incomplete-classpath from native-image arguments
This parameter is now the default in GraalVM 22.1 Closes gh-31568
This commit is contained in:
@@ -183,7 +183,6 @@ public class AotProcessor {
|
||||
private void writeNativeImageProperties() {
|
||||
List<String> args = new ArrayList<>();
|
||||
args.add("-H:Class=" + this.application.getName());
|
||||
args.add("--allow-incomplete-classpath");
|
||||
args.add("--report-unsupported-elements-at-runtime");
|
||||
args.add("--no-fallback");
|
||||
args.add("--install-exit-handlers");
|
||||
|
||||
@@ -121,7 +121,6 @@ class AotProcessorTests {
|
||||
.resolve("resource/META-INF/native-image/com.example/example/native-image.properties");
|
||||
assertThat(nativeImagePropertiesFile).exists().isRegularFile().hasContent("""
|
||||
Args = -H:Class=org.springframework.boot.AotProcessorTests$SampleApplication \\
|
||||
--allow-incomplete-classpath \\
|
||||
--report-unsupported-elements-at-runtime \\
|
||||
--no-fallback \\
|
||||
--install-exit-handlers
|
||||
|
||||
Reference in New Issue
Block a user