public abstract class jdk.incubator.jpackage.internal.AbstractAppImageBuilder
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.incubator.jpackage.internal.AbstractAppImageBuilder
super_class: java.lang.Object
{
private static final java.util.ResourceBundle I18N;
descriptor: Ljava/util/ResourceBundle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.nio.file.Path root;
descriptor: Ljava/nio/file/Path;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "jdk.incubator.jpackage.internal.resources.MainResources"
1: invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
putstatic jdk.incubator.jpackage.internal.AbstractAppImageBuilder.I18N:Ljava/util/ResourceBundle;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.util.Map<java.lang.String, java.lang.Object>, java.nio.file.Path);
descriptor: (Ljava/util/Map;Ljava/nio/file/Path;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield jdk.incubator.jpackage.internal.AbstractAppImageBuilder.root:Ljava/nio/file/Path;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/jpackage/internal/AbstractAppImageBuilder;
0 3 1 unused Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
0 3 2 root Ljava/nio/file/Path;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;Ljava/nio/file/Path;)V
MethodParameters:
Name Flags
unused
root
public java.io.InputStream getResourceAsStream(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc Ljdk/incubator/jpackage/internal/resources/ResourceLocator;
aload 1
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/AbstractAppImageBuilder;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public abstract void prepareApplicationFiles(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
params
public abstract void prepareJreFiles(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
params
public abstract java.nio.file.Path getAppDir();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.nio.file.Path getAppModsDir();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public java.nio.file.Path getRuntimeRoot();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.jpackage.internal.AbstractAppImageBuilder.root:Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/AbstractAppImageBuilder;
protected void copyEntry(java.nio.file.Path, java.io.File, java.lang.String);
descriptor: (Ljava/nio/file/Path;Ljava/io/File;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 3
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 4
start local 4 1: aload 4
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.attribute.FileAttribute
invokestatic java.nio.file.Files.createDirectories:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
pop
2: new java.io.File
dup
aload 2
aload 3
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 5
start local 5 3: aload 5
invokevirtual java.io.File.isDirectory:()Z
ifeq 6
4: aload 5
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
aload 4
invokestatic jdk.incubator.jpackage.internal.IOUtils.copyRecursive:(Ljava/nio/file/Path;Ljava/nio/file/Path;)V
5: goto 7
6: StackMap locals: java.nio.file.Path java.io.File
StackMap stack:
aload 5
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
aload 4
iconst_0
anewarray java.nio.file.CopyOption
invokestatic java.nio.file.Files.copy:(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path;
pop
7: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/incubator/jpackage/internal/AbstractAppImageBuilder;
0 8 1 appDir Ljava/nio/file/Path;
0 8 2 srcdir Ljava/io/File;
0 8 3 fname Ljava/lang/String;
1 8 4 dest Ljava/nio/file/Path;
3 8 5 src Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
appDir
srcdir
fname
public void writeCfgFile(java.util.Map<java.lang.String, ? super java.lang.Object>, java.io.File);
descriptor: (Ljava/util/Map;Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=14, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
invokevirtual java.io.File.mkdirs:()Z
pop
1: aload 2
invokevirtual java.io.File.delete:()Z
pop
2: aload 1
invokestatic jdk.incubator.jpackage.internal.JLinkBundlerHelper.getMainJar:(Ljava/util/Map;)Ljava/io/File;
astore 3
start local 3 3: getstatic jdk.incubator.jpackage.internal.ModFile$ModType.Unknown:Ljdk/incubator/jpackage/internal/ModFile$ModType;
astore 4
start local 4 4: aload 3
ifnull 6
5: new jdk.incubator.jpackage.internal.ModFile
dup
aload 3
invokespecial jdk.incubator.jpackage.internal.ModFile.<init>:(Ljava/io/File;)V
invokevirtual jdk.incubator.jpackage.internal.ModFile.getModType:()Ljdk/incubator/jpackage/internal/ModFile$ModType;
astore 4
6: StackMap locals: java.io.File jdk.incubator.jpackage.internal.ModFile$ModType
StackMap stack:
getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.MODULE:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 7: aconst_null
astore 6
aconst_null
astore 7
8: new java.io.PrintStream
dup
aload 2
invokespecial java.io.PrintStream.<init>:(Ljava/io/File;)V
astore 8
start local 8 9: aload 8
ldc "[Application]"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
10: aload 8
new java.lang.StringBuilder
dup
ldc "app.name="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
11: aload 8
new java.lang.StringBuilder
dup
ldc "app.version="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.VERSION:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
12: aload 8
new java.lang.StringBuilder
dup
ldc "app.runtime="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual jdk.incubator.jpackage.internal.AbstractAppImageBuilder.getCfgRuntimeDir:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
13: aload 8
new java.lang.StringBuilder
dup
ldc "app.identifier="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.IDENTIFIER:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
14: aload 8
new java.lang.StringBuilder
dup
ldc "app.classpath="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: aload 0
getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.CLASSPATH:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual jdk.incubator.jpackage.internal.AbstractAppImageBuilder.getCfgClassPath:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
17: aload 5
ifnull 22
18: aload 4
getstatic jdk.incubator.jpackage.internal.ModFile$ModType.Unknown:Ljdk/incubator/jpackage/internal/ModFile$ModType;
if_acmpeq 20
19: aload 4
getstatic jdk.incubator.jpackage.internal.ModFile$ModType.ModularJar:Ljdk/incubator/jpackage/internal/ModFile$ModType;
if_acmpne 22
20: StackMap locals: jdk.incubator.jpackage.internal.AbstractAppImageBuilder java.util.Map java.io.File java.io.File jdk.incubator.jpackage.internal.ModFile$ModType java.lang.String java.lang.Throwable java.lang.Throwable java.io.PrintStream
StackMap stack:
aload 8
new java.lang.StringBuilder
dup
ldc "app.mainmodule="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
21: goto 32
22: StackMap locals:
StackMap stack:
getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.MAIN_CLASS:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
23: astore 9
start local 9 24: aload 3
ifnull 28
25: aload 8
new java.lang.StringBuilder
dup
ldc "app.mainjar="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual jdk.incubator.jpackage.internal.AbstractAppImageBuilder.getCfgAppDir:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
26: aload 3
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
27: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
28: StackMap locals: java.lang.String
StackMap stack:
aload 9
ifnull 32
29: aload 8
new java.lang.StringBuilder
dup
ldc "app.mainclass="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
30: aload 9
ldc "\\"
ldc "/"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
31: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 9 32: StackMap locals:
StackMap stack:
aload 8
invokevirtual java.io.PrintStream.println:()V
33: aload 8
ldc "[JavaOptions]"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
34: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.JAVA_OPTIONS:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.util.List
astore 9
start local 9 35: aload 9
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 11
goto 38
StackMap locals: jdk.incubator.jpackage.internal.AbstractAppImageBuilder java.util.Map java.io.File java.io.File jdk.incubator.jpackage.internal.ModFile$ModType java.lang.String java.lang.Throwable java.lang.Throwable java.io.PrintStream java.util.List top java.util.Iterator
StackMap stack:
36: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 10
start local 10 37: aload 8
aload 10
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 10 38: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 36
39: aload 0
invokevirtual jdk.incubator.jpackage.internal.AbstractAppImageBuilder.getAppModsDir:()Ljava/nio/file/Path;
astore 10
start local 10 40: aload 10
ifnull 43
aload 10
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
invokevirtual java.io.File.exists:()Z
ifeq 43
41: aload 8
ldc "--module-path"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
42: aload 8
new java.lang.StringBuilder
dup
aload 0
invokevirtual jdk.incubator.jpackage.internal.AbstractAppImageBuilder.getCfgAppDir:()Ljava/lang/String;
ldc "\\"
ldc "/"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "mods"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
43: StackMap locals: jdk.incubator.jpackage.internal.AbstractAppImageBuilder java.util.Map java.io.File java.io.File jdk.incubator.jpackage.internal.ModFile$ModType java.lang.String java.lang.Throwable java.lang.Throwable java.io.PrintStream java.util.List java.nio.file.Path
StackMap stack:
aload 8
invokevirtual java.io.PrintStream.println:()V
44: aload 8
ldc "[ArgOptions]"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
45: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.ARGUMENTS:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.util.List
astore 11
start local 11 46: aload 11
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 13
goto 54
StackMap locals: jdk.incubator.jpackage.internal.AbstractAppImageBuilder java.util.Map java.io.File java.io.File jdk.incubator.jpackage.internal.ModFile$ModType java.lang.String java.lang.Throwable java.lang.Throwable java.io.PrintStream java.util.List java.nio.file.Path java.util.List top java.util.Iterator
StackMap stack:
47: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 12
start local 12 48: aload 12
ldc "="
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 53
49: aload 12
ldc "="
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
aload 12
ldc "="
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
if_icmpne 53
50: aload 8
aload 12
iconst_0
aload 12
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
51: aload 8
ldc "\\="
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
52: goto 54
53: StackMap locals: jdk.incubator.jpackage.internal.AbstractAppImageBuilder java.util.Map java.io.File java.io.File jdk.incubator.jpackage.internal.ModFile$ModType java.lang.String java.lang.Throwable java.lang.Throwable java.io.PrintStream java.util.List java.nio.file.Path java.util.List java.lang.String java.util.Iterator
StackMap stack:
aload 8
aload 12
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 12 54: StackMap locals: jdk.incubator.jpackage.internal.AbstractAppImageBuilder java.util.Map java.io.File java.io.File jdk.incubator.jpackage.internal.ModFile$ModType java.lang.String java.lang.Throwable java.lang.Throwable java.io.PrintStream java.util.List java.nio.file.Path java.util.List top java.util.Iterator
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 47
end local 11 end local 10 end local 9 55: aload 8
ifnull 61
aload 8
invokevirtual java.io.PrintStream.close:()V
goto 61
StackMap locals: jdk.incubator.jpackage.internal.AbstractAppImageBuilder java.util.Map java.io.File java.io.File jdk.incubator.jpackage.internal.ModFile$ModType java.lang.String java.lang.Throwable java.lang.Throwable java.io.PrintStream
StackMap stack: java.lang.Throwable
56: astore 6
aload 8
ifnull 57
aload 8
invokevirtual java.io.PrintStream.close:()V
end local 8 StackMap locals:
StackMap stack:
57: aload 6
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
58: astore 7
aload 6
ifnonnull 59
aload 7
astore 6
goto 60
StackMap locals:
StackMap stack:
59: aload 6
aload 7
if_acmpeq 60
aload 6
aload 7
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
60: aload 6
athrow
61: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 62 0 this Ljdk/incubator/jpackage/internal/AbstractAppImageBuilder;
0 62 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
0 62 2 cfgFileName Ljava/io/File;
3 62 3 mainJar Ljava/io/File;
4 62 4 mainJarType Ljdk/incubator/jpackage/internal/ModFile$ModType;
7 62 5 mainModule Ljava/lang/String;
9 57 8 out Ljava/io/PrintStream;
24 32 9 mainClass Ljava/lang/String;
35 55 9 jvmargs Ljava/util/List<Ljava/lang/String;>;
37 38 10 arg Ljava/lang/String;
40 55 10 modsDir Ljava/nio/file/Path;
46 55 11 args Ljava/util/List<Ljava/lang/String;>;
48 54 12 arg Ljava/lang/String;
Exception table:
from to target type
9 55 56 any
8 58 58 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/io/File;)V
MethodParameters:
Name Flags
params
cfgFileName
java.io.File getRuntimeImageDir(java.io.File);
descriptor: (Ljava/io/File;)Ljava/io/File;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/AbstractAppImageBuilder;
0 1 1 runtimeImageTop Ljava/io/File;
MethodParameters:
Name Flags
runtimeImageTop
protected java.lang.String getCfgAppDir();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "$ROOTDIR"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: aload 0
invokevirtual jdk.incubator.jpackage.internal.AbstractAppImageBuilder.getAppDir:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/jpackage/internal/AbstractAppImageBuilder;
protected java.lang.String getCfgRuntimeDir();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "$ROOTDIR"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "runtime"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/AbstractAppImageBuilder;
java.lang.String getCfgClassPath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.incubator.jpackage.internal.AbstractAppImageBuilder.getCfgAppDir:()Ljava/lang/String;
astore 2
start local 2 1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 2: aload 1
ldc "[:;]"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 9
StackMap locals: jdk.incubator.jpackage.internal.AbstractAppImageBuilder java.lang.String java.lang.String java.lang.StringBuilder top int int java.lang.String[]
StackMap stack:
3: aload 7
iload 5
aaload
astore 4
start local 4 4: aload 4
invokevirtual java.lang.String.length:()I
ifle 8
5: aload 3
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 3
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 3
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 4 8: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
iload 6
if_icmplt 3
10: aload 3
invokevirtual java.lang.StringBuilder.length:()I
ifle 12
11: aload 3
aload 3
invokevirtual java.lang.StringBuilder.length:()I
iconst_1
isub
invokevirtual java.lang.StringBuilder.deleteCharAt:(I)Ljava/lang/StringBuilder;
pop
12: StackMap locals: jdk.incubator.jpackage.internal.AbstractAppImageBuilder java.lang.String java.lang.String java.lang.StringBuilder
StackMap stack:
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/incubator/jpackage/internal/AbstractAppImageBuilder;
0 13 1 classpath Ljava/lang/String;
1 13 2 cfgAppDir Ljava/lang/String;
2 13 3 sb Ljava/lang/StringBuilder;
4 8 4 path Ljava/lang/String;
MethodParameters:
Name Flags
classpath
}
SourceFile: "AbstractAppImageBuilder.java"
InnerClasses:
final ModType = jdk.incubator.jpackage.internal.ModFile$ModType of jdk.incubator.jpackage.internal.ModFile