public class jdk.incubator.jpackage.internal.Arguments
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.incubator.jpackage.internal.Arguments
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 static final java.lang.String FA_EXTENSIONS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "extension"
private static final java.lang.String FA_CONTENT_TYPE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "mime-type"
private static final java.lang.String FA_DESCRIPTION;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "description"
private static final java.lang.String FA_ICON;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "icon"
private static java.util.regex.Pattern pattern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private jdk.incubator.jpackage.internal.DeployParams deployParams;
descriptor: Ljdk/incubator/jpackage/internal/DeployParams;
flags: (0x0002) ACC_PRIVATE
private int pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.List<java.lang.String> argList;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/String;>;
private java.util.List<jdk.incubator.jpackage.internal.Arguments$CLIOptions> allOptions;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;>;
private java.lang.String input;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String output;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean hasMainJar;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean hasMainClass;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean hasMainModule;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public boolean userProvidedBuildRoot;
descriptor: Z
flags: (0x0001) ACC_PUBLIC
private java.lang.String buildRoot;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String mainJarPath;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private static boolean runtimeInstaller;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private java.util.List<jdk.incubator.jpackage.internal.AddLauncherArguments> addLaunchers;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljdk/incubator/jpackage/internal/AddLauncherArguments;>;
private static java.util.Map<java.lang.String, jdk.incubator.jpackage.internal.Arguments$CLIOptions> argIds;
descriptor: Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;>;
private static java.util.Map<java.lang.String, jdk.incubator.jpackage.internal.Arguments$CLIOptions> argShortIds;
descriptor: Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, 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.Arguments.I18N:Ljava/util/ResourceBundle;
2: ldc "(?:(?:([\"'])(?:\\\\\\1|.)*?(?:\\1|$))|(?:\\\\[\"'\\s]|[^\\s]))++"
3: invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic jdk.incubator.jpackage.internal.Arguments.pattern:Ljava/util/regex/Pattern;
4: iconst_0
putstatic jdk.incubator.jpackage.internal.Arguments.runtimeInstaller:Z
5: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic jdk.incubator.jpackage.internal.Arguments.argIds:Ljava/util/Map;
6: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic jdk.incubator.jpackage.internal.Arguments.argShortIds:Ljava/util/Map;
7: ldc Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokestatic java.util.EnumSet.allOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
invokedynamic accept()Ljava/util/function/Consumer;
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;)V
jdk/incubator/jpackage/internal/Arguments.lambda$0(Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;)V (6)
(Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;)V
invokevirtual java.util.EnumSet.forEach:(Ljava/util/function/Consumer;)V
8: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield jdk.incubator.jpackage.internal.Arguments.deployParams:Ljdk/incubator/jpackage/internal/DeployParams;
2: aload 0
iconst_0
putfield jdk.incubator.jpackage.internal.Arguments.pos:I
3: aload 0
aconst_null
putfield jdk.incubator.jpackage.internal.Arguments.argList:Ljava/util/List;
4: aload 0
aconst_null
putfield jdk.incubator.jpackage.internal.Arguments.allOptions:Ljava/util/List;
5: aload 0
aconst_null
putfield jdk.incubator.jpackage.internal.Arguments.input:Ljava/lang/String;
6: aload 0
aconst_null
putfield jdk.incubator.jpackage.internal.Arguments.output:Ljava/lang/String;
7: aload 0
iconst_0
putfield jdk.incubator.jpackage.internal.Arguments.hasMainJar:Z
8: aload 0
iconst_0
putfield jdk.incubator.jpackage.internal.Arguments.hasMainClass:Z
9: aload 0
iconst_0
putfield jdk.incubator.jpackage.internal.Arguments.hasMainModule:Z
10: aload 0
iconst_0
putfield jdk.incubator.jpackage.internal.Arguments.userProvidedBuildRoot:Z
11: aload 0
aconst_null
putfield jdk.incubator.jpackage.internal.Arguments.buildRoot:Ljava/lang/String;
12: aload 0
aconst_null
putfield jdk.incubator.jpackage.internal.Arguments.mainJarPath:Ljava/lang/String;
13: aload 0
aconst_null
putfield jdk.incubator.jpackage.internal.Arguments.addLaunchers:Ljava/util/List;
14: aload 0
new java.util.ArrayList
dup
aload 1
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
putfield jdk.incubator.jpackage.internal.Arguments.argList:Ljava/util/List;
15: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 19
StackMap locals: jdk.incubator.jpackage.internal.Arguments java.lang.String[] top int int java.lang.String[]
StackMap stack:
16: aload 5
iload 3
aaload
astore 2
start local 2 17: aload 0
getfield jdk.incubator.jpackage.internal.Arguments.argList:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 18: iinc 3 1
StackMap locals:
StackMap stack:
19: iload 3
iload 4
if_icmplt 16
20: new java.lang.StringBuilder
dup
ldc "\njpackage argument list: \n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.incubator.jpackage.internal.Arguments.argList:Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
21: aload 0
iconst_0
putfield jdk.incubator.jpackage.internal.Arguments.pos:I
22: aload 0
new jdk.incubator.jpackage.internal.DeployParams
dup
invokespecial jdk.incubator.jpackage.internal.DeployParams.<init>:()V
putfield jdk.incubator.jpackage.internal.Arguments.deployParams:Ljdk/incubator/jpackage/internal/DeployParams;
23: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.incubator.jpackage.internal.Arguments.allOptions:Ljava/util/List;
24: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.incubator.jpackage.internal.Arguments.addLaunchers:Ljava/util/List;
25: aload 0
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.toString:()Ljava/lang/String;
putfield jdk.incubator.jpackage.internal.Arguments.output:Ljava/lang/String;
26: aload 0
getfield jdk.incubator.jpackage.internal.Arguments.deployParams:Ljdk/incubator/jpackage/internal/DeployParams;
new java.io.File
dup
aload 0
getfield jdk.incubator.jpackage.internal.Arguments.output:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual jdk.incubator.jpackage.internal.DeployParams.setOutput:(Ljava/io/File;)V
27: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Ljdk/incubator/jpackage/internal/Arguments;
0 28 1 args [Ljava/lang/String;
17 18 2 arg Ljava/lang/String;
MethodParameters:
Name Flags
args
public boolean processArguments();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=12, args_size=1
start local 0 0: aload 0
invokestatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.setContext:(Ljdk/incubator/jpackage/internal/Arguments;)V
1: goto 10
2: StackMap locals:
StackMap stack:
invokestatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.getArg:()Ljava/lang/String;
astore 1
start local 1 3: aload 1
invokestatic jdk.incubator.jpackage.internal.Arguments.toCLIOption:(Ljava/lang/String;)Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
dup
astore 2
start local 2 4: ifnull 8
5: aload 0
getfield jdk.incubator.jpackage.internal.Arguments.allOptions:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: aload 2
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.execute:()V
7: goto 9
8: StackMap locals: java.lang.String jdk.incubator.jpackage.internal.Arguments$CLIOptions
StackMap stack:
new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_InvalidOption"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
invokestatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.nextArg:()V
end local 2 end local 1 StackMap locals:
StackMap stack:
10: invokestatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.hasNextArg:()Z
ifne 2
11: aload 0
getfield jdk.incubator.jpackage.internal.Arguments.hasMainJar:Z
ifeq 16
aload 0
getfield jdk.incubator.jpackage.internal.Arguments.hasMainClass:Z
ifne 16
12: aload 0
invokevirtual jdk.incubator.jpackage.internal.Arguments.getMainClassFromManifest:()Ljava/lang/String;
astore 3
start local 3 13: aload 3
ifnull 16
14: 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;
aload 3
15: invokestatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.setOptionValue:(Ljava/lang/String;Ljava/lang/Object;)V
end local 3 16: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.incubator.jpackage.internal.Arguments.validateArguments:()V
17: aload 0
aload 0
getfield jdk.incubator.jpackage.internal.Arguments.deployParams:Ljdk/incubator/jpackage/internal/DeployParams;
aload 0
getfield jdk.incubator.jpackage.internal.Arguments.input:Ljava/lang/String;
aload 0
getfield jdk.incubator.jpackage.internal.Arguments.mainJarPath:Ljava/lang/String;
invokevirtual jdk.incubator.jpackage.internal.Arguments.addResources:(Ljdk/incubator/jpackage/internal/DeployParams;Ljava/lang/String;Ljava/lang/String;)V
18: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
19: astore 3
start local 3 20: aload 0
getfield jdk.incubator.jpackage.internal.Arguments.addLaunchers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 23
StackMap locals: jdk.incubator.jpackage.internal.Arguments top top java.util.List top java.util.Iterator
StackMap stack:
21: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.incubator.jpackage.internal.AddLauncherArguments
astore 4
start local 4 22: aload 3
aload 4
invokevirtual jdk.incubator.jpackage.internal.AddLauncherArguments.getLauncherMap:()Ljava/util/Map;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 23: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 21
24: aload 0
getfield jdk.incubator.jpackage.internal.Arguments.deployParams:Ljdk/incubator/jpackage/internal/DeployParams;
25: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.ADD_LAUNCHERS:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.getID:()Ljava/lang/String;
26: aload 3
27: invokevirtual jdk.incubator.jpackage.internal.DeployParams.addBundleArgument:(Ljava/lang/String;Ljava/lang/Object;)V
28: aload 0
getfield jdk.incubator.jpackage.internal.Arguments.deployParams:Ljdk/incubator/jpackage/internal/DeployParams;
invokevirtual jdk.incubator.jpackage.internal.DeployParams.validate:()V
29: aload 0
getfield jdk.incubator.jpackage.internal.Arguments.deployParams:Ljdk/incubator/jpackage/internal/DeployParams;
invokevirtual jdk.incubator.jpackage.internal.DeployParams.getBundleParams:()Ljdk/incubator/jpackage/internal/BundleParams;
astore 4
start local 4 30: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 31: aload 5
aload 4
invokevirtual jdk.incubator.jpackage.internal.BundleParams.getName:()Ljava/lang/String;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
32: aload 0
getfield jdk.incubator.jpackage.internal.Arguments.addLaunchers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 46
StackMap locals: jdk.incubator.jpackage.internal.Arguments top top java.util.List jdk.incubator.jpackage.internal.BundleParams java.util.ArrayList top java.util.Iterator
StackMap stack:
33: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.incubator.jpackage.internal.AddLauncherArguments
astore 6
start local 6 34: aload 6
invokevirtual jdk.incubator.jpackage.internal.AddLauncherArguments.getLauncherMap:()Ljava/util/Map;
astore 8
start local 8 35: aload 8
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;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
36: astore 9
start local 9 37: aload 9
ifnonnull 39
38: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_NoAddLauncherName"
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;)V
athrow
39: StackMap locals: jdk.incubator.jpackage.internal.Arguments top top java.util.List jdk.incubator.jpackage.internal.BundleParams java.util.ArrayList jdk.incubator.jpackage.internal.AddLauncherArguments java.util.Iterator java.util.Map java.lang.String
StackMap stack:
aload 9
iconst_0
invokestatic jdk.incubator.jpackage.internal.DeployParams.validateName:(Ljava/lang/String;Z)V
40: aload 5
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 11
goto 44
StackMap locals: jdk.incubator.jpackage.internal.Arguments top top java.util.List jdk.incubator.jpackage.internal.BundleParams java.util.ArrayList jdk.incubator.jpackage.internal.AddLauncherArguments java.util.Iterator java.util.Map java.lang.String top java.util.Iterator
StackMap stack:
41: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 10
start local 10 42: aload 9
aload 10
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 44
43: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_NoUniqueName"
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;)V
athrow
end local 10 44: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 41
45: aload 5
aload 9
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 9 end local 8 end local 6 46: StackMap locals: jdk.incubator.jpackage.internal.Arguments top top java.util.List jdk.incubator.jpackage.internal.BundleParams java.util.ArrayList top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 33
47: getstatic jdk.incubator.jpackage.internal.Arguments.runtimeInstaller:Z
ifeq 49
aload 4
invokevirtual jdk.incubator.jpackage.internal.BundleParams.getName:()Ljava/lang/String;
ifnonnull 49
48: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_NoJreInstallerName"
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;)V
athrow
49: StackMap locals: jdk.incubator.jpackage.internal.Arguments top top java.util.List jdk.incubator.jpackage.internal.BundleParams java.util.ArrayList
StackMap stack:
aload 0
aload 4
invokevirtual jdk.incubator.jpackage.internal.BundleParams.getBundleParamsAsMap:()Ljava/util/Map;
invokevirtual jdk.incubator.jpackage.internal.Arguments.generateBundle:(Ljava/util/Map;)V
50: iconst_1
ireturn
end local 5 end local 4 end local 3 51: StackMap locals: jdk.incubator.jpackage.internal.Arguments
StackMap stack: java.lang.Exception
astore 1
start local 1 52: invokestatic jdk.incubator.jpackage.internal.Log.isVerbose:()Z
ifeq 55
53: aload 1
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
54: goto 61
55: StackMap locals: java.lang.Exception
StackMap stack:
aload 1
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
astore 2
start local 2 56: aload 2
invokestatic jdk.incubator.jpackage.internal.Log.error:(Ljava/lang/String;)V
57: aload 1
invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
ifnull 61
aload 1
invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
aload 1
if_acmpeq 61
58: aload 1
invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
astore 3
start local 3 59: aload 3
ifnull 61
aload 2
aload 3
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 61
60: aload 3
invokestatic jdk.incubator.jpackage.internal.Log.error:(Ljava/lang/String;)V
end local 3 end local 2 61: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 62 0 this Ljdk/incubator/jpackage/internal/Arguments;
3 10 1 arg Ljava/lang/String;
4 10 2 option Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
13 16 3 mainClass Ljava/lang/String;
20 51 3 launchersAsMap Ljava/util/List<Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;>;
22 23 4 sl Ljdk/incubator/jpackage/internal/AddLauncherArguments;
30 51 4 bp Ljdk/incubator/jpackage/internal/BundleParams;
31 51 5 usedNames Ljava/util/ArrayList<Ljava/lang/String;>;
34 46 6 sl Ljdk/incubator/jpackage/internal/AddLauncherArguments;
35 46 8 slMap Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
37 46 9 slName Ljava/lang/String;
42 44 10 usedName Ljava/lang/String;
52 62 1 e Ljava/lang/Exception;
56 61 2 msg1 Ljava/lang/String;
59 61 3 msg2 Ljava/lang/String;
Exception table:
from to target type
0 50 51 Class java.lang.Exception
private void validateArguments();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=9, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.jpackage.internal.Arguments.deployParams:Ljdk/incubator/jpackage/internal/DeployParams;
invokevirtual jdk.incubator.jpackage.internal.DeployParams.getTargetFormat:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: ldc "default"
StackMap locals:
StackMap stack: java.lang.String
3: astore 2
start local 2 4: aload 0
getfield jdk.incubator.jpackage.internal.Arguments.deployParams:Ljdk/incubator/jpackage/internal/DeployParams;
invokevirtual jdk.incubator.jpackage.internal.DeployParams.isTargetAppImage:()Z
istore 3
start local 3 5: aload 0
getfield jdk.incubator.jpackage.internal.Arguments.allOptions:Ljava/util/List;
6: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.PREDEFINED_APP_IMAGE:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
7: invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
istore 4
start local 4 8: aload 0
getfield jdk.incubator.jpackage.internal.Arguments.allOptions:Ljava/util/List;
9: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.PREDEFINED_RUNTIME_IMAGE:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
10: invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
istore 5
start local 5 11: iload 3
ifne 12
iload 4
ifeq 12
iconst_1
goto 13
StackMap locals: jdk.incubator.jpackage.internal.Arguments java.lang.String java.lang.String int int int
StackMap stack:
12: iconst_0
StackMap locals:
StackMap stack: int
13: istore 6
start local 6 14: iload 3
ifne 16
iload 5
ifeq 16
iload 4
ifne 16
15: aload 0
getfield jdk.incubator.jpackage.internal.Arguments.hasMainModule:Z
ifne 16
aload 0
getfield jdk.incubator.jpackage.internal.Arguments.hasMainJar:Z
ifne 16
iconst_1
goto 17
StackMap locals: int
StackMap stack:
16: iconst_0
17: StackMap locals:
StackMap stack: int
putstatic jdk.incubator.jpackage.internal.Arguments.runtimeInstaller:Z
18: aload 0
getfield jdk.incubator.jpackage.internal.Arguments.allOptions:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 38
StackMap locals: jdk.incubator.jpackage.internal.Arguments java.lang.String java.lang.String int int int int top java.util.Iterator
StackMap stack:
19: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.incubator.jpackage.internal.Arguments$CLIOptions
astore 7
start local 7 20: aload 7
invokestatic jdk.incubator.jpackage.internal.ValidOptions.checkIfSupported:(Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;)Z
ifne 24
21: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_UnsupportedOption"
iconst_1
anewarray java.lang.String
dup
iconst_0
22: aload 7
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getIdWithPrefix:()Ljava/lang/String;
23: aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
24: StackMap locals: jdk.incubator.jpackage.internal.Arguments java.lang.String java.lang.String int int int int jdk.incubator.jpackage.internal.Arguments$CLIOptions java.util.Iterator
StackMap stack:
iload 3
ifeq 29
25: aload 7
invokestatic jdk.incubator.jpackage.internal.ValidOptions.checkIfImageSupported:(Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;)Z
ifne 38
26: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_InvalidTypeOption"
iconst_2
anewarray java.lang.String
dup
iconst_0
27: aload 7
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getIdWithPrefix:()Ljava/lang/String;
aastore
dup
iconst_1
aload 1
28: aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
29: StackMap locals:
StackMap stack:
iload 6
ifne 30
getstatic jdk.incubator.jpackage.internal.Arguments.runtimeInstaller:Z
ifeq 38
30: StackMap locals:
StackMap stack:
aload 7
invokestatic jdk.incubator.jpackage.internal.ValidOptions.checkIfInstallerSupported:(Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;)Z
ifne 38
31: getstatic jdk.incubator.jpackage.internal.Arguments.runtimeInstaller:Z
ifeq 35
32: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_NoInstallerEntryPoint"
iconst_1
anewarray java.lang.String
dup
iconst_0
33: aload 7
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getIdWithPrefix:()Ljava/lang/String;
34: aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
35: StackMap locals:
StackMap stack:
new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_InvalidTypeOption"
iconst_2
anewarray java.lang.String
dup
iconst_0
36: aload 7
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getIdWithPrefix:()Ljava/lang/String;
aastore
dup
iconst_1
aload 2
37: aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
end local 7 38: StackMap locals: jdk.incubator.jpackage.internal.Arguments java.lang.String java.lang.String int int int int top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 19
39: iload 5
ifeq 55
40: iload 4
ifeq 45
41: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_MutuallyExclusiveOptions"
iconst_2
anewarray java.lang.String
dup
iconst_0
42: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.PREDEFINED_RUNTIME_IMAGE:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getIdWithPrefix:()Ljava/lang/String;
aastore
dup
iconst_1
43: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.PREDEFINED_APP_IMAGE:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getIdWithPrefix:()Ljava/lang/String;
44: aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
45: StackMap locals: jdk.incubator.jpackage.internal.Arguments java.lang.String java.lang.String int int int int
StackMap stack:
aload 0
getfield jdk.incubator.jpackage.internal.Arguments.allOptions:Ljava/util/List;
getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.ADD_MODULES:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 50
46: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_MutuallyExclusiveOptions"
iconst_2
anewarray java.lang.String
dup
iconst_0
47: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.PREDEFINED_RUNTIME_IMAGE:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getIdWithPrefix:()Ljava/lang/String;
aastore
dup
iconst_1
48: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.ADD_MODULES:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getIdWithPrefix:()Ljava/lang/String;
49: aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
50: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.jpackage.internal.Arguments.allOptions:Ljava/util/List;
getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.BIND_SERVICES:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 55
51: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_MutuallyExclusiveOptions"
iconst_2
anewarray java.lang.String
dup
iconst_0
52: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.PREDEFINED_RUNTIME_IMAGE:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getIdWithPrefix:()Ljava/lang/String;
aastore
dup
iconst_1
53: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.BIND_SERVICES:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getIdWithPrefix:()Ljava/lang/String;
54: aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
55: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.jpackage.internal.Arguments.hasMainJar:Z
ifeq 57
aload 0
getfield jdk.incubator.jpackage.internal.Arguments.hasMainModule:Z
ifeq 57
56: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_BothMainJarAndModule"
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;)V
athrow
57: StackMap locals:
StackMap stack:
iload 3
ifeq 59
aload 0
getfield jdk.incubator.jpackage.internal.Arguments.hasMainJar:Z
ifne 59
aload 0
getfield jdk.incubator.jpackage.internal.Arguments.hasMainModule:Z
ifne 59
58: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_NoEntryPoint"
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;)V
athrow
59: StackMap locals:
StackMap stack:
return
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 60 0 this Ljdk/incubator/jpackage/internal/Arguments;
1 60 1 type Ljava/lang/String;
4 60 2 ptype Ljava/lang/String;
5 60 3 imageOnly Z
8 60 4 hasAppImage Z
11 60 5 hasRuntime Z
14 60 6 installerOnly Z
20 38 7 option Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
Exceptions:
throws jdk.incubator.jpackage.internal.PackagerException
private jdk.incubator.jpackage.internal.Bundler getPlatformBundler();
descriptor: ()Ljdk/incubator/jpackage/internal/Bundler;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.jpackage.internal.Arguments.deployParams:Ljdk/incubator/jpackage/internal/DeployParams;
invokevirtual jdk.incubator.jpackage.internal.DeployParams.isTargetAppImage:()Z
istore 1
start local 1 1: aload 0
getfield jdk.incubator.jpackage.internal.Arguments.deployParams:Ljdk/incubator/jpackage/internal/DeployParams;
invokevirtual jdk.incubator.jpackage.internal.DeployParams.getTargetFormat:()Ljava/lang/String;
astore 2
start local 2 2: iload 1
ifeq 3
ldc "IMAGE"
goto 4
StackMap locals: int java.lang.String
StackMap stack:
3: ldc "INSTALLER"
StackMap locals:
StackMap stack: java.lang.String
4: astore 3
start local 3 5: invokestatic jdk.incubator.jpackage.internal.Bundlers.createBundlersInstance:()Ljdk/incubator/jpackage/internal/Bundlers;
aload 3
invokeinterface jdk.incubator.jpackage.internal.Bundlers.getBundlers:(Ljava/lang/String;)Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 14
StackMap locals: jdk.incubator.jpackage.internal.Arguments int java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
6: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.incubator.jpackage.internal.Bundler
astore 4
start local 4 7: aload 2
ifnonnull 11
8: aload 4
invokeinterface jdk.incubator.jpackage.internal.Bundler.isDefault:()Z
ifeq 14
9: aload 4
getstatic jdk.incubator.jpackage.internal.Arguments.runtimeInstaller:Z
invokeinterface jdk.incubator.jpackage.internal.Bundler.supported:(Z)Z
ifeq 14
10: aload 4
areturn
11: StackMap locals: jdk.incubator.jpackage.internal.Arguments int java.lang.String java.lang.String jdk.incubator.jpackage.internal.Bundler java.util.Iterator
StackMap stack:
iload 1
ifne 12
aload 2
aload 4
invokeinterface jdk.incubator.jpackage.internal.Bundler.getID:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 14
12: StackMap locals:
StackMap stack:
aload 4
getstatic jdk.incubator.jpackage.internal.Arguments.runtimeInstaller:Z
invokeinterface jdk.incubator.jpackage.internal.Bundler.supported:(Z)Z
ifeq 14
13: aload 4
areturn
end local 4 14: StackMap locals: jdk.incubator.jpackage.internal.Arguments int java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
15: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/incubator/jpackage/internal/Arguments;
1 16 1 appImage Z
2 16 2 type Ljava/lang/String;
5 16 3 bundleType Ljava/lang/String;
7 14 4 bundler Ljdk/incubator/jpackage/internal/Bundler;
private void generateBundle(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=6, args_size=2
start local 0 start local 1 0: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.TEMP_ROOT:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual jdk.incubator.jpackage.internal.Arguments.getPlatformBundler:()Ljdk/incubator/jpackage/internal/Bundler;
astore 2
start local 2 2: aload 2
ifnonnull 6
3: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_InvalidInstallerType"
iconst_1
anewarray java.lang.String
dup
iconst_0
4: aload 0
getfield jdk.incubator.jpackage.internal.Arguments.deployParams:Ljdk/incubator/jpackage/internal/DeployParams;
invokevirtual jdk.incubator.jpackage.internal.DeployParams.getTargetFormat:()Ljava/lang/String;
5: aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
6: StackMap locals: jdk.incubator.jpackage.internal.Bundler
StackMap stack:
new java.util.HashMap
dup
aload 1
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 3
start local 3 7: aload 2
aload 3
invokeinterface jdk.incubator.jpackage.internal.Bundler.validate:(Ljava/util/Map;)Z
pop
8: aload 2
aload 3
aload 0
getfield jdk.incubator.jpackage.internal.Arguments.deployParams:Ljdk/incubator/jpackage/internal/DeployParams;
getfield jdk.incubator.jpackage.internal.DeployParams.outdir:Ljava/io/File;
invokeinterface jdk.incubator.jpackage.internal.Bundler.execute:(Ljava/util/Map;Ljava/io/File;)Ljava/io/File;
astore 4
start local 4 9: aload 4
ifnonnull 13
10: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "MSG_BundlerFailed"
iconst_2
anewarray java.lang.String
dup
iconst_0
11: aload 2
invokeinterface jdk.incubator.jpackage.internal.Bundler.getID:()Ljava/lang/String;
aastore
dup
iconst_1
aload 2
invokeinterface jdk.incubator.jpackage.internal.Bundler.getName:()Ljava/lang/String;
12: aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
13: StackMap locals: java.util.Map java.io.File
StackMap stack:
getstatic jdk.incubator.jpackage.internal.Arguments.I18N:Ljava/util/ResourceBundle;
ldc "message.bundle-created"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
14: aload 2
invokeinterface jdk.incubator.jpackage.internal.Bundler.getName:()Ljava/lang/String;
aastore
15: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
end local 4 16: goto 40
StackMap locals: jdk.incubator.jpackage.internal.Arguments java.util.Map jdk.incubator.jpackage.internal.Bundler java.util.Map
StackMap stack: jdk.incubator.jpackage.internal.ConfigException
17: astore 4
start local 4 18: aload 4
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
19: aload 4
invokevirtual jdk.incubator.jpackage.internal.ConfigException.getAdvice:()Ljava/lang/String;
ifnull 23
20: new jdk.incubator.jpackage.internal.PackagerException
dup
aload 4
ldc "MSG_BundlerConfigException"
iconst_3
anewarray java.lang.String
dup
iconst_0
21: aload 2
invokeinterface jdk.incubator.jpackage.internal.Bundler.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 4
invokevirtual jdk.incubator.jpackage.internal.ConfigException.getMessage:()Ljava/lang/String;
aastore
dup
iconst_2
aload 4
invokevirtual jdk.incubator.jpackage.internal.ConfigException.getAdvice:()Ljava/lang/String;
22: aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)V
athrow
23: StackMap locals: jdk.incubator.jpackage.internal.ConfigException
StackMap stack:
new jdk.incubator.jpackage.internal.PackagerException
dup
aload 4
24: ldc "MSG_BundlerConfigExceptionNoAdvice"
iconst_2
anewarray java.lang.String
dup
iconst_0
25: aload 2
invokeinterface jdk.incubator.jpackage.internal.Bundler.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 4
invokevirtual jdk.incubator.jpackage.internal.ConfigException.getMessage:()Ljava/lang/String;
26: aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)V
athrow
end local 4 27: StackMap locals: jdk.incubator.jpackage.internal.Arguments java.util.Map jdk.incubator.jpackage.internal.Bundler java.util.Map
StackMap stack: java.lang.RuntimeException
astore 4
start local 4 28: aload 4
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
29: new jdk.incubator.jpackage.internal.PackagerException
dup
aload 4
ldc "MSG_BundlerRuntimeException"
iconst_2
anewarray java.lang.String
dup
iconst_0
30: aload 2
invokeinterface jdk.incubator.jpackage.internal.Bundler.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 4
invokevirtual java.lang.RuntimeException.toString:()Ljava/lang/String;
31: aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)V
athrow
end local 4 32: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
33: aload 0
getfield jdk.incubator.jpackage.internal.Arguments.userProvidedBuildRoot:Z
ifeq 38
34: getstatic jdk.incubator.jpackage.internal.Arguments.I18N:Ljava/util/ResourceBundle;
ldc "message.debug-working-directory"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
35: new java.io.File
dup
aload 0
getfield jdk.incubator.jpackage.internal.Arguments.buildRoot:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
36: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
37: goto 39
38: StackMap locals: jdk.incubator.jpackage.internal.Arguments java.util.Map jdk.incubator.jpackage.internal.Bundler java.util.Map top java.lang.Throwable
StackMap stack:
aload 2
aload 3
invokeinterface jdk.incubator.jpackage.internal.Bundler.cleanup:(Ljava/util/Map;)V
39: StackMap locals:
StackMap stack:
aload 5
athrow
40: StackMap locals: jdk.incubator.jpackage.internal.Arguments java.util.Map jdk.incubator.jpackage.internal.Bundler java.util.Map
StackMap stack:
aload 0
getfield jdk.incubator.jpackage.internal.Arguments.userProvidedBuildRoot:Z
ifeq 45
41: getstatic jdk.incubator.jpackage.internal.Arguments.I18N:Ljava/util/ResourceBundle;
ldc "message.debug-working-directory"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
42: new java.io.File
dup
aload 0
getfield jdk.incubator.jpackage.internal.Arguments.buildRoot:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
43: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
44: goto 46
45: StackMap locals:
StackMap stack:
aload 2
aload 3
invokeinterface jdk.incubator.jpackage.internal.Bundler.cleanup:(Ljava/util/Map;)V
46: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 47 0 this Ljdk/incubator/jpackage/internal/Arguments;
0 47 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
2 47 2 bundler Ljdk/incubator/jpackage/internal/Bundler;
7 47 3 localParams Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
9 16 4 result Ljava/io/File;
18 27 4 e Ljdk/incubator/jpackage/internal/ConfigException;
28 32 4 re Ljava/lang/RuntimeException;
Exception table:
from to target type
7 16 17 Class jdk.incubator.jpackage.internal.ConfigException
7 16 27 Class java.lang.RuntimeException
7 32 32 any
Exceptions:
throws jdk.incubator.jpackage.internal.PackagerException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
params
private void addResources(jdk.incubator.jpackage.internal.DeployParams, java.lang.String, java.lang.String);
descriptor: (Ljdk/incubator/jpackage/internal/DeployParams;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnull 1
aload 2
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 2
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 4
start local 4 3: aload 4
invokevirtual java.io.File.isDirectory:()Z
ifne 5
4: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_InputNotDirectory"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 2
aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
5: StackMap locals: java.io.File
StackMap stack:
aload 4
invokevirtual java.io.File.canRead:()Z
ifne 7
6: new jdk.incubator.jpackage.internal.PackagerException
dup
ldc "ERR_CannotReadInputDir"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 2
aastore
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 8: aconst_null
astore 6
aconst_null
astore 7
9: aload 4
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
invokestatic java.nio.file.Files.list:(Ljava/nio/file/Path;)Ljava/util/stream/Stream;
astore 8
start local 8 10: aload 8
aload 5
invokedynamic accept(Ljava/util/List;)Ljava/util/function/Consumer;
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;)V
jdk/incubator/jpackage/internal/Arguments.lambda$1(Ljava/util/List;Ljava/nio/file/Path;)V (6)
(Ljava/nio/file/Path;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
11: aload 8
ifnull 19
aload 8
invokeinterface java.util.stream.Stream.close:()V
goto 19
StackMap locals: jdk.incubator.jpackage.internal.Arguments jdk.incubator.jpackage.internal.DeployParams java.lang.String java.lang.String java.io.File java.util.List java.lang.Throwable java.lang.Throwable java.util.stream.Stream
StackMap stack: java.lang.Throwable
12: astore 6
aload 8
ifnull 13
aload 8
invokeinterface java.util.stream.Stream.close:()V
end local 8 StackMap locals:
StackMap stack:
13: aload 6
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 7
aload 6
ifnonnull 15
aload 7
astore 6
goto 16
StackMap locals:
StackMap stack:
15: aload 6
aload 7
if_acmpeq 16
aload 6
aload 7
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
16: aload 6
athrow
StackMap locals: jdk.incubator.jpackage.internal.Arguments jdk.incubator.jpackage.internal.DeployParams java.lang.String java.lang.String java.io.File java.util.List
StackMap stack: java.io.IOException
17: astore 6
start local 6 18: new java.lang.StringBuilder
dup
ldc "Unable to add resources: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.error:(Ljava/lang/String;)V
end local 6 19: StackMap locals:
StackMap stack:
aload 5
aload 1
aload 4
invokedynamic accept(Ljdk/incubator/jpackage/internal/DeployParams;Ljava/io/File;)Ljava/util/function/Consumer;
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;)V
jdk/incubator/jpackage/internal/Arguments.lambda$2(Ljdk/incubator/jpackage/internal/DeployParams;Ljava/io/File;Ljava/lang/String;)V (6)
(Ljava/lang/String;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
20: aload 1
aload 3
invokevirtual jdk.incubator.jpackage.internal.DeployParams.setClasspath:(Ljava/lang/String;)V
21: 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 22 0 this Ljdk/incubator/jpackage/internal/Arguments;
0 22 1 deployParams Ljdk/incubator/jpackage/internal/DeployParams;
0 22 2 inputdir Ljava/lang/String;
0 22 3 mainJar Ljava/lang/String;
3 22 4 baseDir Ljava/io/File;
8 22 5 fileNames Ljava/util/List<Ljava/lang/String;>;
10 13 8 files Ljava/util/stream/Stream<Ljava/nio/file/Path;>;
18 19 6 e Ljava/io/IOException;
Exception table:
from to target type
10 11 12 any
9 14 14 any
8 17 17 Class java.io.IOException
Exceptions:
throws jdk.incubator.jpackage.internal.PackagerException
MethodParameters:
Name Flags
deployParams
inputdir
mainJar
static jdk.incubator.jpackage.internal.Arguments$CLIOptions toCLIOption(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic jdk.incubator.jpackage.internal.Arguments.argIds:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.incubator.jpackage.internal.Arguments$CLIOptions
dup
astore 1
start local 1 1: ifnonnull 3
2: getstatic jdk.incubator.jpackage.internal.Arguments.argShortIds:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.incubator.jpackage.internal.Arguments$CLIOptions
astore 1
3: StackMap locals: jdk.incubator.jpackage.internal.Arguments$CLIOptions
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 arg Ljava/lang/String;
1 4 1 option Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
MethodParameters:
Name Flags
arg
static java.util.Map<java.lang.String, java.lang.String> getPropertiesFromFile(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Map;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 1: new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 2
start local 2 2: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 3
start local 3 3: aconst_null
astore 4
aconst_null
astore 5
4: new java.io.FileInputStream
dup
aload 2
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 6
start local 6 5: aload 3
aload 6
invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
6: aload 6
ifnull 14
aload 6
invokevirtual java.io.FileInputStream.close:()V
goto 14
StackMap locals: java.lang.String java.util.Map java.io.File java.util.Properties java.lang.Throwable java.lang.Throwable java.io.FileInputStream
StackMap stack: java.lang.Throwable
7: astore 4
aload 6
ifnull 8
aload 6
invokevirtual java.io.FileInputStream.close:()V
end local 6 StackMap locals:
StackMap stack:
8: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 5
aload 4
ifnonnull 10
aload 5
astore 4
goto 11
StackMap locals:
StackMap stack:
10: aload 4
aload 5
if_acmpeq 11
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 4
athrow
StackMap locals: java.lang.String java.util.Map java.io.File java.util.Properties
StackMap stack: java.io.IOException
12: astore 4
start local 4 13: new java.lang.StringBuilder
dup
ldc "Exception: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.error:(Ljava/lang/String;)V
end local 4 14: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.util.Properties.stringPropertyNames:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 17
StackMap locals: java.lang.String java.util.Map java.io.File java.util.Properties top java.util.Iterator
StackMap stack:
15: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 16: aload 1
aload 4
aload 3
aload 4
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 17: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
18: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 filename Ljava/lang/String;
1 19 1 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
2 19 2 file Ljava/io/File;
3 19 3 properties Ljava/util/Properties;
5 8 6 in Ljava/io/FileInputStream;
13 14 4 e Ljava/io/IOException;
16 17 4 name Ljava/lang/String;
Exception table:
from to target type
5 6 7 any
4 9 9 any
3 12 12 Class java.io.IOException
Signature: (Ljava/lang/String;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
filename
static java.util.List<java.lang.String> getArgumentList(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, 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
ifnull 2
aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifeq 3
2: StackMap locals: java.util.List
StackMap stack:
aload 1
areturn
3: StackMap locals:
StackMap stack:
getstatic jdk.incubator.jpackage.internal.Arguments.pattern:Ljava/util/regex/Pattern;
aload 0
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 2
start local 2 4: goto 8
5: StackMap locals: java.util.regex.Matcher
StackMap stack:
aload 0
aload 2
invokevirtual java.util.regex.Matcher.start:()I
aload 2
invokevirtual java.util.regex.Matcher.end:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 3
start local 3 6: aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifne 8
7: aload 1
aload 3
invokestatic jdk.incubator.jpackage.internal.Arguments.unquoteIfNeeded:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 8: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.regex.Matcher.find:()Z
ifne 5
9: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 inputString Ljava/lang/String;
1 10 1 list Ljava/util/List<Ljava/lang/String;>;
4 10 2 m Ljava/util/regex/Matcher;
6 8 3 s Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
inputString
private static java.lang.String unquoteIfNeeded(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifeq 4
3: ldc ""
areturn
4: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 5: aload 0
iconst_0
aload 0
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.codePointCount:(II)I
istore 2
start local 2 6: iconst_m1
istore 3
start local 3 7: iconst_0
istore 4
start local 4 8: goto 25
9: StackMap locals: java.lang.String java.lang.StringBuilder int int int
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.String.codePointAt:(I)I
istore 5
start local 5 10: iload 5
bipush 34
if_icmpeq 11
iload 5
bipush 39
if_icmpne 23
11: StackMap locals: int
StackMap stack:
iload 4
ifle 15
aload 0
iload 4
iconst_1
isub
invokevirtual java.lang.String.codePointAt:(I)I
bipush 92
if_icmpne 15
12: aload 1
aload 1
invokevirtual java.lang.StringBuilder.length:()I
iconst_1
isub
invokevirtual java.lang.StringBuilder.deleteCharAt:(I)Ljava/lang/StringBuilder;
pop
13: aload 1
iload 5
invokevirtual java.lang.StringBuilder.appendCodePoint:(I)Ljava/lang/StringBuilder;
pop
14: goto 24
15: StackMap locals:
StackMap stack:
iload 3
iconst_m1
if_icmpeq 21
16: iload 5
iload 3
if_icmpne 19
17: iconst_m1
istore 3
18: goto 24
19: StackMap locals:
StackMap stack:
aload 1
iload 5
invokevirtual java.lang.StringBuilder.appendCodePoint:(I)Ljava/lang/StringBuilder;
pop
20: goto 24
21: StackMap locals:
StackMap stack:
iload 5
istore 3
22: goto 24
23: StackMap locals:
StackMap stack:
aload 1
iload 5
invokevirtual java.lang.StringBuilder.appendCodePoint:(I)Ljava/lang/StringBuilder;
pop
end local 5 24: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
25: iload 4
iload 2
if_icmplt 9
end local 4 26: aload 1
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 27 0 in Ljava/lang/String;
5 27 1 sb Ljava/lang/StringBuilder;
6 27 2 codeLen I
7 27 3 quoteChar I
8 26 4 i I
10 24 5 code I
MethodParameters:
Name Flags
in
private java.lang.String getMainClassFromManifest();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.jpackage.internal.Arguments.mainJarPath:Ljava/lang/String;
ifnull 2
1: aload 0
getfield jdk.incubator.jpackage.internal.Arguments.input:Ljava/lang/String;
ifnonnull 3
2: StackMap locals:
StackMap stack:
aconst_null
areturn
3: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 0
getfield jdk.incubator.jpackage.internal.Arguments.input:Ljava/lang/String;
aload 0
getfield jdk.incubator.jpackage.internal.Arguments.mainJarPath:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 2
start local 2 4: aload 2
invokevirtual java.io.File.exists:()Z
ifne 6
5: aconst_null
areturn
6: StackMap locals: jdk.incubator.jpackage.internal.Arguments top java.io.File
StackMap stack:
new java.util.jar.JarFile
dup
aload 2
invokespecial java.util.jar.JarFile.<init>:(Ljava/io/File;)V
astore 1
start local 1 7: aload 1
invokevirtual java.util.jar.JarFile.getManifest:()Ljava/util/jar/Manifest;
astore 3
start local 3 8: aload 3
ifnull 9
aload 3
invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
goto 10
StackMap locals: jdk.incubator.jpackage.internal.Arguments java.util.jar.JarFile java.io.File java.util.jar.Manifest
StackMap stack:
9: aconst_null
StackMap locals:
StackMap stack: java.util.jar.Attributes
10: astore 4
start local 4 11: aload 4
ifnull 15
12: aload 4
getstatic java.util.jar.Attributes$Name.MAIN_CLASS:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/util/jar/Attributes$Name;)Ljava/lang/String;
13: areturn
end local 4 end local 3 end local 2 end local 1 14: StackMap locals: jdk.incubator.jpackage.internal.Arguments
StackMap stack: java.io.IOException
pop
15: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/incubator/jpackage/internal/Arguments;
7 14 1 jf Ljava/util/jar/JarFile;
4 14 2 file Ljava/io/File;
8 14 3 m Ljava/util/jar/Manifest;
11 14 4 attrs Ljava/util/jar/Attributes;
Exception table:
from to target type
3 5 14 Class java.io.IOException
6 13 14 Class java.io.IOException
private static void lambda$0(jdk.incubator.jpackage.internal.Arguments$CLIOptions);
descriptor: (Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic jdk.incubator.jpackage.internal.Arguments.argIds:Ljava/util/Map;
aload 0
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getIdWithPrefix:()Ljava/lang/String;
aload 0
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getShortIdWithPrefix:()Ljava/lang/String;
ifnull 3
2: getstatic jdk.incubator.jpackage.internal.Arguments.argShortIds:Ljava/util/Map;
aload 0
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getShortIdWithPrefix:()Ljava/lang/String;
aload 0
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 option Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
private static void lambda$1(java.util.List, java.nio.file.Path);
descriptor: (Ljava/util/List;Ljava/nio/file/Path;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
1: aload 1
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
2: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
3: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 4 1 file Ljava/nio/file/Path;
private static void lambda$2(jdk.incubator.jpackage.internal.DeployParams, java.io.File, java.lang.String);
descriptor: (Ljdk/incubator/jpackage/internal/DeployParams;Ljava/io/File;Ljava/lang/String;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 2 0: aload 0
aload 1
aload 2
invokevirtual jdk.incubator.jpackage.internal.DeployParams.addResource:(Ljava/io/File;Ljava/lang/String;)V
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 file Ljava/lang/String;
}
SourceFile: "Arguments.java"
NestMembers:
jdk.incubator.jpackage.internal.Arguments$CLIOptions jdk.incubator.jpackage.internal.Arguments$OptionCategories
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Name = java.util.jar.Attributes$Name of java.util.jar.Attributes
public final CLIOptions = jdk.incubator.jpackage.internal.Arguments$CLIOptions of jdk.incubator.jpackage.internal.Arguments
final OptionCategories = jdk.incubator.jpackage.internal.Arguments$OptionCategories of jdk.incubator.jpackage.internal.Arguments