public class jdk.incubator.jpackage.internal.MacAppBundler extends jdk.incubator.jpackage.internal.AbstractImageBundler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.incubator.jpackage.internal.MacAppBundler
super_class: jdk.incubator.jpackage.internal.AbstractImageBundler
{
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 TEMPLATE_BUNDLE_ICON;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "java.icns"
public static final jdk.incubator.jpackage.internal.BundlerParamInfo<java.lang.String> MAC_CF_BUNDLE_NAME;
descriptor: Ljdk/incubator/jpackage/internal/BundlerParamInfo;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljdk/incubator/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
public static final jdk.incubator.jpackage.internal.BundlerParamInfo<java.lang.String> MAC_CF_BUNDLE_VERSION;
descriptor: Ljdk/incubator/jpackage/internal/BundlerParamInfo;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljdk/incubator/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
public static final jdk.incubator.jpackage.internal.BundlerParamInfo<java.lang.String> DEFAULT_ICNS_ICON;
descriptor: Ljdk/incubator/jpackage/internal/BundlerParamInfo;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljdk/incubator/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
public static final jdk.incubator.jpackage.internal.BundlerParamInfo<java.lang.String> DEVELOPER_ID_APP_SIGNING_KEY;
descriptor: Ljdk/incubator/jpackage/internal/BundlerParamInfo;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljdk/incubator/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
public static final jdk.incubator.jpackage.internal.BundlerParamInfo<java.lang.String> BUNDLE_ID_SIGNING_PREFIX;
descriptor: Ljdk/incubator/jpackage/internal/BundlerParamInfo;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljdk/incubator/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
public static final jdk.incubator.jpackage.internal.BundlerParamInfo<java.io.File> ICON_ICNS;
descriptor: Ljdk/incubator/jpackage/internal/BundlerParamInfo;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljdk/incubator/jpackage/internal/BundlerParamInfo<Ljava/io/File;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: ldc "jdk.incubator.jpackage.internal.resources.MacResources"
1: invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
putstatic jdk.incubator.jpackage.internal.MacAppBundler.I18N:Ljava/util/ResourceBundle;
2: new jdk.incubator.jpackage.internal.StandardBundlerParam
dup
3: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.MAC_BUNDLE_NAME:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
4: ldc Ljava/lang/String;
5: invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
jdk/incubator/jpackage/internal/MacAppBundler.lambda$0(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
6: invokedynamic apply()Ljava/util/function/BiFunction;
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;Ljava/lang/Object;)Ljava/lang/Object;
jdk/incubator/jpackage/internal/MacAppBundler.lambda$1(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
7: invokespecial jdk.incubator.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
8: putstatic jdk.incubator.jpackage.internal.MacAppBundler.MAC_CF_BUNDLE_NAME:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
9: new jdk.incubator.jpackage.internal.StandardBundlerParam
dup
10: ldc "mac.CFBundleVersion"
11: ldc Ljava/lang/String;
12: invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
jdk/incubator/jpackage/internal/MacAppBundler.lambda$2(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
13: invokedynamic apply()Ljava/util/function/BiFunction;
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;Ljava/lang/Object;)Ljava/lang/Object;
jdk/incubator/jpackage/internal/MacAppBundler.lambda$3(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
14: invokespecial jdk.incubator.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
15: putstatic jdk.incubator.jpackage.internal.MacAppBundler.MAC_CF_BUNDLE_VERSION:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
16: new jdk.incubator.jpackage.internal.StandardBundlerParam
dup
17: ldc ".mac.default.icns"
18: ldc Ljava/lang/String;
19: invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
jdk/incubator/jpackage/internal/MacAppBundler.lambda$4(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
20: invokedynamic apply()Ljava/util/function/BiFunction;
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;Ljava/lang/Object;)Ljava/lang/Object;
jdk/incubator/jpackage/internal/MacAppBundler.lambda$5(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
21: invokespecial jdk.incubator.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
22: putstatic jdk.incubator.jpackage.internal.MacAppBundler.DEFAULT_ICNS_ICON:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
23: new jdk.incubator.jpackage.internal.StandardBundlerParam
dup
24: ldc "mac.signing-key-developer-id-app"
25: ldc Ljava/lang/String;
26: invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
jdk/incubator/jpackage/internal/MacAppBundler.lambda$6(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
27: invokedynamic apply()Ljava/util/function/BiFunction;
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;Ljava/lang/Object;)Ljava/lang/Object;
jdk/incubator/jpackage/internal/MacAppBundler.lambda$7(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
28: invokespecial jdk.incubator.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
29: putstatic jdk.incubator.jpackage.internal.MacAppBundler.DEVELOPER_ID_APP_SIGNING_KEY:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
30: new jdk.incubator.jpackage.internal.StandardBundlerParam
dup
31: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.MAC_BUNDLE_SIGNING_PREFIX:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
32: ldc Ljava/lang/String;
33: invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
jdk/incubator/jpackage/internal/MacAppBundler.lambda$8(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
34: invokedynamic apply()Ljava/util/function/BiFunction;
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;Ljava/lang/Object;)Ljava/lang/Object;
jdk/incubator/jpackage/internal/MacAppBundler.lambda$9(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
35: invokespecial jdk.incubator.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
36: putstatic jdk.incubator.jpackage.internal.MacAppBundler.BUNDLE_ID_SIGNING_PREFIX:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
37: new jdk.incubator.jpackage.internal.StandardBundlerParam
dup
38: ldc "icon.icns"
39: ldc Ljava/io/File;
40: invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
jdk/incubator/jpackage/internal/MacAppBundler.lambda$10(Ljava/util/Map;)Ljava/io/File; (6)
(Ljava/util/Map;)Ljava/io/File;
41: invokedynamic apply()Ljava/util/function/BiFunction;
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;Ljava/lang/Object;)Ljava/lang/Object;
jdk/incubator/jpackage/internal/MacAppBundler.lambda$11(Ljava/lang/String;Ljava/util/Map;)Ljava/io/File; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/io/File;
42: invokespecial jdk.incubator.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
43: putstatic jdk.incubator.jpackage.internal.MacAppBundler.ICON_ICNS:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
44: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial jdk.incubator.jpackage.internal.AbstractImageBundler.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/MacAppBundler;
public static boolean validCFBundleVersion(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
ldc "\\."
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 1
start local 1 3: aload 1
arraylength
iconst_3
if_icmpgt 4
aload 1
arraylength
iconst_1
if_icmpge 8
4: StackMap locals: java.lang.String[]
StackMap stack:
getstatic jdk.incubator.jpackage.internal.MacAppBundler.I18N:Ljava/util/ResourceBundle;
5: ldc "message.version-string-too-many-components"
6: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
new java.math.BigInteger
dup
aload 1
iconst_0
aaload
invokespecial java.math.BigInteger.<init>:(Ljava/lang/String;)V
astore 2
start local 2 9: getstatic java.math.BigInteger.ONE:Ljava/math/BigInteger;
aload 2
invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
ifle 14
10: getstatic jdk.incubator.jpackage.internal.MacAppBundler.I18N:Ljava/util/ResourceBundle;
11: ldc "message.version-string-first-number-not-zero"
12: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
13: iconst_0
ireturn
14: StackMap locals: java.math.BigInteger
StackMap stack:
aload 1
arraylength
iconst_1
if_icmple 21
15: new java.math.BigInteger
dup
aload 1
iconst_1
aaload
invokespecial java.math.BigInteger.<init>:(Ljava/lang/String;)V
astore 2
16: getstatic java.math.BigInteger.ZERO:Ljava/math/BigInteger;
aload 2
invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
ifle 21
17: getstatic jdk.incubator.jpackage.internal.MacAppBundler.I18N:Ljava/util/ResourceBundle;
18: ldc "message.version-string-no-negative-numbers"
19: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
20: iconst_0
ireturn
21: StackMap locals:
StackMap stack:
aload 1
arraylength
iconst_2
if_icmple 32
22: new java.math.BigInteger
dup
aload 1
iconst_2
aaload
invokespecial java.math.BigInteger.<init>:(Ljava/lang/String;)V
astore 2
23: getstatic java.math.BigInteger.ZERO:Ljava/math/BigInteger;
aload 2
invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
ifle 32
24: getstatic jdk.incubator.jpackage.internal.MacAppBundler.I18N:Ljava/util/ResourceBundle;
25: ldc "message.version-string-no-negative-numbers"
26: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
27: iconst_0
ireturn
end local 2 28: StackMap locals: java.lang.String java.lang.String[]
StackMap stack: java.lang.NumberFormatException
astore 2
start local 2 29: getstatic jdk.incubator.jpackage.internal.MacAppBundler.I18N:Ljava/util/ResourceBundle;
ldc "message.version-string-numbers-only"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
30: aload 2
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
31: iconst_0
ireturn
end local 2 32: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 v Ljava/lang/String;
3 33 1 p [Ljava/lang/String;
9 28 2 n Ljava/math/BigInteger;
29 32 2 ne Ljava/lang/NumberFormatException;
Exception table:
from to target type
8 13 28 Class java.lang.NumberFormatException
14 20 28 Class java.lang.NumberFormatException
21 27 28 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
v
public boolean validate(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.incubator.jpackage.internal.MacAppBundler.doValidate:(Ljava/util/Map;)Z
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 2
start local 2 3: aload 2
invokevirtual java.lang.RuntimeException.getCause:()Ljava/lang/Throwable;
instanceof jdk.incubator.jpackage.internal.ConfigException
ifeq 5
4: aload 2
invokevirtual java.lang.RuntimeException.getCause:()Ljava/lang/Throwable;
checkcast jdk.incubator.jpackage.internal.ConfigException
athrow
5: StackMap locals: java.lang.RuntimeException
StackMap stack:
new jdk.incubator.jpackage.internal.ConfigException
dup
aload 2
invokespecial jdk.incubator.jpackage.internal.ConfigException.<init>:(Ljava/lang/Exception;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/jpackage/internal/MacAppBundler;
0 6 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
3 6 2 re Ljava/lang/RuntimeException;
Exception table:
from to target type
0 1 2 Class java.lang.RuntimeException
Exceptions:
throws jdk.incubator.jpackage.internal.ConfigException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Z
MethodParameters:
Name Flags
params
private boolean doValidate(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.incubator.jpackage.internal.MacAppBundler.imageBundleValidation:(Ljava/util/Map;)V
1: aload 1
invokestatic jdk.incubator.jpackage.internal.StandardBundlerParam.getPredefinedAppImage:(Ljava/util/Map;)Ljava/io/File;
ifnull 3
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
getstatic jdk.incubator.jpackage.internal.MacAppBundler.MAC_CF_BUNDLE_VERSION:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic jdk.incubator.jpackage.internal.MacAppBundler.validCFBundleVersion:(Ljava/lang/String;)Z
ifne 8
4: new jdk.incubator.jpackage.internal.ConfigException
dup
5: getstatic jdk.incubator.jpackage.internal.MacAppBundler.I18N:Ljava/util/ResourceBundle;
ldc "error.invalid-cfbundle-version"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
6: getstatic jdk.incubator.jpackage.internal.MacAppBundler.I18N:Ljava/util/ResourceBundle;
ldc "error.invalid-cfbundle-version.advice"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
7: invokespecial jdk.incubator.jpackage.internal.ConfigException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
getstatic jdk.incubator.jpackage.internal.MacAppImageBuilder.SIGN_BUNDLE:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.Boolean
9: invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
10: getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 28
11: getstatic jdk.incubator.jpackage.internal.MacAppBundler.DEVELOPER_ID_APP_SIGNING_KEY:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
12: astore 2
start local 2 13: aload 2
ifnonnull 18
14: new jdk.incubator.jpackage.internal.ConfigException
dup
15: getstatic jdk.incubator.jpackage.internal.MacAppBundler.I18N:Ljava/util/ResourceBundle;
ldc "error.explicit-sign-no-cert"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
16: getstatic jdk.incubator.jpackage.internal.MacAppBundler.I18N:Ljava/util/ResourceBundle;
ldc "error.explicit-sign-no-cert.advice"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
17: invokespecial jdk.incubator.jpackage.internal.ConfigException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
athrow
18: StackMap locals: java.lang.String
StackMap stack:
new java.lang.ProcessBuilder
dup
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "xcrun"
aastore
dup
iconst_1
ldc "--help"
aastore
invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
astore 3
start local 3 19: aload 3
invokevirtual java.lang.ProcessBuilder.start:()Ljava/lang/Process;
astore 4
start local 4 20: aload 4
invokevirtual java.lang.Process.waitFor:()I
istore 5
start local 5 21: iload 5
ifeq 28
22: new jdk.incubator.jpackage.internal.ConfigException
dup
23: getstatic jdk.incubator.jpackage.internal.MacAppBundler.I18N:Ljava/util/ResourceBundle;
ldc "error.no.xcode.signing"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
24: getstatic jdk.incubator.jpackage.internal.MacAppBundler.I18N:Ljava/util/ResourceBundle;
ldc "error.no.xcode.signing.advice"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
25: invokespecial jdk.incubator.jpackage.internal.ConfigException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
athrow
end local 5 end local 4 end local 3 26: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 27: new jdk.incubator.jpackage.internal.ConfigException
dup
aload 3
invokespecial jdk.incubator.jpackage.internal.ConfigException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 end local 2 28: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Ljdk/incubator/jpackage/internal/MacAppBundler;
0 29 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
13 28 2 signingIdentity Ljava/lang/String;
19 26 3 pb Ljava/lang/ProcessBuilder;
20 26 4 p Ljava/lang/Process;
21 26 5 code I
27 28 3 ex Ljava/lang/Exception;
Exception table:
from to target type
18 26 26 Class java.io.IOException
18 26 26 Class java.lang.InterruptedException
Exceptions:
throws jdk.incubator.jpackage.internal.ConfigException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Z
MethodParameters:
Name Flags
params
java.io.File doBundle(java.util.Map<java.lang.String, ? super java.lang.Object>, java.io.File, boolean);
descriptor: (Ljava/util/Map;Ljava/io/File;Z)Ljava/io/File;
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic jdk.incubator.jpackage.internal.StandardBundlerParam.isRuntimeInstaller:(Ljava/util/Map;)Z
ifeq 2
1: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.PREDEFINED_RUNTIME_IMAGE:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.io.File
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iload 3
invokevirtual jdk.incubator.jpackage.internal.MacAppBundler.doAppBundle:(Ljava/util/Map;Ljava/io/File;Z)Ljava/io/File;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/jpackage/internal/MacAppBundler;
0 3 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
0 3 2 outputDirectory Ljava/io/File;
0 3 3 dependentTask Z
Exceptions:
throws jdk.incubator.jpackage.internal.PackagerException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/io/File;Z)Ljava/io/File;
MethodParameters:
Name Flags
params
outputDirectory
dependentTask
java.io.File doAppBundle(java.util.Map<java.lang.String, ? super java.lang.Object>, java.io.File, boolean);
descriptor: (Ljava/util/Map;Ljava/io/File;Z)Ljava/io/File;
flags: (0x0000)
Code:
stack=8, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
1: iload 3
new java.lang.StringBuilder
dup
getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".app"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokevirtual jdk.incubator.jpackage.internal.MacAppBundler.createRoot:(Ljava/util/Map;Ljava/io/File;ZLjava/lang/String;)Ljava/io/File;
astore 4
start local 4 3: new jdk.incubator.jpackage.internal.MacAppImageBuilder
dup
aload 1
aload 2
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
invokespecial jdk.incubator.jpackage.internal.MacAppImageBuilder.<init>:(Ljava/util/Map;Ljava/nio/file/Path;)V
4: astore 5
start local 5 5: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.PREDEFINED_RUNTIME_IMAGE:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
ifnonnull 8
6: aload 1
aload 5
invokestatic jdk.incubator.jpackage.internal.JLinkBundlerHelper.execute:(Ljava/util/Map;Ljdk/incubator/jpackage/internal/AbstractAppImageBuilder;)V
7: goto 10
8: StackMap locals: java.io.File jdk.incubator.jpackage.internal.AbstractAppImageBuilder
StackMap stack:
aload 1
aload 5
9: invokestatic jdk.incubator.jpackage.internal.StandardBundlerParam.copyPredefinedRuntimeImage:(Ljava/util/Map;Ljdk/incubator/jpackage/internal/AbstractAppImageBuilder;)V
10: StackMap locals:
StackMap stack:
aload 4
11: areturn
end local 5 end local 4 12: StackMap locals: jdk.incubator.jpackage.internal.MacAppBundler java.util.Map java.io.File int
StackMap stack: jdk.incubator.jpackage.internal.PackagerException
astore 4
start local 4 13: aload 4
athrow
end local 4 14: StackMap locals:
StackMap stack: java.lang.Exception
astore 4
start local 4 15: aload 4
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
16: new jdk.incubator.jpackage.internal.PackagerException
dup
aload 4
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/incubator/jpackage/internal/MacAppBundler;
0 17 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
0 17 2 outputDirectory Ljava/io/File;
0 17 3 dependentTask Z
3 12 4 rootDirectory Ljava/io/File;
5 12 5 appBuilder Ljdk/incubator/jpackage/internal/AbstractAppImageBuilder;
13 14 4 pe Ljdk/incubator/jpackage/internal/PackagerException;
15 17 4 ex Ljava/lang/Exception;
Exception table:
from to target type
0 11 12 Class jdk.incubator.jpackage.internal.PackagerException
0 11 14 Class java.lang.Exception
Exceptions:
throws jdk.incubator.jpackage.internal.PackagerException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/io/File;Z)Ljava/io/File;
MethodParameters:
Name Flags
params
outputDirectory
dependentTask
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.incubator.jpackage.internal.MacAppBundler.I18N:Ljava/util/ResourceBundle;
ldc "app.bundler.name"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/MacAppBundler;
public java.lang.String getID();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "mac.app"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/MacAppBundler;
public java.lang.String getBundleType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "IMAGE"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/MacAppBundler;
public java.io.File execute(java.util.Map<java.lang.String, ? super java.lang.Object>, java.io.File);
descriptor: (Ljava/util/Map;Ljava/io/File;)Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokevirtual jdk.incubator.jpackage.internal.MacAppBundler.doBundle:(Ljava/util/Map;Ljava/io/File;Z)Ljava/io/File;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/MacAppBundler;
0 1 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
0 1 2 outputParentDir Ljava/io/File;
Exceptions:
throws jdk.incubator.jpackage.internal.PackagerException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/io/File;)Ljava/io/File;
MethodParameters:
Name Flags
params
outputParentDir
public boolean supported(boolean);
descriptor: (Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/MacAppBundler;
0 1 1 runtimeInstaller Z
MethodParameters:
Name Flags
runtimeInstaller
public boolean isDefault();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/MacAppBundler;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.incubator.jpackage.internal.AbstractImageBundler.toString:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void cleanup(java.util.Map);
descriptor: (Ljava/util/Map;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial jdk.incubator.jpackage.internal.AbstractImageBundler.cleanup:(Ljava/util/Map;)V
return
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String lambda$0(java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
private static java.lang.String lambda$1(java.lang.String, java.util.Map);
descriptor: (Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
0 1 1 p Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
private static java.lang.String lambda$2(java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.VERSION:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 0
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 1: aload 1
invokestatic jdk.incubator.jpackage.internal.MacAppBundler.validCFBundleVersion:(Ljava/lang/String;)Z
ifeq 3
2: aload 1
areturn
3: StackMap locals: java.lang.String
StackMap stack:
ldc "100"
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 p Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
1 4 1 s Ljava/lang/String;
private static java.lang.String lambda$3(java.lang.String, java.util.Map);
descriptor: (Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
0 1 1 p Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
private static java.lang.String lambda$4(java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "java.icns"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
private static java.lang.String lambda$5(java.lang.String, java.util.Map);
descriptor: (Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
0 1 1 p Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
private static java.lang.String lambda$6(java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Developer ID Application: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: getstatic jdk.incubator.jpackage.internal.MacBaseInstallerBundler.SIGNING_KEY_USER:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
aload 0
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: getstatic jdk.incubator.jpackage.internal.MacBaseInstallerBundler.SIGNING_KEYCHAIN:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
aload 0
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
4: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.VERBOSE:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 0
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
5: invokestatic jdk.incubator.jpackage.internal.MacBaseInstallerBundler.findKey:(Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;
astore 1
start local 1 6: aload 1
ifnull 14
7: new jdk.incubator.jpackage.internal.MacCertificate
dup
aload 1
invokespecial jdk.incubator.jpackage.internal.MacCertificate.<init>:(Ljava/lang/String;)V
astore 2
start local 2 8: aload 2
invokevirtual jdk.incubator.jpackage.internal.MacCertificate.isValid:()Z
ifne 14
9: getstatic jdk.incubator.jpackage.internal.MacAppBundler.I18N:Ljava/util/ResourceBundle;
10: ldc "error.certificate.expired"
11: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
12: aload 1
aastore
13: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.error:(Ljava/lang/String;)V
end local 2 14: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
6 15 1 result Ljava/lang/String;
8 14 2 certificate Ljdk/incubator/jpackage/internal/MacCertificate;
private static java.lang.String lambda$7(java.lang.String, java.util.Map);
descriptor: (Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
0 1 1 p Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
private static java.lang.String lambda$8(java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.IDENTIFIER:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 0
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
private static java.lang.String lambda$9(java.lang.String, java.util.Map);
descriptor: (Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
0 1 1 p Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
private static java.io.File lambda$10(java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/io/File;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.ICON:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 0
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.io.File
astore 1
start local 1 1: aload 1
ifnull 5
aload 1
invokevirtual java.io.File.getName:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
ldc ".icns"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 5
2: getstatic jdk.incubator.jpackage.internal.MacAppBundler.I18N:Ljava/util/ResourceBundle;
ldc "message.icon-not-icns"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
3: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.error:(Ljava/lang/String;)V
4: aconst_null
areturn
5: StackMap locals: java.io.File
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
1 6 1 f Ljava/io/File;
private static java.io.File lambda$11(java.lang.String, java.util.Map);
descriptor: (Ljava/lang/String;Ljava/util/Map;)Ljava/io/File;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
0 1 1 p Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
}
SourceFile: "MacAppBundler.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final CLIOptions = jdk.incubator.jpackage.internal.Arguments$CLIOptions of jdk.incubator.jpackage.internal.Arguments