public abstract class jdk.incubator.jpackage.internal.MacBaseInstallerBundler extends jdk.incubator.jpackage.internal.AbstractBundler
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.incubator.jpackage.internal.MacBaseInstallerBundler
super_class: jdk.incubator.jpackage.internal.AbstractBundler
{
private static final java.util.ResourceBundle I18N;
descriptor: Ljava/util/ResourceBundle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final jdk.incubator.jpackage.internal.BundlerParamInfo<jdk.incubator.jpackage.internal.MacAppBundler> APP_BUNDLER;
descriptor: Ljdk/incubator/jpackage/internal/BundlerParamInfo;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljdk/incubator/jpackage/internal/BundlerParamInfo<Ljdk/incubator/jpackage/internal/MacAppBundler;>;
public final jdk.incubator.jpackage.internal.BundlerParamInfo<java.io.File> APP_IMAGE_TEMP_ROOT;
descriptor: Ljdk/incubator/jpackage/internal/BundlerParamInfo;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljdk/incubator/jpackage/internal/BundlerParamInfo<Ljava/io/File;>;
public static final jdk.incubator.jpackage.internal.BundlerParamInfo<java.lang.String> SIGNING_KEY_USER;
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> SIGNING_KEYCHAIN;
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> INSTALLER_NAME;
descriptor: Ljdk/incubator/jpackage/internal/BundlerParamInfo;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljdk/incubator/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
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.MacBaseInstallerBundler.I18N:Ljava/util/ResourceBundle;
2: new jdk.incubator.jpackage.internal.StandardBundlerParam
dup
3: ldc "mac.app.bundler"
4: ldc Ljdk/incubator/jpackage/internal/MacAppBundler;
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/MacBaseInstallerBundler.lambda$6(Ljava/util/Map;)Ljdk/incubator/jpackage/internal/MacAppBundler; (6)
(Ljava/util/Map;)Ljdk/incubator/jpackage/internal/MacAppBundler;
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/MacBaseInstallerBundler.lambda$7(Ljava/lang/String;Ljava/util/Map;)Ljdk/incubator/jpackage/internal/MacAppBundler; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljdk/incubator/jpackage/internal/MacAppBundler;
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.MacBaseInstallerBundler.APP_BUNDLER:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
9: new jdk.incubator.jpackage.internal.StandardBundlerParam
dup
10: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.MAC_SIGNING_KEY_NAME:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
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/MacBaseInstallerBundler.lambda$0(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
13: aconst_null
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.MacBaseInstallerBundler.SIGNING_KEY_USER:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
16: new jdk.incubator.jpackage.internal.StandardBundlerParam
dup
17: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.MAC_SIGNING_KEYCHAIN:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
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/MacBaseInstallerBundler.lambda$1(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
20: aconst_null
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.MacBaseInstallerBundler.SIGNING_KEYCHAIN:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
23: new jdk.incubator.jpackage.internal.StandardBundlerParam
dup
24: ldc "mac.installerName"
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/MacBaseInstallerBundler.lambda$4(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/MacBaseInstallerBundler.lambda$5(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.MacBaseInstallerBundler.INSTALLER_NAME:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
30: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
invokespecial jdk.incubator.jpackage.internal.AbstractBundler.<init>:()V
1: aload 0
2: new jdk.incubator.jpackage.internal.StandardBundlerParam
dup
3: ldc "mac.app.imageRoot"
4: ldc Ljava/io/File;
5: aload 0
invokedynamic apply(Ljdk/incubator/jpackage/internal/MacBaseInstallerBundler;)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/MacBaseInstallerBundler.lambda$2(Ljava/util/Map;)Ljava/io/File; (7)
(Ljava/util/Map;)Ljava/io/File;
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/MacBaseInstallerBundler.lambda$3(Ljava/lang/String;Ljava/util/Map;)Ljava/io/File; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/io/File;
7: invokespecial jdk.incubator.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
putfield jdk.incubator.jpackage.internal.MacBaseInstallerBundler.APP_IMAGE_TEMP_ROOT:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/incubator/jpackage/internal/MacBaseInstallerBundler;
protected void validateAppImageAndBundeler(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.PREDEFINED_APP_IMAGE:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
ifnull 23
1: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.PREDEFINED_APP_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
astore 2
start local 2 2: aload 2
invokevirtual java.io.File.exists:()Z
ifne 16
3: new jdk.incubator.jpackage.internal.ConfigException
dup
4: getstatic jdk.incubator.jpackage.internal.MacBaseInstallerBundler.I18N:Ljava/util/ResourceBundle;
5: ldc "message.app-image-dir-does-not-exist"
6: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_2
anewarray java.lang.Object
dup
iconst_0
7: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.PREDEFINED_APP_IMAGE:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.getID:()Ljava/lang/String;
aastore
dup
iconst_1
8: aload 2
invokevirtual java.io.File.toString:()Ljava/lang/String;
aastore
9: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
10: getstatic jdk.incubator.jpackage.internal.MacBaseInstallerBundler.I18N:Ljava/util/ResourceBundle;
11: ldc "message.app-image-dir-does-not-exist.advice"
12: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
13: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.PREDEFINED_APP_IMAGE:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.getID:()Ljava/lang/String;
aastore
14: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
15: invokespecial jdk.incubator.jpackage.internal.ConfigException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
athrow
16: StackMap locals: java.io.File
StackMap stack:
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;
ifnonnull 24
17: new jdk.incubator.jpackage.internal.ConfigException
dup
18: getstatic jdk.incubator.jpackage.internal.MacBaseInstallerBundler.I18N:Ljava/util/ResourceBundle;
ldc "message.app-image-requires-app-name"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
19: getstatic jdk.incubator.jpackage.internal.MacBaseInstallerBundler.I18N:Ljava/util/ResourceBundle;
20: ldc "message.app-image-requires-app-name.advice"
21: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
22: invokespecial jdk.incubator.jpackage.internal.ConfigException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
athrow
end local 2 23: StackMap locals:
StackMap stack:
getstatic jdk.incubator.jpackage.internal.MacBaseInstallerBundler.APP_BUNDLER:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast jdk.incubator.jpackage.internal.MacAppBundler
aload 1
invokevirtual jdk.incubator.jpackage.internal.MacAppBundler.validate:(Ljava/util/Map;)Z
pop
24: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Ljdk/incubator/jpackage/internal/MacBaseInstallerBundler;
0 25 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
2 23 2 applicationImage Ljava/io/File;
Exceptions:
throws jdk.incubator.jpackage.internal.ConfigException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
params
protected java.io.File prepareAppBundle(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljava/io/File;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.incubator.jpackage.internal.StandardBundlerParam.getPredefinedAppImage:(Ljava/util/Map;)Ljava/io/File;
1: astore 2
start local 2 2: aload 2
ifnull 4
3: aload 2
areturn
4: StackMap locals: java.io.File
StackMap stack:
aload 0
getfield jdk.incubator.jpackage.internal.MacBaseInstallerBundler.APP_IMAGE_TEMP_ROOT:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.io.File
astore 3
start local 3 5: getstatic jdk.incubator.jpackage.internal.MacBaseInstallerBundler.APP_BUNDLER:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast jdk.incubator.jpackage.internal.MacAppBundler
6: aload 1
aload 3
iconst_1
7: invokevirtual jdk.incubator.jpackage.internal.MacAppBundler.doBundle:(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 8 0 this Ljdk/incubator/jpackage/internal/MacBaseInstallerBundler;
0 8 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
2 8 2 predefinedImage Ljava/io/File;
5 8 3 appImageRoot Ljava/io/File;
Exceptions:
throws jdk.incubator.jpackage.internal.PackagerException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljava/io/File;
MethodParameters:
Name Flags
params
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 "INSTALLER"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/MacBaseInstallerBundler;
public static java.lang.String findKey(java.lang.String, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=12, args_size=3
start local 0 start local 1 start local 2 0: invokestatic jdk.incubator.jpackage.internal.Platform.getPlatform:()Ljdk/incubator/jpackage/internal/Platform;
getstatic jdk.incubator.jpackage.internal.Platform.MAC:Ljdk/incubator/jpackage/internal/Platform;
if_acmpeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aconst_null
astore 3
aconst_null
astore 4
3: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 5
start local 5 4: new java.io.PrintStream
dup
aload 5
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
astore 6
start local 6 5: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
start local 7 6: aload 7
ldc "security"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: aload 7
ldc "find-certificate"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: aload 7
ldc "-c"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: aload 7
aload 0
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: aload 7
ldc "-a"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
11: aload 1
ifnull 13
aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifne 13
12: aload 7
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
13: StackMap locals: java.lang.String java.lang.String int java.lang.Throwable java.lang.Throwable java.io.ByteArrayOutputStream java.io.PrintStream java.util.List
StackMap stack:
new java.lang.ProcessBuilder
dup
aload 7
invokespecial java.lang.ProcessBuilder.<init>:(Ljava/util/List;)V
astore 8
start local 8 14: aload 8
iconst_0
aload 6
invokestatic jdk.incubator.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;ZLjava/io/PrintStream;)V
15: ldc "\"alis\"<blob>=\"([^\"]+)\""
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
astore 9
start local 9 16: aload 9
aload 5
invokevirtual java.io.ByteArrayOutputStream.toString:()Ljava/lang/String;
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 10
start local 10 17: aload 10
invokevirtual java.util.regex.Matcher.find:()Z
ifne 22
18: new java.lang.StringBuilder
dup
ldc "Did not find a key matching '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
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
19: aload 6
ifnull 20
aload 6
invokevirtual java.io.PrintStream.close:()V
StackMap locals: java.lang.ProcessBuilder java.util.regex.Pattern java.util.regex.Matcher
StackMap stack:
20: aload 5
ifnull 21
aload 5
invokevirtual java.io.ByteArrayOutputStream.close:()V
21: StackMap locals:
StackMap stack:
aconst_null
areturn
22: StackMap locals:
StackMap stack:
aload 10
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
astore 11
start local 11 23: aload 10
invokevirtual java.util.regex.Matcher.find:()Z
ifeq 28
24: new java.lang.StringBuilder
dup
ldc "Found more than one key matching '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
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
25: aload 6
ifnull 26
aload 6
invokevirtual java.io.PrintStream.close:()V
StackMap locals: java.lang.String
StackMap stack:
26: aload 5
ifnull 27
aload 5
invokevirtual java.io.ByteArrayOutputStream.close:()V
27: StackMap locals:
StackMap stack:
aconst_null
areturn
28: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Using key '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
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
29: aload 11
30: aload 6
ifnull 31
aload 6
invokevirtual java.io.PrintStream.close:()V
StackMap locals:
StackMap stack: java.lang.String
31: aload 5
ifnull 32
aload 5
invokevirtual java.io.ByteArrayOutputStream.close:()V
32: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 11 end local 10 end local 9 end local 8 end local 7 StackMap locals: java.lang.String java.lang.String int java.lang.Throwable java.lang.Throwable java.io.ByteArrayOutputStream java.io.PrintStream
StackMap stack: java.lang.Throwable
33: astore 3
34: aload 6
ifnull 35
aload 6
invokevirtual java.io.PrintStream.close:()V
end local 6 StackMap locals:
StackMap stack:
35: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
36: astore 4
aload 3
ifnonnull 37
aload 4
astore 3
goto 38
StackMap locals:
StackMap stack:
37: aload 3
aload 4
if_acmpeq 38
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
38: aload 5
ifnull 39
aload 5
invokevirtual java.io.ByteArrayOutputStream.close:()V
end local 5 StackMap locals:
StackMap stack:
39: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
40: astore 4
aload 3
ifnonnull 41
aload 4
astore 3
goto 42
StackMap locals:
StackMap stack:
41: aload 3
aload 4
if_acmpeq 42
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
42: aload 3
athrow
StackMap locals: java.lang.String java.lang.String int
StackMap stack: java.io.IOException
43: astore 3
start local 3 44: aload 3
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
45: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 key Ljava/lang/String;
0 46 1 keychainName Ljava/lang/String;
0 46 2 verbose Z
4 39 5 baos Ljava/io/ByteArrayOutputStream;
5 35 6 ps Ljava/io/PrintStream;
6 33 7 searchOptions Ljava/util/List<Ljava/lang/String;>;
14 33 8 pb Ljava/lang/ProcessBuilder;
16 33 9 p Ljava/util/regex/Pattern;
17 33 10 m Ljava/util/regex/Matcher;
23 33 11 matchedKey Ljava/lang/String;
44 46 3 ioe Ljava/io/IOException;
Exception table:
from to target type
5 19 33 any
22 25 33 any
28 30 33 any
4 20 36 any
22 26 36 any
28 31 36 any
33 36 36 any
3 21 40 any
22 27 40 any
28 32 40 any
33 40 40 any
2 21 43 Class java.io.IOException
22 27 43 Class java.io.IOException
28 32 43 Class java.io.IOException
33 43 43 Class java.io.IOException
MethodParameters:
Name Flags
key
keychainName
verbose
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.AbstractBundler.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.AbstractBundler.cleanup:(Ljava/util/Map;)V
return
LocalVariableTable:
Start End Slot Name Signature
private static jdk.incubator.jpackage.internal.MacAppBundler lambda$6(java.util.Map);
descriptor: (Ljava/util/Map;)Ljdk/incubator/jpackage/internal/MacAppBundler;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new jdk.incubator.jpackage.internal.MacAppBundler
dup
invokespecial jdk.incubator.jpackage.internal.MacAppBundler.<init>:()V
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 jdk.incubator.jpackage.internal.MacAppBundler lambda$7(java.lang.String, java.util.Map);
descriptor: (Ljava/lang/String;Ljava/util/Map;)Ljdk/incubator/jpackage/internal/MacAppBundler;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
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$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: ldc ""
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.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 ""
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$4(java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.APP_NAME: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
ifnonnull 2
aconst_null
areturn
2: StackMap locals: java.lang.String
StackMap stack:
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 2
start local 2 3: aload 2
ifnonnull 5
4: aload 1
areturn
5: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 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 nm Ljava/lang/String;
3 6 2 version Ljava/lang/String;
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 java.io.File lambda$2(java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/io/File;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.incubator.jpackage.internal.MacBaseInstallerBundler.IMAGES_ROOT:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.io.File
astore 2
start local 2 1: aload 2
invokevirtual java.io.File.exists:()Z
ifne 2
aload 2
invokevirtual java.io.File.mkdirs:()Z
pop
2: StackMap locals: java.io.File
StackMap stack:
aload 2
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
ldc "image-"
iconst_0
anewarray java.nio.file.attribute.FileAttribute
3: invokestatic java.nio.file.Files.createTempDirectory:(Ljava/nio/file/Path;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
4: invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
5: areturn
6: StackMap locals:
StackMap stack: java.io.IOException
pop
7: new java.io.File
dup
aload 2
new java.lang.StringBuilder
dup
aload 0
invokevirtual jdk.incubator.jpackage.internal.MacBaseInstallerBundler.getID:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".image"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/incubator/jpackage/internal/MacBaseInstallerBundler;
0 8 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
1 8 2 imageDir Ljava/io/File;
Exception table:
from to target type
2 5 6 Class java.io.IOException
private static java.io.File lambda$3(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: "MacBaseInstallerBundler.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