class com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration implements com.oracle.svm.driver.NativeImage$BuildConfiguration
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration
super_class: java.lang.Object
{
private final java.nio.file.Path workDir;
descriptor: Ljava/nio/file/Path;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.file.Path rootDir;
descriptor: Ljava/nio/file/Path;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<java.lang.String> args;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/oracle/svm/driver/NativeImage;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aconst_null
aload 1
invokespecial com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.<init>:(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/util/List;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/svm/driver/NativeImage$DefaultBuildConfiguration;
0 2 1 args Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
args
void <init>(java.nio.file.Path, java.nio.file.Path, java.util.List<java.lang.String>);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/util/List;)V
flags: (0x0000)
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 3
putfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.args:Ljava/util/List;
2: aload 0
aload 2
ifnull 3
aload 2
goto 4
StackMap locals: com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration java.nio.file.Path java.nio.file.Path java.util.List
StackMap stack: com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration
3: ldc "."
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.normalize:()Ljava/nio/file/Path;
StackMap locals: com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration java.nio.file.Path java.nio.file.Path java.util.List
StackMap stack: com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration java.nio.file.Path
4: putfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.workDir:Ljava/nio/file/Path;
5: aload 1
ifnull 8
6: aload 0
aload 1
putfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.rootDir:Ljava/nio/file/Path;
7: goto 24
8: StackMap locals:
StackMap stack:
getstatic com.oracle.svm.driver.NativeImage.IS_AOT:Z
ifeq 19
9: invokestatic org.graalvm.nativeimage.ProcessProperties.getExecutableName:()Ljava/lang/String;
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 4
start local 4 10: getstatic com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.$assertionsDisabled:Z
ifne 11
aload 4
ifnonnull 11
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals: java.nio.file.Path
StackMap stack:
aload 4
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
astore 5
start local 5 12: aload 5
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
astore 6
start local 6 13: aload 6
getstatic com.oracle.svm.driver.NativeImage.platform:Ljava/lang/String;
invokeinterface java.nio.file.Path.endsWith:(Ljava/lang/String;)Z
ifeq 15
14: aload 6
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
astore 6
15: StackMap locals: java.nio.file.Path java.nio.file.Path
StackMap stack:
aload 6
ldc "lib"
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "svm"
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.endsWith:(Ljava/nio/file/Path;)Z
ifeq 17
16: aload 6
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
astore 6
17: StackMap locals:
StackMap stack:
aload 0
aload 6
putfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.rootDir:Ljava/nio/file/Path;
end local 6 end local 5 end local 4 18: goto 24
19: StackMap locals:
StackMap stack:
ldc "native-image.root"
astore 4
start local 4 20: aload 4
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 21: aload 5
ifnonnull 23
22: ldc "java.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 5
23: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
aload 5
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
putfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.rootDir:Ljava/nio/file/Path;
end local 5 end local 4 24: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/oracle/svm/driver/NativeImage$DefaultBuildConfiguration;
0 25 1 rootDir Ljava/nio/file/Path;
0 25 2 workDir Ljava/nio/file/Path;
0 25 3 args Ljava/util/List<Ljava/lang/String;>;
10 18 4 executablePath Ljava/nio/file/Path;
12 18 5 binDir Ljava/nio/file/Path;
13 18 6 rootDirCandidate Ljava/nio/file/Path;
20 24 4 rootDirProperty Ljava/lang/String;
21 24 5 rootDirString Ljava/lang/String;
Signature: (Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
rootDir
workDir
args
public java.nio.file.Path getWorkingDirectory();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.workDir:Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$DefaultBuildConfiguration;
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: aload 0
invokevirtual com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.useJavaModules:()Z
ifeq 1
aload 0
getfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.rootDir:Ljava/nio/file/Path;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.rootDir:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
StackMap locals:
StackMap stack: java.nio.file.Path
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/svm/driver/NativeImage$DefaultBuildConfiguration;
public java.nio.file.Path getJavaExecutable();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: ldc "bin"
iconst_1
anewarray java.lang.String
dup
iconst_0
invokestatic com.oracle.svm.core.OS.getCurrent:()Lcom/oracle/svm/core/OS;
getstatic com.oracle.svm.core.OS.WINDOWS:Lcom/oracle/svm/core/OS;
if_acmpne 1
ldc "java.exe"
goto 2
StackMap locals: com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration
StackMap stack: java.lang.String java.lang.String[] java.lang.String[] int
1: ldc "java"
StackMap locals: com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration
StackMap stack: java.lang.String java.lang.String[] java.lang.String[] int java.lang.String
2: aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 1
start local 1 3: aload 0
getfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.rootDir:Ljava/nio/file/Path;
aload 1
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
invokestatic java.nio.file.Files.isExecutable:(Ljava/nio/file/Path;)Z
ifeq 5
4: aload 0
getfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.rootDir:Ljava/nio/file/Path;
aload 1
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
areturn
5: StackMap locals: java.nio.file.Path
StackMap stack:
ldc "JAVA_HOME"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 6: aload 2
ifnonnull 8
7: ldc "Environment variable JAVA_HOME is not set"
invokestatic com.oracle.svm.driver.NativeImage.showError:(Ljava/lang/String;)Ljava/lang/Error;
athrow
8: StackMap locals: java.lang.String
StackMap stack:
aload 2
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 3
start local 3 9: aload 3
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifne 11
10: ldc "Environment variable JAVA_HOME does not refer to a directory"
invokestatic com.oracle.svm.driver.NativeImage.showError:(Ljava/lang/String;)Ljava/lang/Error;
athrow
11: StackMap locals: java.nio.file.Path
StackMap stack:
aload 3
aload 1
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
invokestatic java.nio.file.Files.isExecutable:(Ljava/nio/file/Path;)Z
ifne 13
12: new java.lang.StringBuilder
dup
ldc "Environment variable JAVA_HOME does not refer to a directory with a "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " executable"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.oracle.svm.driver.NativeImage.showError:(Ljava/lang/String;)Ljava/lang/Error;
athrow
13: StackMap locals:
StackMap stack:
aload 3
aload 1
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/oracle/svm/driver/NativeImage$DefaultBuildConfiguration;
3 14 1 binJava Ljava/nio/file/Path;
6 14 2 javaHome Ljava/lang/String;
9 14 3 javaHomeDir Ljava/nio/file/Path;
public java.util.List<java.nio.file.Path> getBuilderClasspath();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.useJavaModules:()Z
ifeq 3
2: aload 1
aload 0
getfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.rootDir:Ljava/nio/file/Path;
ldc "lib"
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "jvmci"
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "graal-sdk"
aastore
dup
iconst_1
ldc "graal"
aastore
dup
iconst_2
ldc "enterprise-graal"
aastore
invokestatic com.oracle.svm.driver.NativeImage.getJars:(Ljava/nio/file/Path;[Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
3: StackMap locals: java.util.List
StackMap stack:
aload 1
aload 0
getfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.rootDir:Ljava/nio/file/Path;
ldc "lib"
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "svm"
aastore
dup
iconst_1
ldc "builder"
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
iconst_0
anewarray java.lang.String
invokestatic com.oracle.svm.driver.NativeImage.getJars:(Ljava/nio/file/Path;[Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/svm/driver/NativeImage$DefaultBuildConfiguration;
1 5 1 result Ljava/util/List<Ljava/nio/file/Path;>;
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=6, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.rootDir:Ljava/nio/file/Path;
ldc "lib"
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "svm"
aastore
dup
iconst_1
ldc "clibraries"
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$DefaultBuildConfiguration;
Signature: ()Ljava/util/List<Ljava/nio/file/Path;>;
public java.util.List<java.nio.file.Path> getImageProvidedClasspath();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.rootDir:Ljava/nio/file/Path;
ldc "lib"
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "svm"
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
iconst_0
anewarray java.lang.String
invokestatic com.oracle.svm.driver.NativeImage.getJars:(Ljava/nio/file/Path;[Ljava/lang/String;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$DefaultBuildConfiguration;
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=6, locals=2, args_size=1
start local 0 0: aload 0
getfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.rootDir:Ljava/nio/file/Path;
ldc "lib"
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "svm"
aastore
dup
iconst_1
ldc "inspect"
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
astore 1
start local 1 1: aload 1
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 3
2: aload 1
areturn
3: StackMap locals: java.nio.file.Path
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/svm/driver/NativeImage$DefaultBuildConfiguration;
1 4 1 inspectPath Ljava/nio/file/Path;
public java.util.List<java.nio.file.Path> getBuilderJVMCIClasspath();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.rootDir:Ljava/nio/file/Path;
ldc "lib"
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "jvmci"
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
iconst_0
anewarray java.lang.String
invokestatic com.oracle.svm.driver.NativeImage.getJars:(Ljava/nio/file/Path;[Ljava/lang/String;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$DefaultBuildConfiguration;
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=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.getBuilderJVMCIClasspath:()Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
1: invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
com/oracle/svm/driver/NativeImage$DefaultBuildConfiguration.lambda$0(Ljava/nio/file/Path;)Z (6)
(Ljava/nio/file/Path;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
2: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/svm/driver/NativeImage$DefaultBuildConfiguration;
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=6, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.rootDir:Ljava/nio/file/Path;
ldc "lib"
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "boot"
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
iconst_0
anewarray java.lang.String
invokestatic com.oracle.svm.driver.NativeImage.getJars:(Ljava/nio/file/Path;[Ljava/lang/String;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$DefaultBuildConfiguration;
Signature: ()Ljava/util/List<Ljava/nio/file/Path;>;
public java.util.List<java.nio.file.Path> getBuilderModulePath();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
getfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.rootDir:Ljava/nio/file/Path;
ldc "lib"
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "jvmci"
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "graal-sdk"
aastore
dup
iconst_1
ldc "enterprise-graal"
aastore
invokestatic com.oracle.svm.driver.NativeImage.getJars:(Ljava/nio/file/Path;[Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
2: aload 1
aload 0
getfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.rootDir:Ljava/nio/file/Path;
ldc "lib"
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "truffle"
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "truffle-api"
aastore
invokestatic com.oracle.svm.driver.NativeImage.getJars:(Ljava/nio/file/Path;[Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/svm/driver/NativeImage$DefaultBuildConfiguration;
1 4 1 result Ljava/util/List<Ljava/nio/file/Path;>;
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=6, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.rootDir:Ljava/nio/file/Path;
ldc "lib"
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "jvmci"
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "graal"
aastore
dup
iconst_1
ldc "graal-management"
aastore
invokestatic com.oracle.svm.driver.NativeImage.getJars:(Ljava/nio/file/Path;[Ljava/lang/String;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$DefaultBuildConfiguration;
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 java.util.Collections.emptyList:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$DefaultBuildConfiguration;
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=10, locals=2, args_size=1
start local 0 0: aload 0
getfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.args:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 3: aload 1
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "--configurations-path"
aastore
dup
iconst_1
aload 0
getfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.rootDir:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
4: aload 1
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "--configurations-path"
aastore
dup
iconst_1
aload 0
getfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.rootDir:Ljava/nio/file/Path;
ldc "lib"
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "svm"
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
5: aload 1
aload 0
getfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.args:Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/svm/driver/NativeImage$DefaultBuildConfiguration;
3 7 1 buildArgs Ljava/util/List<Ljava/lang/String;>;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public java.nio.file.Path getAgentJAR();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.rootDir:Ljava/nio/file/Path;
ldc "lib"
iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "svm"
aastore
dup
iconst_1
ldc "builder"
aastore
dup
iconst_2
ldc "svm.jar"
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$DefaultBuildConfiguration;
public java.util.Optional<java.nio.file.Path> getResourcesJar();
descriptor: ()Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration.rootDir:Ljava/nio/file/Path;
ldc "lib"
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "resources.jar"
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/driver/NativeImage$DefaultBuildConfiguration;
Signature: ()Ljava/util/Optional<Ljava/nio/file/Path;>;
private static boolean lambda$0(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
ldc "graal.jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 f 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
private DefaultBuildConfiguration = com.oracle.svm.driver.NativeImage$DefaultBuildConfiguration of com.oracle.svm.driver.NativeImage
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles