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