public class jdk.incubator.jpackage.internal.DeployParams
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.incubator.jpackage.internal.DeployParams
super_class: java.lang.Object
{
final java.util.List<jdk.incubator.jpackage.internal.RelativeFileSet> resources;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Ljdk/incubator/jpackage/internal/RelativeFileSet;>;
java.lang.String targetFormat;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.io.File outdir;
descriptor: Ljava/io/File;
flags: (0x0000)
java.util.Map<java.lang.String, ? super java.lang.Object> bundlerArguments;
descriptor: Ljava/util/Map;
flags: (0x0000)
Signature: Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
private static final java.util.Set<java.lang.String> multi_args;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new java.util.TreeSet
dup
bipush 6
anewarray java.lang.String
dup
iconst_0
1: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.JAVA_OPTIONS:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.getID:()Ljava/lang/String;
aastore
dup
iconst_1
2: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.ARGUMENTS:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.getID:()Ljava/lang/String;
aastore
dup
iconst_2
3: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.MODULE_PATH:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.getID:()Ljava/lang/String;
aastore
dup
iconst_3
4: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.ADD_MODULES:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.getID:()Ljava/lang/String;
aastore
dup
iconst_4
5: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.LIMIT_MODULES:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.getID:()Ljava/lang/String;
aastore
dup
iconst_5
6: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.FILE_ASSOCIATIONS:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.getID:()Ljava/lang/String;
aastore
7: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.TreeSet.<init>:(Ljava/util/Collection;)V
putstatic jdk.incubator.jpackage.internal.DeployParams.multi_args:Ljava/util/Set;
8: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.incubator.jpackage.internal.DeployParams.resources:Ljava/util/List;
2: aload 0
aconst_null
putfield jdk.incubator.jpackage.internal.DeployParams.targetFormat:Ljava/lang/String;
3: aload 0
aconst_null
putfield jdk.incubator.jpackage.internal.DeployParams.outdir:Ljava/io/File;
4: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield jdk.incubator.jpackage.internal.DeployParams.bundlerArguments:Ljava/util/Map;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/jpackage/internal/DeployParams;
public void setOutput(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.incubator.jpackage.internal.DeployParams.outdir:Ljava/io/File;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/jpackage/internal/DeployParams;
0 2 1 output Ljava/io/File;
MethodParameters:
Name Flags
output
java.util.List<java.io.File> expandFileset(java.io.File);
descriptor: (Ljava/io/File;)Ljava/util/List;
flags: (0x0000)
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 2
start local 2 1: aload 1
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
invokestatic java.nio.file.Files.isSymbolicLink:(Ljava/nio/file/Path;)Z
ifne 12
2: aload 1
invokevirtual java.io.File.isDirectory:()Z
ifeq 11
3: aload 1
invokevirtual java.io.File.listFiles:()[Ljava/io/File;
astore 3
start local 3 4: aload 3
ifnull 12
5: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 9
StackMap locals: jdk.incubator.jpackage.internal.DeployParams java.io.File java.util.List java.io.File[] top int int java.io.File[]
StackMap stack:
6: aload 7
iload 5
aaload
astore 4
start local 4 7: aload 2
aload 0
aload 4
invokevirtual jdk.incubator.jpackage.internal.DeployParams.expandFileset:(Ljava/io/File;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
end local 4 8: iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
iload 6
if_icmplt 6
end local 3 10: goto 12
11: StackMap locals: jdk.incubator.jpackage.internal.DeployParams java.io.File java.util.List
StackMap stack:
aload 2
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/incubator/jpackage/internal/DeployParams;
0 13 1 root Ljava/io/File;
1 13 2 files Ljava/util/List<Ljava/io/File;>;
4 10 3 children [Ljava/io/File;
7 8 4 f Ljava/io/File;
Signature: (Ljava/io/File;)Ljava/util/List<Ljava/io/File;>;
MethodParameters:
Name Flags
root
public void addResource(java.io.File, java.lang.String);
descriptor: (Ljava/io/File;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
new java.io.File
dup
aload 1
aload 2
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
invokevirtual jdk.incubator.jpackage.internal.DeployParams.addResource:(Ljava/io/File;Ljava/io/File;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/jpackage/internal/DeployParams;
0 2 1 baseDir Ljava/io/File;
0 2 2 path Ljava/lang/String;
MethodParameters:
Name Flags
baseDir
path
public void addResource(java.io.File, java.io.File);
descriptor: (Ljava/io/File;Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.io.File.getAbsoluteFile:()Ljava/io/File;
astore 2
1: aload 1
ifnonnull 3
2: aload 2
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
astore 1
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.resources:Ljava/util/List;
new jdk.incubator.jpackage.internal.RelativeFileSet
dup
4: aload 1
new java.util.LinkedHashSet
dup
aload 0
aload 2
invokevirtual jdk.incubator.jpackage.internal.DeployParams.expandFileset:(Ljava/io/File;)Ljava/util/List;
invokespecial java.util.LinkedHashSet.<init>:(Ljava/util/Collection;)V
invokespecial jdk.incubator.jpackage.internal.RelativeFileSet.<init>:(Ljava/io/File;Ljava/util/Set;)V
5: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/incubator/jpackage/internal/DeployParams;
0 7 1 baseDir Ljava/io/File;
0 7 2 file Ljava/io/File;
MethodParameters:
Name Flags
baseDir
file
void setClasspath(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnull 3
1: 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
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 2: goto 4
end local 2 3: StackMap locals:
StackMap stack:
ldc ""
astore 2
start local 2 4: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.resources:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 12
StackMap locals: jdk.incubator.jpackage.internal.DeployParams java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.incubator.jpackage.internal.RelativeFileSet
astore 3
start local 3 6: aload 3
invokevirtual jdk.incubator.jpackage.internal.RelativeFileSet.getIncludedFiles:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 11
StackMap locals: jdk.incubator.jpackage.internal.DeployParams java.lang.String java.lang.String jdk.incubator.jpackage.internal.RelativeFileSet java.util.Iterator top java.util.Iterator
StackMap stack:
7: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 8: aload 5
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 11
9: aload 5
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
10: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
end local 5 11: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
end local 3 12: StackMap locals: jdk.incubator.jpackage.internal.DeployParams java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
13: aload 0
14: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.CLASSPATH:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.getID:()Ljava/lang/String;
aload 2
15: invokevirtual jdk.incubator.jpackage.internal.DeployParams.addBundleArgument:(Ljava/lang/String;Ljava/lang/Object;)V
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/incubator/jpackage/internal/DeployParams;
0 17 1 mainJarPath Ljava/lang/String;
2 3 2 classpath Ljava/lang/String;
4 17 2 classpath Ljava/lang/String;
6 12 3 resource Ljdk/incubator/jpackage/internal/RelativeFileSet;
8 11 5 file Ljava/lang/String;
MethodParameters:
Name Flags
mainJarPath
static void validateName(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=5, args_size=2
start local 0 start local 1 0: iload 1
ifeq 2
1: ldc "ERR_InvalidAppName"
goto 3
StackMap locals:
StackMap stack:
2: ldc "ERR_InvalidSLName"
3: StackMap locals:
StackMap stack: java.lang.String
astore 2
start local 2 4: aload 0
ifnonnull 8
5: iload 1
ifeq 7
6: return
7: StackMap locals: java.lang.String
StackMap stack:
new jdk.incubator.jpackage.internal.PackagerException
dup
aload 2
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
ifeq 9
aload 0
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 92
if_icmpne 10
9: StackMap locals:
StackMap stack:
new jdk.incubator.jpackage.internal.PackagerException
dup
aload 2
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
astore 3
start local 3 11: aload 3
invokeinterface java.nio.file.Path.getNameCount:()I
iconst_1
if_icmpeq 15
12: new jdk.incubator.jpackage.internal.PackagerException
dup
aload 2
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
end local 3 13: StackMap locals:
StackMap stack: java.nio.file.InvalidPathException
astore 3
start local 3 14: new jdk.incubator.jpackage.internal.PackagerException
dup
aload 3
aload 2
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)V
athrow
end local 3 15: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 16: goto 25
17: StackMap locals: int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 18: iload 4
bipush 32
if_icmplt 19
iload 4
bipush 126
if_icmple 22
19: StackMap locals: int
StackMap stack:
iload 4
invokestatic java.lang.Character.isISOControl:(C)Z
ifne 21
20: iload 4
invokestatic java.lang.Character.isWhitespace:(C)Z
ifeq 24
21: StackMap locals:
StackMap stack:
new jdk.incubator.jpackage.internal.PackagerException
dup
aload 2
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
iload 4
bipush 34
if_icmpeq 23
iload 4
bipush 37
if_icmpne 24
23: StackMap locals:
StackMap stack:
new jdk.incubator.jpackage.internal.PackagerException
dup
aload 2
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
end local 4 24: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
25: iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 17
end local 3 26: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 s Ljava/lang/String;
0 27 1 forApp Z
4 27 2 exceptionKey Ljava/lang/String;
11 13 3 p Ljava/nio/file/Path;
14 15 3 ipe Ljava/nio/file/InvalidPathException;
16 26 3 i I
18 24 4 a C
Exception table:
from to target type
10 13 13 Class java.nio.file.InvalidPathException
Exceptions:
throws jdk.incubator.jpackage.internal.PackagerException
MethodParameters:
Name Flags
s
forApp
public void validate();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=13, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.bundlerArguments:Ljava/util/Map;
1: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.MODULE:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
2: invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 3
iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: istore 1
start local 1 5: aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.bundlerArguments:Ljava/util/Map;
6: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.PREDEFINED_APP_IMAGE:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
7: invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 8
iconst_1
goto 9
StackMap locals: int
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: istore 2
start local 2 10: aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.bundlerArguments:Ljava/util/Map;
11: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.APPCLASS:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
12: invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.bundlerArguments:Ljava/util/Map;
14: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.MAIN_JAR:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
15: invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 16
iconst_1
goto 17
StackMap locals: int
StackMap stack:
16: iconst_0
StackMap locals:
StackMap stack: int
17: istore 3
start local 3 18: aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.bundlerArguments:Ljava/util/Map;
19: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.PREDEFINED_RUNTIME_IMAGE:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
20: invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 21
iconst_1
goto 22
StackMap locals: int
StackMap stack:
21: iconst_0
StackMap locals:
StackMap stack: int
22: istore 4
start local 4 23: aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.bundlerArguments:Ljava/util/Map;
24: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.INPUT:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
25: invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 26
iconst_1
goto 27
StackMap locals: int
StackMap stack:
26: iconst_0
StackMap locals:
StackMap stack: int
27: istore 5
start local 5 28: aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.bundlerArguments:Ljava/util/Map;
29: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.MODULE_PATH:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
30: invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 31
iconst_1
goto 32
StackMap locals: int
StackMap stack:
31: iconst_0
StackMap locals:
StackMap stack: int
32: istore 6
start local 6 33: aload 0
invokevirtual jdk.incubator.jpackage.internal.DeployParams.isTargetAppImage:()Z
ifne 36
34: iload 2
ifne 36
iload 1
ifne 36
iload 3
ifne 36
iload 4
ifeq 36
35: iconst_1
goto 37
StackMap locals: int
StackMap stack:
36: iconst_0
StackMap locals:
StackMap stack: int
37: istore 7
start local 7 38: aload 0
invokevirtual jdk.incubator.jpackage.internal.DeployParams.isTargetAppImage:()Z
ifeq 48
39: iload 1
ifeq 44
40: iload 6
ifne 58
iload 4
ifne 58
41: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_MissingArgument"
iconst_1
anewarray java.lang.String
dup
iconst_0
42: ldc "--runtime-image or --module-path"
43: aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
44: StackMap locals: int
StackMap stack:
iload 5
ifne 58
45: new jdk.incubator.jpackage.internal.PackagerException
dup
46: ldc "ERR_MissingArgument"
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "--input"
47: aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
48: StackMap locals:
StackMap stack:
iload 7
ifne 58
49: iload 1
ifeq 54
50: iload 6
ifne 58
iload 4
ifne 58
iload 2
ifne 58
51: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_MissingArgument"
iconst_1
anewarray java.lang.String
dup
iconst_0
52: ldc "--runtime-image, --module-path or --app-image"
53: aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
54: StackMap locals:
StackMap stack:
iload 5
ifne 58
iload 2
ifne 58
55: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_MissingArgument"
iconst_1
anewarray java.lang.String
dup
iconst_0
56: ldc "--input or --app-image"
57: aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
58: StackMap locals:
StackMap stack:
iload 1
ifne 65
iload 2
ifne 65
iload 7
ifne 65
59: aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.resources:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 61
60: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_MissingAppResources"
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;)V
athrow
61: StackMap locals:
StackMap stack:
iload 3
ifne 65
62: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_MissingArgument"
iconst_1
anewarray java.lang.String
dup
iconst_0
63: ldc "--main-jar"
64: aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
65: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.bundlerArguments:Ljava/util/Map;
66: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.NAME:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
67: invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 68: aload 8
iconst_1
invokestatic jdk.incubator.jpackage.internal.DeployParams.validateName:(Ljava/lang/String;Z)V
69: aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.bundlerArguments:Ljava/util/Map;
70: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.PREDEFINED_APP_IMAGE:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
71: invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 9
start local 9 72: aload 9
ifnull 76
73: new java.io.File
dup
aload 9
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 10
start local 10 74: aload 10
invokevirtual java.io.File.exists:()Z
ifeq 75
aload 10
invokevirtual java.io.File.list:()[Ljava/lang/String;
arraylength
ifne 76
75: StackMap locals: java.lang.String java.lang.String java.io.File
StackMap stack:
new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_AppImageNotExist"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 9
aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
end local 10 76: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.bundlerArguments:Ljava/util/Map;
77: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.TEMP_ROOT:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
78: invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 10
start local 10 79: aload 10
ifnull 83
80: new java.io.File
dup
aload 10
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.list:()[Ljava/lang/String;
astore 11
start local 11 81: aload 11
ifnull 83
aload 11
arraylength
ifle 83
82: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_BuildRootInvalid"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 10
aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
end local 11 83: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.bundlerArguments:Ljava/util/Map;
84: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.LICENSE_FILE:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
85: invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 11
start local 11 86: aload 11
ifnull 90
87: new java.io.File
dup
aload 11
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 12
start local 12 88: aload 12
invokevirtual java.io.File.exists:()Z
ifne 90
89: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_LicenseFileNotExit"
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;)V
athrow
end local 12 90: StackMap locals: java.lang.String
StackMap stack:
return
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 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 91 0 this Ljdk/incubator/jpackage/internal/DeployParams;
5 91 1 hasModule Z
10 91 2 hasAppImage Z
18 91 3 hasMain Z
23 91 4 hasRuntimeImage Z
28 91 5 hasInput Z
33 91 6 hasModulePath Z
38 91 7 runtimeInstaller Z
68 91 8 name Ljava/lang/String;
72 91 9 appImage Ljava/lang/String;
74 76 10 appImageDir Ljava/io/File;
79 91 10 root Ljava/lang/String;
81 83 11 contents [Ljava/lang/String;
86 91 11 license Ljava/lang/String;
88 90 12 licenseFile Ljava/io/File;
Exceptions:
throws jdk.incubator.jpackage.internal.PackagerException
void setTargetFormat(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.incubator.jpackage.internal.DeployParams.targetFormat:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/jpackage/internal/DeployParams;
0 2 1 t Ljava/lang/String;
MethodParameters:
Name Flags
t
java.lang.String getTargetFormat();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.targetFormat:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/DeployParams;
boolean isTargetAppImage();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "app-image"
aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.targetFormat:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/DeployParams;
public void addBundleArgument(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: getstatic jdk.incubator.jpackage.internal.DeployParams.multi_args:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 24
1: aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.bundlerArguments:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 2: aload 3
instanceof java.lang.String
ifeq 14
aload 2
instanceof java.lang.String
ifeq 14
3: ldc "\n\n"
astore 4
start local 4 4: aload 1
getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.MODULE_PATH:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.getID:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
5: getstatic java.io.File.pathSeparator:Ljava/lang/String;
astore 4
6: goto 12
StackMap locals: java.lang.Object java.lang.String
StackMap stack:
7: aload 1
8: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.ADD_MODULES:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.getID:()Ljava/lang/String;
9: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
10: ifeq 12
11: ldc ","
astore 4
12: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.bundlerArguments:Ljava/util/Map;
aload 1
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 13: goto 25
StackMap locals:
StackMap stack:
14: aload 3
instanceof java.util.List
ifeq 17
aload 2
instanceof java.util.List
ifeq 17
15: aload 3
checkcast java.util.List
aload 2
checkcast java.util.List
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
16: goto 25
StackMap locals:
StackMap stack:
17: aload 3
instanceof java.util.Map
ifeq 22
18: aload 2
instanceof java.lang.String
ifeq 22
aload 2
checkcast java.lang.String
ldc "="
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 22
19: aload 2
checkcast java.lang.String
ldc "="
iconst_2
invokevirtual java.lang.String.split:(Ljava/lang/String;I)[Ljava/lang/String;
astore 4
start local 4 20: aload 3
checkcast java.util.Map
aload 4
iconst_0
aaload
aload 4
iconst_1
aaload
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 21: goto 25
22: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.bundlerArguments:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 23: goto 25
24: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.bundlerArguments:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
25: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Ljdk/incubator/jpackage/internal/DeployParams;
0 26 1 key Ljava/lang/String;
0 26 2 value Ljava/lang/Object;
2 23 3 existingValue Ljava/lang/Object;
4 13 4 delim Ljava/lang/String;
20 21 4 mapValues [Ljava/lang/String;
MethodParameters:
Name Flags
key
value
jdk.incubator.jpackage.internal.BundleParams getBundleParams();
descriptor: ()Ljdk/incubator/jpackage/internal/BundleParams;
flags: (0x0000)
Code:
stack=5, locals=3, args_size=1
start local 0 0: new jdk.incubator.jpackage.internal.BundleParams
dup
invokespecial jdk.incubator.jpackage.internal.BundleParams.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.resources:Ljava/util/List;
invokevirtual jdk.incubator.jpackage.internal.BundleParams.setAppResourcesList:(Ljava/util/List;)V
2: new java.util.TreeMap
invokespecial java.util.TreeMap.<init>:()V
3: new java.util.TreeMap
invokespecial java.util.TreeMap.<init>:()V
4: new java.util.TreeSet
dup
aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.bundlerArguments:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokespecial java.util.TreeSet.<init>:(Ljava/util/Collection;)V
astore 2
start local 2 5: aload 2
aload 1
invokevirtual jdk.incubator.jpackage.internal.BundleParams.getBundleParamsAsMap:()Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokevirtual java.util.TreeSet.retainAll:(Ljava/util/Collection;)Z
pop
6: aload 2
invokevirtual java.util.TreeSet.isEmpty:()Z
ifne 10
7: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Deploy Params and Bundler Arguments overlap in the following values:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: aload 2
invokevirtual java.util.TreeSet.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: jdk.incubator.jpackage.internal.BundleParams java.util.TreeSet
StackMap stack:
aload 1
aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.bundlerArguments:Ljava/util/Map;
invokevirtual jdk.incubator.jpackage.internal.BundleParams.addAllBundleParams:(Ljava/util/Map;)V
11: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/incubator/jpackage/internal/DeployParams;
1 12 1 bundleParams Ljdk/incubator/jpackage/internal/BundleParams;
5 12 2 keys Ljava/util/TreeSet<Ljava/lang/String;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "DeployParams {output: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.outdir:Ljava/io/File;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
1: ldc " resources: {"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.incubator.jpackage.internal.DeployParams.resources:Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "}}"
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/DeployParams;
}
SourceFile: "DeployParams.java"
NestMembers:
jdk.incubator.jpackage.internal.DeployParams$Template
InnerClasses:
public final CLIOptions = jdk.incubator.jpackage.internal.Arguments$CLIOptions of jdk.incubator.jpackage.internal.Arguments
Template = jdk.incubator.jpackage.internal.DeployParams$Template of jdk.incubator.jpackage.internal.DeployParams