public interface com.oracle.svm.driver.NativeImage$BuildConfiguration
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: com.oracle.svm.driver.NativeImage$BuildConfiguration
super_class: java.lang.Object
{
public java.lang.String getGeneratorMainClass();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: ldc "com.oracle.svm.hosted.NativeImageGeneratorRunner"
astore 1
start local 1 1: aload 0
invokeinterface com.oracle.svm.driver.NativeImage$BuildConfiguration.useJavaModules:()Z
ifeq 3
2: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "$JDK9Plus"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/svm/driver/NativeImage$BuildConfiguration;
1 4 1 generatorClassName Ljava/lang/String;
public abstract java.nio.file.Path getWorkingDirectory();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public java.nio.file.Path getJavaHome();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.svm.core.util.VMError.unimplemented:()Ljava/lang/RuntimeException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$BuildConfiguration;
public java.nio.file.Path getJavaExecutable();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.svm.core.util.VMError.unimplemented:()Ljava/lang/RuntimeException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$BuildConfiguration;
public boolean useJavaModules();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "java.lang.Module"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
pop
1: goto 4
StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
2: pop
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/svm/driver/NativeImage$BuildConfiguration;
Exception table:
from to target type
0 1 2 Class java.lang.ClassNotFoundException
public java.util.List<java.nio.file.Path> getBuilderClasspath();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.svm.core.util.VMError.unimplemented:()Ljava/lang/RuntimeException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$BuildConfiguration;
Signature: ()Ljava/util/List<Ljava/nio/file/Path;>;
public java.util.List<java.nio.file.Path> getBuilderCLibrariesPaths();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.svm.core.util.VMError.unimplemented:()Ljava/lang/RuntimeException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$BuildConfiguration;
Signature: ()Ljava/util/List<Ljava/nio/file/Path;>;
public java.nio.file.Path getBuilderInspectServerPath();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.svm.core.util.VMError.unimplemented:()Ljava/lang/RuntimeException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$BuildConfiguration;
public java.util.List<java.nio.file.Path> getImageProvidedClasspath();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.svm.core.util.VMError.unimplemented:()Ljava/lang/RuntimeException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$BuildConfiguration;
Signature: ()Ljava/util/List<Ljava/nio/file/Path;>;
public java.util.List<java.nio.file.Path> getBuilderJVMCIClasspath();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.svm.core.util.VMError.unimplemented:()Ljava/lang/RuntimeException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$BuildConfiguration;
Signature: ()Ljava/util/List<Ljava/nio/file/Path;>;
public java.util.List<java.nio.file.Path> getBuilderJVMCIClasspathAppend();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.svm.core.util.VMError.unimplemented:()Ljava/lang/RuntimeException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$BuildConfiguration;
Signature: ()Ljava/util/List<Ljava/nio/file/Path;>;
public java.util.List<java.nio.file.Path> getBuilderBootClasspath();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.svm.core.util.VMError.unimplemented:()Ljava/lang/RuntimeException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$BuildConfiguration;
Signature: ()Ljava/util/List<Ljava/nio/file/Path;>;
public java.util.List<java.lang.String> getBuilderJavaArgs();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=1
start local 0 0: getstatic org.graalvm.compiler.serviceprovider.JavaVersionUtil.JAVA_SPEC:I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
astore 1
start local 1 1: getstatic com.oracle.svm.driver.NativeImage.graalCompilerFlags:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String[]
astore 2
start local 2 2: aload 2
ifnonnull 8
3: ldc "Image building not supported for Java version %s in %s with VM configuration \"%s\""
iconst_3
anewarray java.lang.Object
dup
iconst_0
4: ldc "java.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_1
5: ldc "java.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_2
6: ldc "java.vm.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
aastore
7: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic com.oracle.svm.driver.NativeImage.showError:(Ljava/lang/String;)Ljava/lang/Error;
pop
8: StackMap locals: java.lang.String java.lang.String[]
StackMap stack:
getstatic com.oracle.svm.driver.NativeImage.useJVMCINativeLibrary:Ljava/lang/Boolean;
ifnonnull 36
9: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
putstatic com.oracle.svm.driver.NativeImage.useJVMCINativeLibrary:Ljava/lang/Boolean;
10: new java.lang.ProcessBuilder
dup
iconst_0
anewarray java.lang.String
invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
astore 3
start local 3 11: aload 3
invokevirtual java.lang.ProcessBuilder.command:()Ljava/util/List;
astore 4
start local 4 12: aload 4
aload 0
invokeinterface com.oracle.svm.driver.NativeImage$BuildConfiguration.getJavaExecutable:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
13: aload 4
ldc "-XX:+PrintFlagsFinal"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: aload 4
ldc "-version"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
15: aload 3
invokevirtual java.lang.ProcessBuilder.start:()Ljava/lang/Process;
astore 5
start local 5 16: aconst_null
astore 6
aconst_null
astore 7
17: new java.util.Scanner
dup
aload 5
invokevirtual java.lang.Process.getInputStream:()Ljava/io/InputStream;
invokespecial java.util.Scanner.<init>:(Ljava/io/InputStream;)V
astore 8
start local 8 18: goto 25
19: StackMap locals: com.oracle.svm.driver.NativeImage$BuildConfiguration java.lang.String java.lang.String[] java.lang.ProcessBuilder java.util.List java.lang.Process java.lang.Throwable java.lang.Throwable java.util.Scanner
StackMap stack:
aload 8
invokevirtual java.util.Scanner.nextLine:()Ljava/lang/String;
astore 9
start local 9 20: aload 9
ldc "bool UseJVMCINativeLibrary"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 25
21: aload 9
ldc "="
invokestatic com.oracle.svm.core.SubstrateUtil.split:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
iconst_1
aaload
astore 10
start local 10 22: aload 10
invokevirtual java.lang.String.trim:()Ljava/lang/String;
ldc "true"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 25
23: iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
putstatic com.oracle.svm.driver.NativeImage.useJVMCINativeLibrary:Ljava/lang/Boolean;
24: goto 26
end local 10 end local 9 25: StackMap locals:
StackMap stack:
aload 8
invokevirtual java.util.Scanner.hasNextLine:()Z
ifne 19
26: StackMap locals:
StackMap stack:
aload 8
ifnull 32
aload 8
invokevirtual java.util.Scanner.close:()V
goto 32
StackMap locals:
StackMap stack: java.lang.Throwable
27: astore 6
aload 8
ifnull 28
aload 8
invokevirtual java.util.Scanner.close:()V
end local 8 StackMap locals:
StackMap stack:
28: aload 6
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
29: astore 7
aload 6
ifnonnull 30
aload 7
astore 6
goto 31
StackMap locals:
StackMap stack:
30: aload 6
aload 7
if_acmpeq 31
aload 6
aload 7
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
31: aload 6
athrow
32: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.Process.waitFor:()I
pop
33: aload 5
invokevirtual java.lang.Process.destroy:()V
end local 5 34: goto 36
StackMap locals: com.oracle.svm.driver.NativeImage$BuildConfiguration java.lang.String java.lang.String[] java.lang.ProcessBuilder java.util.List
StackMap stack: java.lang.Exception
35: pop
end local 4 end local 3 36: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 37: aload 3
aload 2
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
pop
38: getstatic com.oracle.svm.driver.NativeImage.useJVMCINativeLibrary:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 41
39: aload 3
ldc "-XX:+UseJVMCINativeLibrary"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
40: goto 42
41: StackMap locals: java.util.ArrayList
StackMap stack:
aload 3
ldc "-XX:-UseJVMCICompiler"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
42: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 this Lcom/oracle/svm/driver/NativeImage$BuildConfiguration;
1 43 1 javaVersion Ljava/lang/String;
2 43 2 flagsForVersion [Ljava/lang/String;
11 36 3 pb Ljava/lang/ProcessBuilder;
12 36 4 command Ljava/util/List<Ljava/lang/String;>;
16 34 5 process Ljava/lang/Process;
18 28 8 inputScanner Ljava/util/Scanner;
20 25 9 line Ljava/lang/String;
22 25 10 value Ljava/lang/String;
37 43 3 builderJavaArgs Ljava/util/ArrayList<Ljava/lang/String;>;
Exception table:
from to target type
18 26 27 any
17 29 29 any
15 34 35 Class java.lang.Exception
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public java.util.List<java.nio.file.Path> getBuilderModulePath();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.svm.core.util.VMError.unimplemented:()Ljava/lang/RuntimeException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$BuildConfiguration;
Signature: ()Ljava/util/List<Ljava/nio/file/Path;>;
public java.util.List<java.nio.file.Path> getBuilderUpgradeModulePath();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.svm.core.util.VMError.unimplemented:()Ljava/lang/RuntimeException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$BuildConfiguration;
Signature: ()Ljava/util/List<Ljava/nio/file/Path;>;
public java.util.List<java.nio.file.Path> getImageClasspath();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.svm.core.util.VMError.unimplemented:()Ljava/lang/RuntimeException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$BuildConfiguration;
Signature: ()Ljava/util/List<Ljava/nio/file/Path;>;
public java.util.List<java.lang.String> getBuildArgs();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.svm.core.util.VMError.unimplemented:()Ljava/lang/RuntimeException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$BuildConfiguration;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public boolean buildFallbackImage();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$BuildConfiguration;
public java.nio.file.Path getAgentJAR();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$BuildConfiguration;
public java.util.Optional<java.nio.file.Path> getResourcesJar();
descriptor: ()Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$BuildConfiguration;
Signature: ()Ljava/util/Optional<Ljava/nio/file/Path;>;
}
SourceFile: "NativeImage.java"
NestHost: com.oracle.svm.driver.NativeImage
InnerClasses:
public abstract BuildConfiguration = com.oracle.svm.driver.NativeImage$BuildConfiguration of com.oracle.svm.driver.NativeImage