public class jdk.jpackage.internal.MacAppImageBuilder extends jdk.jpackage.internal.AbstractAppImageBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.jpackage.internal.MacAppImageBuilder
super_class: jdk.jpackage.internal.AbstractAppImageBuilder
{
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"
private static final java.lang.String OS_TYPE_CODE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "APPL"
private static final java.lang.String TEMPLATE_INFO_PLIST_LITE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "Info-lite.plist.template"
private static final java.lang.String TEMPLATE_RUNTIME_INFO_PLIST;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "Runtime-Info.plist.template"
private final java.nio.file.Path root;
descriptor: Ljava/nio/file/Path;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.file.Path contentsDir;
descriptor: Ljava/nio/file/Path;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.file.Path resourcesDir;
descriptor: Ljava/nio/file/Path;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.file.Path macOSDir;
descriptor: Ljava/nio/file/Path;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.file.Path runtimeDir;
descriptor: Ljava/nio/file/Path;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.file.Path runtimeRoot;
descriptor: Ljava/nio/file/Path;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static java.util.List<java.lang.String> keyChains;
descriptor: Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/List<Ljava/lang/String;>;
public static final jdk.jpackage.internal.BundlerParamInfo<java.lang.Boolean> MAC_CONFIGURE_LAUNCHER_IN_PLIST;
descriptor: Ljdk/jpackage/internal/BundlerParamInfo;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljdk/jpackage/internal/BundlerParamInfo<Ljava/lang/Boolean;>;
public static final jdk.jpackage.internal.BundlerParamInfo<java.lang.String> MAC_CF_BUNDLE_NAME;
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_CF_BUNDLE_IDENTIFIER;
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.nio.file.Path> ICON_ICNS;
descriptor: Ljdk/jpackage/internal/BundlerParamInfo;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljdk/jpackage/internal/BundlerParamInfo<Ljava/nio/file/Path;>;
public static final jdk.jpackage.internal.StandardBundlerParam<java.lang.Boolean> SIGN_BUNDLE;
descriptor: Ljdk/jpackage/internal/StandardBundlerParam;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljdk/jpackage/internal/StandardBundlerParam<Ljava/lang/Boolean;>;
private static final jdk.jpackage.internal.StandardBundlerParam<java.lang.String> FA_MAC_CFBUNDLETYPEROLE;
descriptor: Ljdk/jpackage/internal/StandardBundlerParam;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljdk/jpackage/internal/StandardBundlerParam<Ljava/lang/String;>;
private static final jdk.jpackage.internal.StandardBundlerParam<java.lang.String> FA_MAC_LSHANDLERRANK;
descriptor: Ljdk/jpackage/internal/StandardBundlerParam;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljdk/jpackage/internal/StandardBundlerParam<Ljava/lang/String;>;
private static final jdk.jpackage.internal.StandardBundlerParam<java.lang.String> FA_MAC_NSSTORETYPEKEY;
descriptor: Ljdk/jpackage/internal/StandardBundlerParam;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljdk/jpackage/internal/StandardBundlerParam<Ljava/lang/String;>;
private static final jdk.jpackage.internal.StandardBundlerParam<java.lang.String> FA_MAC_NSDOCUMENTCLASS;
descriptor: Ljdk/jpackage/internal/StandardBundlerParam;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljdk/jpackage/internal/StandardBundlerParam<Ljava/lang/String;>;
private static final jdk.jpackage.internal.StandardBundlerParam<java.lang.String> FA_MAC_LSTYPEISPACKAGE;
descriptor: Ljdk/jpackage/internal/StandardBundlerParam;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljdk/jpackage/internal/StandardBundlerParam<Ljava/lang/String;>;
private static final jdk.jpackage.internal.StandardBundlerParam<java.lang.String> FA_MAC_LSDOCINPLACE;
descriptor: Ljdk/jpackage/internal/StandardBundlerParam;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljdk/jpackage/internal/StandardBundlerParam<Ljava/lang/String;>;
private static final jdk.jpackage.internal.StandardBundlerParam<java.lang.String> FA_MAC_UIDOCBROWSER;
descriptor: Ljdk/jpackage/internal/StandardBundlerParam;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljdk/jpackage/internal/StandardBundlerParam<Ljava/lang/String;>;
private static final jdk.jpackage.internal.StandardBundlerParam<java.util.List<java.lang.String>> FA_MAC_NSEXPORTABLETYPES;
descriptor: Ljdk/jpackage/internal/StandardBundlerParam;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljdk/jpackage/internal/StandardBundlerParam<Ljava/util/List<Ljava/lang/String;>;>;
private static final jdk.jpackage.internal.StandardBundlerParam<java.util.List<java.lang.String>> FA_MAC_UTTYPECONFORMSTO;
descriptor: Ljdk/jpackage/internal/StandardBundlerParam;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljdk/jpackage/internal/StandardBundlerParam<Ljava/util/List<Ljava/lang/String;>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: ldc "jdk.jpackage.internal.resources.MacResources"
1: invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
putstatic jdk.jpackage.internal.MacAppImageBuilder.I18N:Ljava/util/ResourceBundle;
2: new jdk.jpackage.internal.StandardBundlerParam
dup
3: ldc "mac.configure-launcher-in-plist"
4: ldc Ljava/lang/Boolean;
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/jpackage/internal/MacAppImageBuilder.lambda$2(Ljava/util/Map;)Ljava/lang/Boolean; (6)
(Ljava/util/Map;)Ljava/lang/Boolean;
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/MacAppImageBuilder.lambda$3(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/Boolean; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/Boolean;
7: invokespecial jdk.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
putstatic jdk.jpackage.internal.MacAppImageBuilder.MAC_CONFIGURE_LAUNCHER_IN_PLIST:Ljdk/jpackage/internal/BundlerParamInfo;
8: new jdk.jpackage.internal.StandardBundlerParam
dup
9: getstatic jdk.jpackage.internal.Arguments$CLIOptions.MAC_BUNDLE_NAME:Ljdk/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
10: ldc Ljava/lang/String;
11: 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/MacAppImageBuilder.lambda$4(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
12: 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/MacAppImageBuilder.lambda$5(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
13: invokespecial jdk.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
14: putstatic jdk.jpackage.internal.MacAppImageBuilder.MAC_CF_BUNDLE_NAME:Ljdk/jpackage/internal/BundlerParamInfo;
15: new jdk.jpackage.internal.StandardBundlerParam
dup
16: getstatic jdk.jpackage.internal.Arguments$CLIOptions.MAC_BUNDLE_IDENTIFIER:Ljdk/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
17: ldc Ljava/lang/String;
18: 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/MacAppImageBuilder.lambda$6(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
19: 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/MacAppImageBuilder.lambda$7(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
20: invokespecial jdk.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
21: putstatic jdk.jpackage.internal.MacAppImageBuilder.MAC_CF_BUNDLE_IDENTIFIER:Ljdk/jpackage/internal/BundlerParamInfo;
22: new jdk.jpackage.internal.StandardBundlerParam
dup
23: ldc "icon.icns"
24: ldc Ljava/nio/file/Path;
25: 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/MacAppImageBuilder.lambda$8(Ljava/util/Map;)Ljava/nio/file/Path; (6)
(Ljava/util/Map;)Ljava/nio/file/Path;
26: 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/MacAppImageBuilder.lambda$9(Ljava/lang/String;Ljava/util/Map;)Ljava/nio/file/Path; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/nio/file/Path;
27: invokespecial jdk.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
28: putstatic jdk.jpackage.internal.MacAppImageBuilder.ICON_ICNS:Ljdk/jpackage/internal/BundlerParamInfo;
29: new jdk.jpackage.internal.StandardBundlerParam
dup
30: getstatic jdk.jpackage.internal.Arguments$CLIOptions.MAC_SIGN:Ljdk/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
31: ldc Ljava/lang/Boolean;
32: 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/MacAppImageBuilder.lambda$0(Ljava/util/Map;)Ljava/lang/Boolean; (6)
(Ljava/util/Map;)Ljava/lang/Boolean;
33: 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/MacAppImageBuilder.lambda$1(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/Boolean; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/Boolean;
34: invokespecial jdk.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
35: putstatic jdk.jpackage.internal.MacAppImageBuilder.SIGN_BUNDLE:Ljdk/jpackage/internal/StandardBundlerParam;
36: new jdk.jpackage.internal.StandardBundlerParam
dup
37: ldc "mac.CFBundleTypeRole"
38: ldc Ljava/lang/String;
39: 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/MacAppImageBuilder.lambda$10(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
40: 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/MacAppImageBuilder.lambda$11(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
41: invokespecial jdk.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
42: putstatic jdk.jpackage.internal.MacAppImageBuilder.FA_MAC_CFBUNDLETYPEROLE:Ljdk/jpackage/internal/StandardBundlerParam;
43: new jdk.jpackage.internal.StandardBundlerParam
dup
44: ldc "mac.LSHandlerRank"
45: ldc Ljava/lang/String;
46: 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/MacAppImageBuilder.lambda$12(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
47: 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/MacAppImageBuilder.lambda$13(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
48: invokespecial jdk.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
49: putstatic jdk.jpackage.internal.MacAppImageBuilder.FA_MAC_LSHANDLERRANK:Ljdk/jpackage/internal/StandardBundlerParam;
50: new jdk.jpackage.internal.StandardBundlerParam
dup
51: ldc "mac.NSPersistentStoreTypeKey"
52: ldc Ljava/lang/String;
53: 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/MacAppImageBuilder.lambda$14(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
54: 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/MacAppImageBuilder.lambda$15(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
55: invokespecial jdk.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
56: putstatic jdk.jpackage.internal.MacAppImageBuilder.FA_MAC_NSSTORETYPEKEY:Ljdk/jpackage/internal/StandardBundlerParam;
57: new jdk.jpackage.internal.StandardBundlerParam
dup
58: ldc "mac.NSDocumentClass"
59: ldc Ljava/lang/String;
60: 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/MacAppImageBuilder.lambda$16(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
61: 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/MacAppImageBuilder.lambda$17(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
62: invokespecial jdk.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
63: putstatic jdk.jpackage.internal.MacAppImageBuilder.FA_MAC_NSDOCUMENTCLASS:Ljdk/jpackage/internal/StandardBundlerParam;
64: new jdk.jpackage.internal.StandardBundlerParam
dup
65: ldc "mac.LSTypeIsPackage"
66: ldc Ljava/lang/String;
67: 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/MacAppImageBuilder.lambda$18(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
68: 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/MacAppImageBuilder.lambda$19(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
69: invokespecial jdk.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
70: putstatic jdk.jpackage.internal.MacAppImageBuilder.FA_MAC_LSTYPEISPACKAGE:Ljdk/jpackage/internal/StandardBundlerParam;
71: new jdk.jpackage.internal.StandardBundlerParam
dup
72: ldc "mac.LSSupportsOpeningDocumentsInPlace"
73: ldc Ljava/lang/String;
74: 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/MacAppImageBuilder.lambda$20(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
75: 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/MacAppImageBuilder.lambda$21(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
76: invokespecial jdk.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
77: putstatic jdk.jpackage.internal.MacAppImageBuilder.FA_MAC_LSDOCINPLACE:Ljdk/jpackage/internal/StandardBundlerParam;
78: new jdk.jpackage.internal.StandardBundlerParam
dup
79: ldc "mac.UISupportsDocumentBrowser"
80: ldc Ljava/lang/String;
81: 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/MacAppImageBuilder.lambda$22(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
82: 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/MacAppImageBuilder.lambda$23(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
83: invokespecial jdk.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
84: putstatic jdk.jpackage.internal.MacAppImageBuilder.FA_MAC_UIDOCBROWSER:Ljdk/jpackage/internal/StandardBundlerParam;
85: new jdk.jpackage.internal.StandardBundlerParam
dup
86: ldc "mac.NSExportableTypes"
87: ldc Ljava/util/List;
checkcast java.lang.Class
88: 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/MacAppImageBuilder.lambda$24(Ljava/util/Map;)Ljava/util/List; (6)
(Ljava/util/Map;)Ljava/util/List;
89: 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/MacAppImageBuilder.lambda$25(Ljava/lang/String;Ljava/util/Map;)Ljava/util/List; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/util/List;
90: invokespecial jdk.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
91: putstatic jdk.jpackage.internal.MacAppImageBuilder.FA_MAC_NSEXPORTABLETYPES:Ljdk/jpackage/internal/StandardBundlerParam;
92: new jdk.jpackage.internal.StandardBundlerParam
dup
93: ldc "mac.UTTypeConformsTo"
94: ldc Ljava/util/List;
checkcast java.lang.Class
95: 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/MacAppImageBuilder.lambda$26(Ljava/util/Map;)Ljava/util/List; (6)
(Ljava/util/Map;)Ljava/util/List;
96: 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/MacAppImageBuilder.lambda$27(Ljava/lang/String;Ljava/util/Map;)Ljava/util/List; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/util/List;
97: invokespecial jdk.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
98: putstatic jdk.jpackage.internal.MacAppImageBuilder.FA_MAC_UTTYPECONFORMSTO:Ljdk/jpackage/internal/StandardBundlerParam;
99: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial jdk.jpackage.internal.AbstractAppImageBuilder.<init>:(Ljava/nio/file/Path;)V
1: aload 0
aload 1
putfield jdk.jpackage.internal.MacAppImageBuilder.root:Ljava/nio/file/Path;
2: aload 0
aload 0
getfield jdk.jpackage.internal.MacAppImageBuilder.root:Ljava/nio/file/Path;
ldc "Contents"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
putfield jdk.jpackage.internal.MacAppImageBuilder.contentsDir:Ljava/nio/file/Path;
3: aload 0
aload 0
getfield jdk.jpackage.internal.MacAppImageBuilder.appLayout:Ljdk/jpackage/internal/ApplicationLayout;
invokevirtual jdk.jpackage.internal.ApplicationLayout.destktopIntegrationDirectory:()Ljava/nio/file/Path;
putfield jdk.jpackage.internal.MacAppImageBuilder.resourcesDir:Ljava/nio/file/Path;
4: aload 0
aload 0
getfield jdk.jpackage.internal.MacAppImageBuilder.appLayout:Ljdk/jpackage/internal/ApplicationLayout;
invokevirtual jdk.jpackage.internal.ApplicationLayout.launchersDirectory:()Ljava/nio/file/Path;
putfield jdk.jpackage.internal.MacAppImageBuilder.macOSDir:Ljava/nio/file/Path;
5: aload 0
aload 0
getfield jdk.jpackage.internal.MacAppImageBuilder.appLayout:Ljdk/jpackage/internal/ApplicationLayout;
invokevirtual jdk.jpackage.internal.ApplicationLayout.runtimeDirectory:()Ljava/nio/file/Path;
putfield jdk.jpackage.internal.MacAppImageBuilder.runtimeDir:Ljava/nio/file/Path;
6: aload 0
aload 0
getfield jdk.jpackage.internal.MacAppImageBuilder.appLayout:Ljdk/jpackage/internal/ApplicationLayout;
invokevirtual jdk.jpackage.internal.ApplicationLayout.runtimeHomeDirectory:()Ljava/nio/file/Path;
putfield jdk.jpackage.internal.MacAppImageBuilder.runtimeRoot:Ljava/nio/file/Path;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/jpackage/internal/MacAppImageBuilder;
0 8 1 imageOutDir Ljava/nio/file/Path;
MethodParameters:
Name Flags
imageOutDir
private void writeEntry(java.io.InputStream, java.nio.file.Path);
descriptor: (Ljava/io/InputStream;Ljava/nio/file/Path;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
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
1: aload 1
aload 2
iconst_0
anewarray java.nio.file.CopyOption
invokestatic java.nio.file.Files.copy:(Ljava/io/InputStream;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)J
pop2
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jpackage/internal/MacAppImageBuilder;
0 3 1 in Ljava/io/InputStream;
0 3 2 dstFile Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
dstFile
public void prepareApplicationFiles(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=13, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jpackage.internal.MacAppImageBuilder.macOSDir:Ljava/nio/file/Path;
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
1: new java.util.HashMap
dup
aload 1
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 2
start local 2 2: aload 0
getfield jdk.jpackage.internal.MacAppImageBuilder.contentsDir:Ljava/nio/file/Path;
ldc "PkgInfo"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 3
start local 3 3: aload 3
iconst_0
anewarray java.nio.file.attribute.FileAttribute
invokestatic java.nio.file.Files.createFile:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
pop
4: aload 0
aload 3
invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writePkgInfo:(Ljava/nio/file/Path;)V
5: aload 0
getfield jdk.jpackage.internal.MacAppImageBuilder.macOSDir:Ljava/nio/file/Path;
aload 1
invokestatic jdk.jpackage.internal.MacAppImageBuilder.getLauncherName:(Ljava/util/Map;)Ljava/lang/String;
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 4
start local 4 6: aconst_null
astore 5
aconst_null
astore 6
7: aload 0
ldc "jpackageapplauncher"
invokevirtual jdk.jpackage.internal.MacAppImageBuilder.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
8: astore 7
start local 7 9: aload 0
aload 7
aload 4
invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeEntry:(Ljava/io/InputStream;Ljava/nio/file/Path;)V
10: aload 7
ifnull 16
aload 7
invokevirtual java.io.InputStream.close:()V
goto 16
StackMap locals: jdk.jpackage.internal.MacAppImageBuilder java.util.Map java.util.Map java.nio.file.Path java.nio.file.Path java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
11: astore 5
aload 7
ifnull 12
aload 7
invokevirtual java.io.InputStream.close:()V
end local 7 StackMap locals:
StackMap stack:
12: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 6
aload 5
ifnonnull 14
aload 6
astore 5
goto 15
StackMap locals:
StackMap stack:
14: aload 5
aload 6
if_acmpeq 15
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
15: aload 5
athrow
16: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
iconst_1
iconst_0
invokevirtual java.io.File.setExecutable:(ZZ)Z
pop
17: aload 0
aload 1
invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeCfgFile:(Ljava/util/Map;)V
18: getstatic jdk.jpackage.internal.StandardBundlerParam.ADD_LAUNCHERS:Ljdk/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.util.List
19: astore 5
start local 5 20: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 36
StackMap locals: jdk.jpackage.internal.MacAppImageBuilder java.util.Map java.util.Map java.nio.file.Path java.nio.file.Path java.util.List top java.util.Iterator
StackMap stack:
21: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map
astore 6
start local 6 22: aload 2
aload 6
iconst_0
anewarray java.lang.String
invokestatic jdk.jpackage.internal.AddLauncherArguments.merge:(Ljava/util/Map;Ljava/util/Map;[Ljava/lang/String;)Ljava/util/Map;
23: astore 8
start local 8 24: aload 0
getfield jdk.jpackage.internal.MacAppImageBuilder.macOSDir:Ljava/nio/file/Path;
aload 8
invokestatic jdk.jpackage.internal.MacAppImageBuilder.getLauncherName:(Ljava/util/Map;)Ljava/lang/String;
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 9
start local 9 25: aconst_null
astore 10
aconst_null
astore 11
26: aload 0
ldc "jpackageapplauncher"
invokevirtual jdk.jpackage.internal.MacAppImageBuilder.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 12
start local 12 27: aload 0
aload 12
aload 9
invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeEntry:(Ljava/io/InputStream;Ljava/nio/file/Path;)V
28: aload 12
ifnull 34
aload 12
invokevirtual java.io.InputStream.close:()V
goto 34
StackMap locals: jdk.jpackage.internal.MacAppImageBuilder java.util.Map java.util.Map java.nio.file.Path java.nio.file.Path java.util.List java.util.Map java.util.Iterator java.util.Map java.nio.file.Path java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
29: astore 10
aload 12
ifnull 30
aload 12
invokevirtual java.io.InputStream.close:()V
end local 12 StackMap locals:
StackMap stack:
30: aload 10
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
31: astore 11
aload 10
ifnonnull 32
aload 11
astore 10
goto 33
StackMap locals:
StackMap stack:
32: aload 10
aload 11
if_acmpeq 33
aload 10
aload 11
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
33: aload 10
athrow
34: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
iconst_1
iconst_0
invokevirtual java.io.File.setExecutable:(ZZ)Z
pop
35: aload 0
aload 8
invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeCfgFile:(Ljava/util/Map;)V
end local 9 end local 8 end local 6 36: StackMap locals: jdk.jpackage.internal.MacAppImageBuilder java.util.Map java.util.Map java.nio.file.Path java.nio.file.Path java.util.List top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 21
37: aload 0
aload 1
invokevirtual jdk.jpackage.internal.MacAppImageBuilder.copyApplication:(Ljava/util/Map;)V
38: ldc "java.icns"
aload 1
invokestatic jdk.jpackage.internal.OverridableResource.createResource:(Ljava/lang/String;Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
39: ldc "icon"
invokevirtual jdk.jpackage.internal.OverridableResource.setCategory:(Ljava/lang/String;)Ljdk/jpackage/internal/OverridableResource;
40: getstatic jdk.jpackage.internal.MacAppImageBuilder.ICON_ICNS:Ljdk/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.nio.file.Path
invokevirtual jdk.jpackage.internal.OverridableResource.setExternal:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource;
41: aload 0
getfield jdk.jpackage.internal.MacAppImageBuilder.resourcesDir:Ljava/nio/file/Path;
new java.lang.StringBuilder
dup
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;
checkcast java.lang.String
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
42: ldc ".icns"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
43: invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
invokevirtual jdk.jpackage.internal.OverridableResource.saveToFile:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource$Source;
pop
44: getstatic jdk.jpackage.internal.StandardBundlerParam.FILE_ASSOCIATIONS:Ljdk/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 49
StackMap locals:
StackMap stack:
45: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map
astore 6
start local 6 46: getstatic jdk.jpackage.internal.StandardBundlerParam.FA_ICON:Ljdk/jpackage/internal/StandardBundlerParam;
aload 6
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.nio.file.Path
astore 8
start local 8 47: aload 8
invokestatic jdk.jpackage.internal.IOUtils.exists:(Ljava/nio/file/Path;)Z
ifeq 49
48: aload 8
aload 0
getfield jdk.jpackage.internal.MacAppImageBuilder.resourcesDir:Ljava/nio/file/Path;
aload 8
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
invokestatic jdk.jpackage.internal.IOUtils.copyFile:(Ljava/nio/file/Path;Ljava/nio/file/Path;)V
end local 8 end local 6 49: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 45
50: aload 0
aload 1
invokevirtual jdk.jpackage.internal.MacAppImageBuilder.copyRuntimeFiles:(Ljava/util/Map;)V
51: aload 0
aload 1
invokevirtual jdk.jpackage.internal.MacAppImageBuilder.sign:(Ljava/util/Map;)V
52: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 53 0 this Ljdk/jpackage/internal/MacAppImageBuilder;
0 53 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
2 53 2 originalParams Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
3 53 3 pkgInfoFile Ljava/nio/file/Path;
6 53 4 executable Ljava/nio/file/Path;
9 12 7 is_launcher Ljava/io/InputStream;
20 53 5 entryPoints Ljava/util/List<Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;>;
22 36 6 entryPoint Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
24 36 8 tmp Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
25 36 9 addExecutable Ljava/nio/file/Path;
27 30 12 is Ljava/io/InputStream;
46 49 6 fa Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
47 49 8 f Ljava/nio/file/Path;
Exception table:
from to target type
9 10 11 any
7 13 13 any
27 28 29 any
26 31 31 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
params
private void copyRuntimeFiles(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield jdk.jpackage.internal.MacAppImageBuilder.contentsDir:Ljava/nio/file/Path;
ldc "Info.plist"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
aload 1
invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeInfoPlist:(Ljava/nio/file/Path;Ljava/util/Map;)V
1: aload 0
2: aload 0
getfield jdk.jpackage.internal.MacAppImageBuilder.runtimeDir:Ljava/nio/file/Path;
ldc "Contents/Info.plist"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
aload 1
3: invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeRuntimeInfoPlist:(Ljava/nio/file/Path;Ljava/util/Map;)V
4: aload 0
getfield jdk.jpackage.internal.MacAppImageBuilder.runtimeDir:Ljava/nio/file/Path;
ldc "Contents/MacOS"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.attribute.FileAttribute
5: invokestatic java.nio.file.Files.createDirectories:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
astore 2
start local 2 6: ldc "libjli.dylib"
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 3
start local 3 7: aconst_null
astore 4
aconst_null
astore 5
8: aload 0
getfield jdk.jpackage.internal.MacAppImageBuilder.runtimeRoot:Ljava/nio/file/Path;
ldc "lib"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.FileVisitOption
invokestatic java.nio.file.Files.walk:(Ljava/nio/file/Path;[Ljava/nio/file/FileVisitOption;)Ljava/util/stream/Stream;
astore 6
start local 6 9: aload 6
10: aload 3
invokedynamic test(Ljava/nio/file/Path;)Ljava/util/function/Predicate;
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;)Z
jdk/jpackage/internal/MacAppImageBuilder.lambda$28(Ljava/nio/file/Path;Ljava/nio/file/Path;)Z (6)
(Ljava/nio/file/Path;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
11: invokeinterface java.util.stream.Stream.findFirst:()Ljava/util/Optional;
12: invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.nio.file.Path
13: astore 7
start local 7 14: aload 7
aload 2
aload 3
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.CopyOption
invokestatic java.nio.file.Files.copy:(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path;
pop
end local 7 15: aload 6
ifnull 21
aload 6
invokeinterface java.util.stream.Stream.close:()V
goto 21
StackMap locals: jdk.jpackage.internal.MacAppImageBuilder java.util.Map java.nio.file.Path java.nio.file.Path java.lang.Throwable java.lang.Throwable java.util.stream.Stream
StackMap stack: java.lang.Throwable
16: astore 4
aload 6
ifnull 17
aload 6
invokeinterface java.util.stream.Stream.close:()V
end local 6 StackMap locals:
StackMap stack:
17: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 5
aload 4
ifnonnull 19
aload 5
astore 4
goto 20
StackMap locals:
StackMap stack:
19: aload 4
aload 5
if_acmpeq 20
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
20: aload 4
athrow
21: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljdk/jpackage/internal/MacAppImageBuilder;
0 22 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
6 22 2 runtimeMacOSDir Ljava/nio/file/Path;
7 22 3 jliName Ljava/nio/file/Path;
9 17 6 walk Ljava/util/stream/Stream<Ljava/nio/file/Path;>;
14 15 7 jli Ljava/nio/file/Path;
Exception table:
from to target type
9 15 16 any
8 18 18 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
params
private void sign(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.jpackage.internal.MacAppImageBuilder.SIGN_BUNDLE:Ljdk/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.Boolean
1: invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
2: getstatic java.lang.Boolean.TRUE: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 16
3: aload 1
invokestatic jdk.jpackage.internal.MacAppImageBuilder.addNewKeychain:(Ljava/util/Map;)V
4: goto 7
StackMap locals:
StackMap stack: java.lang.InterruptedException
5: astore 2
start local 2 6: aload 2
invokevirtual java.lang.InterruptedException.getMessage:()Ljava/lang/String;
invokestatic jdk.jpackage.internal.Log.error:(Ljava/lang/String;)V
end local 2 7: StackMap locals:
StackMap stack:
getstatic jdk.jpackage.internal.MacAppBundler.DEVELOPER_ID_APP_SIGNING_KEY:Ljdk/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
8: astore 2
start local 2 9: aload 2
ifnull 15
10: aload 1
invokestatic jdk.jpackage.internal.MacAppImageBuilder.prepareEntitlements:(Ljava/util/Map;)V
11: aload 1
aload 0
getfield jdk.jpackage.internal.MacAppImageBuilder.root:Ljava/nio/file/Path;
aload 2
12: getstatic jdk.jpackage.internal.MacAppBundler.BUNDLE_ID_SIGNING_PREFIX:Ljdk/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
13: aload 1
invokestatic jdk.jpackage.internal.MacAppImageBuilder.getConfig_Entitlements:(Ljava/util/Map;)Ljava/nio/file/Path;
14: invokestatic jdk.jpackage.internal.MacAppImageBuilder.signAppBundle:(Ljava/util/Map;Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/String;Ljava/nio/file/Path;)V
15: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokestatic jdk.jpackage.internal.MacAppImageBuilder.restoreKeychainList:(Ljava/util/Map;)V
end local 2 16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/jpackage/internal/MacAppImageBuilder;
0 17 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
6 7 2 e Ljava/lang/InterruptedException;
9 16 2 signingIdentity Ljava/lang/String;
Exception table:
from to target type
3 4 5 Class java.lang.InterruptedException
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
params
static java.nio.file.Path getConfig_Entitlements(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljava/nio/file/Path;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic jdk.jpackage.internal.StandardBundlerParam.CONFIG_ROOT:Ljdk/jpackage/internal/StandardBundlerParam;
aload 0
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.nio.file.Path
1: new java.lang.StringBuilder
dup
aload 0
invokestatic jdk.jpackage.internal.MacAppImageBuilder.getLauncherName:(Ljava/util/Map;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".entitlements"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljava/nio/file/Path;
MethodParameters:
Name Flags
params
static void prepareEntitlements(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: ldc "entitlements.plist"
aload 0
invokestatic jdk.jpackage.internal.OverridableResource.createResource:(Ljava/lang/String;Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
1: getstatic jdk.jpackage.internal.MacAppImageBuilder.I18N:Ljava/util/ResourceBundle;
ldc "resource.entitlements"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual jdk.jpackage.internal.OverridableResource.setCategory:(Ljava/lang/String;)Ljdk/jpackage/internal/OverridableResource;
2: aload 0
invokestatic jdk.jpackage.internal.MacAppImageBuilder.getConfig_Entitlements:(Ljava/util/Map;)Ljava/nio/file/Path;
invokevirtual jdk.jpackage.internal.OverridableResource.saveToFile:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource$Source;
pop
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
params
private static java.lang.String getLauncherName(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
aload 0
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.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;>;
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljava/lang/String;
MethodParameters:
Name Flags
params
private java.lang.String getBundleName(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.jpackage.internal.MacAppImageBuilder.MAC_CF_BUNDLE_NAME:Ljdk/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
ifnull 9
1: getstatic jdk.jpackage.internal.MacAppImageBuilder.MAC_CF_BUNDLE_NAME:Ljdk/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 2: aload 2
invokevirtual java.lang.String.length:()I
bipush 16
if_icmple 8
3: getstatic jdk.jpackage.internal.MacAppImageBuilder.I18N:Ljava/util/ResourceBundle;
4: ldc "message.bundle-name-too-long-warning"
5: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_2
anewarray java.lang.Object
dup
iconst_0
6: getstatic jdk.jpackage.internal.MacAppImageBuilder.MAC_CF_BUNDLE_NAME:Ljdk/jpackage/internal/BundlerParamInfo;
invokevirtual jdk.jpackage.internal.BundlerParamInfo.getID:()Ljava/lang/String;
aastore
dup
iconst_1
aload 2
aastore
7: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.jpackage.internal.Log.error:(Ljava/lang/String;)V
8: StackMap locals: java.lang.String
StackMap stack:
getstatic jdk.jpackage.internal.MacAppImageBuilder.MAC_CF_BUNDLE_NAME:Ljdk/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 2 9: StackMap locals:
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;
ifnull 11
10: 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;
checkcast java.lang.String
areturn
11: StackMap locals:
StackMap stack:
getstatic jdk.jpackage.internal.StandardBundlerParam.MAIN_CLASS:Ljdk/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 12: aload 2
invokevirtual java.lang.String.length:()I
bipush 16
if_icmple 14
13: aload 2
iconst_0
bipush 16
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
14: StackMap locals: java.lang.String
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/jpackage/internal/MacAppImageBuilder;
0 15 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
2 9 2 bn Ljava/lang/String;
12 15 2 nm Ljava/lang/String;
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljava/lang/String;
MethodParameters:
Name Flags
params
private void writeRuntimeInfoPlist(java.nio.file.Path, java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/nio/file/Path;Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
start local 3 1: aload 2
invokestatic jdk.jpackage.internal.StandardBundlerParam.isRuntimeInstaller:(Ljava/util/Map;)Z
ifeq 3
2: getstatic jdk.jpackage.internal.MacAppImageBuilder.MAC_CF_BUNDLE_IDENTIFIER:Ljdk/jpackage/internal/BundlerParamInfo;
aload 2
invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
goto 4
3: StackMap locals: java.util.Map
StackMap stack:
new java.lang.StringBuilder
dup
ldc "com.oracle.java."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic jdk.jpackage.internal.MacAppImageBuilder.MAC_CF_BUNDLE_IDENTIFIER:Ljdk/jpackage/internal/BundlerParamInfo;
aload 2
invokevirtual jdk.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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: StackMap locals:
StackMap stack: java.lang.String
astore 4
start local 4 5: aload 3
ldc "CF_BUNDLE_IDENTIFIER"
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 2
invokestatic jdk.jpackage.internal.StandardBundlerParam.isRuntimeInstaller:(Ljava/util/Map;)Z
ifeq 8
7: aload 0
aload 2
invokevirtual jdk.jpackage.internal.MacAppImageBuilder.getBundleName:(Ljava/util/Map;)Ljava/lang/String;
goto 9
StackMap locals: java.lang.String
StackMap stack:
8: ldc "Java Runtime Image"
9: StackMap locals:
StackMap stack: java.lang.String
astore 5
start local 5 10: aload 3
ldc "CF_BUNDLE_NAME"
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: aload 3
ldc "CF_BUNDLE_VERSION"
getstatic jdk.jpackage.internal.StandardBundlerParam.VERSION:Ljdk/jpackage/internal/StandardBundlerParam;
aload 2
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: aload 3
ldc "CF_BUNDLE_SHORT_VERSION_STRING"
getstatic jdk.jpackage.internal.StandardBundlerParam.VERSION:Ljdk/jpackage/internal/StandardBundlerParam;
aload 2
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: ldc "Runtime-Info.plist.template"
aload 2
invokestatic jdk.jpackage.internal.OverridableResource.createResource:(Ljava/lang/String;Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
14: ldc "Runtime-Info.plist"
invokevirtual jdk.jpackage.internal.OverridableResource.setPublicName:(Ljava/lang/String;)Ljdk/jpackage/internal/OverridableResource;
15: getstatic jdk.jpackage.internal.MacAppImageBuilder.I18N:Ljava/util/ResourceBundle;
ldc "resource.runtime-info-plist"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual jdk.jpackage.internal.OverridableResource.setCategory:(Ljava/lang/String;)Ljdk/jpackage/internal/OverridableResource;
16: aload 3
invokevirtual jdk.jpackage.internal.OverridableResource.setSubstitutionData:(Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
17: aload 1
invokevirtual jdk.jpackage.internal.OverridableResource.saveToFile:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource$Source;
pop
18: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljdk/jpackage/internal/MacAppImageBuilder;
0 19 1 file Ljava/nio/file/Path;
0 19 2 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
1 19 3 data Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
5 19 4 identifier Ljava/lang/String;
10 19 5 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
file
params
private void writeStringArrayPlist(java.lang.StringBuilder, java.lang.String, java.util.List<java.lang.String>);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnull 4
aload 3
invokeinterface java.util.List.isEmpty:()Z
ifne 4
1: aload 1
ldc " <key>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "</key>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " <array>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 3
aload 1
invokedynamic accept(Ljava/lang/StringBuilder;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
jdk/jpackage/internal/MacAppImageBuilder.lambda$29(Ljava/lang/StringBuilder;Ljava/lang/String;)V (6)
(Ljava/lang/String;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
3: aload 1
ldc " </array>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/jpackage/internal/MacAppImageBuilder;
0 5 1 sb Ljava/lang/StringBuilder;
0 5 2 key Ljava/lang/String;
0 5 3 values Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
sb
key
values
private void writeStringPlist(java.lang.StringBuilder, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnull 3
aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifne 3
1: aload 1
ldc " <key>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "</key>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " <string>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "</string>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jpackage/internal/MacAppImageBuilder;
0 4 1 sb Ljava/lang/StringBuilder;
0 4 2 key Ljava/lang/String;
0 4 3 value Ljava/lang/String;
MethodParameters:
Name Flags
sb
key
value
private void writeBoolPlist(java.lang.StringBuilder, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnull 3
aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifne 3
1: aload 1
ldc " <key>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "</key>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " <"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "/>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jpackage/internal/MacAppImageBuilder;
0 4 1 sb Ljava/lang/StringBuilder;
0 4 2 key Ljava/lang/String;
0 4 3 value Ljava/lang/String;
MethodParameters:
Name Flags
sb
key
value
private void writeInfoPlist(java.nio.file.Path, java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/nio/file/Path;Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=12, args_size=3
start local 0 start local 1 start local 2 0: getstatic jdk.jpackage.internal.MacAppImageBuilder.I18N:Ljava/util/ResourceBundle;
1: ldc "message.preparing-info-plist"
2: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
3: aload 1
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
aastore
4: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
5: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
start local 3 6: aload 3
ldc "DEPLOY_ICON_FILE"
new java.lang.StringBuilder
dup
getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
aload 2
invokevirtual jdk.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 ".icns"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 3
ldc "DEPLOY_BUNDLE_IDENTIFIER"
8: getstatic jdk.jpackage.internal.MacAppImageBuilder.MAC_CF_BUNDLE_IDENTIFIER:Ljdk/jpackage/internal/BundlerParamInfo;
aload 2
invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
9: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 3
ldc "DEPLOY_BUNDLE_NAME"
11: aload 0
aload 2
invokevirtual jdk.jpackage.internal.MacAppImageBuilder.getBundleName:(Ljava/util/Map;)Ljava/lang/String;
12: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 3
ldc "DEPLOY_BUNDLE_COPYRIGHT"
getstatic jdk.jpackage.internal.StandardBundlerParam.COPYRIGHT:Ljdk/jpackage/internal/StandardBundlerParam;
aload 2
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: aload 3
ldc "DEPLOY_LAUNCHER_NAME"
aload 2
invokestatic jdk.jpackage.internal.MacAppImageBuilder.getLauncherName:(Ljava/util/Map;)Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
15: aload 3
ldc "DEPLOY_BUNDLE_SHORT_VERSION"
getstatic jdk.jpackage.internal.StandardBundlerParam.VERSION:Ljdk/jpackage/internal/StandardBundlerParam;
aload 2
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
16: aload 3
ldc "DEPLOY_BUNDLE_CFBUNDLE_VERSION"
getstatic jdk.jpackage.internal.StandardBundlerParam.VERSION:Ljdk/jpackage/internal/StandardBundlerParam;
aload 2
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
17: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 18: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 5
start local 5 19: getstatic jdk.jpackage.internal.StandardBundlerParam.FILE_ASSOCIATIONS:Ljdk/jpackage/internal/StandardBundlerParam;
aload 2
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 96
StackMap locals: jdk.jpackage.internal.MacAppImageBuilder java.nio.file.Path java.util.Map java.util.Map java.lang.StringBuilder java.lang.StringBuilder top java.util.Iterator
StackMap stack:
20: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map
astore 6
start local 6 21: getstatic jdk.jpackage.internal.StandardBundlerParam.FA_EXTENSIONS:Ljdk/jpackage/internal/StandardBundlerParam;
aload 6
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.util.List
astore 8
start local 8 22: aload 8
ifnonnull 26
23: getstatic jdk.jpackage.internal.MacAppImageBuilder.I18N:Ljava/util/ResourceBundle;
24: ldc "message.creating-association-with-null-extension"
25: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
26: StackMap locals: jdk.jpackage.internal.MacAppImageBuilder java.nio.file.Path java.util.Map java.util.Map java.lang.StringBuilder java.lang.StringBuilder java.util.Map java.util.Iterator java.util.List
StackMap stack:
new java.lang.StringBuilder
dup
getstatic jdk.jpackage.internal.MacAppImageBuilder.MAC_CF_BUNDLE_IDENTIFIER:Ljdk/jpackage/internal/BundlerParamInfo;
aload 2
invokevirtual jdk.jpackage.internal.BundlerParamInfo.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
27: ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
ifnull 28
aload 8
invokeinterface java.util.List.isEmpty:()Z
ifeq 29
28: StackMap locals:
StackMap stack: java.lang.StringBuilder
ldc "mime"
goto 30
StackMap locals:
StackMap stack: java.lang.StringBuilder
29: aload 8
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
StackMap locals: jdk.jpackage.internal.MacAppImageBuilder java.nio.file.Path java.util.Map java.util.Map java.lang.StringBuilder java.lang.StringBuilder java.util.Map java.util.Iterator java.util.List
StackMap stack: java.lang.StringBuilder java.lang.String
30: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
31: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
start local 9 32: getstatic jdk.jpackage.internal.StandardBundlerParam.FA_DESCRIPTION:Ljdk/jpackage/internal/StandardBundlerParam;
aload 6
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
astore 10
start local 10 33: getstatic jdk.jpackage.internal.StandardBundlerParam.FA_ICON:Ljdk/jpackage/internal/StandardBundlerParam;
aload 6
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.nio.file.Path
astore 11
start local 11 34: aload 4
ldc " <dict>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
35: aload 0
aload 4
ldc "LSItemContentTypes"
iconst_1
anewarray java.lang.String
dup
iconst_0
36: aload 9
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
37: invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeStringArrayPlist:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/util/List;)V
38: aload 0
aload 4
ldc "CFBundleTypeName"
aload 10
invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeStringPlist:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V
39: aload 0
aload 4
ldc "LSHandlerRank"
40: getstatic jdk.jpackage.internal.MacAppImageBuilder.FA_MAC_LSHANDLERRANK:Ljdk/jpackage/internal/StandardBundlerParam;
aload 6
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
41: invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeStringPlist:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V
42: aload 0
aload 4
ldc "CFBundleTypeRole"
43: getstatic jdk.jpackage.internal.MacAppImageBuilder.FA_MAC_CFBUNDLETYPEROLE:Ljdk/jpackage/internal/StandardBundlerParam;
aload 6
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
44: invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeStringPlist:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V
45: aload 0
aload 4
ldc "NSPersistentStoreTypeKey"
46: getstatic jdk.jpackage.internal.MacAppImageBuilder.FA_MAC_NSSTORETYPEKEY:Ljdk/jpackage/internal/StandardBundlerParam;
aload 6
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
47: invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeStringPlist:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V
48: aload 0
aload 4
ldc "NSDocumentClass"
49: getstatic jdk.jpackage.internal.MacAppImageBuilder.FA_MAC_NSDOCUMENTCLASS:Ljdk/jpackage/internal/StandardBundlerParam;
aload 6
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
50: invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeStringPlist:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V
51: aload 0
aload 4
ldc "LSIsAppleDefaultForType"
52: ldc "true"
53: invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeBoolPlist:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V
54: aload 0
aload 4
ldc "LSTypeIsPackage"
55: getstatic jdk.jpackage.internal.MacAppImageBuilder.FA_MAC_LSTYPEISPACKAGE:Ljdk/jpackage/internal/StandardBundlerParam;
aload 6
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
56: invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeBoolPlist:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V
57: aload 0
aload 4
ldc "LSSupportsOpeningDocumentsInPlace"
58: getstatic jdk.jpackage.internal.MacAppImageBuilder.FA_MAC_LSDOCINPLACE:Ljdk/jpackage/internal/StandardBundlerParam;
aload 6
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
59: invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeBoolPlist:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V
60: aload 0
aload 4
ldc "UISupportsDocumentBrowser"
61: getstatic jdk.jpackage.internal.MacAppImageBuilder.FA_MAC_UIDOCBROWSER:Ljdk/jpackage/internal/StandardBundlerParam;
aload 6
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
62: invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeBoolPlist:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V
63: aload 11
invokestatic jdk.jpackage.internal.IOUtils.exists:(Ljava/nio/file/Path;)Z
ifeq 67
64: aload 0
aload 4
ldc "CFBundleTypeIconFile"
65: aload 11
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
66: invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeStringPlist:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V
67: StackMap locals: java.lang.String java.lang.String java.nio.file.Path
StackMap stack:
aload 4
ldc " </dict>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
68: aload 5
ldc " <dict>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
69: aload 0
aload 5
ldc "UTTypeIdentifier"
70: aload 9
71: invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeStringPlist:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V
72: aload 0
aload 5
ldc "UTTypeDescription"
73: aload 10
74: invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeStringPlist:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V
75: aload 0
aload 5
ldc "UTTypeConformsTo"
76: getstatic jdk.jpackage.internal.MacAppImageBuilder.FA_MAC_UTTYPECONFORMSTO:Ljdk/jpackage/internal/StandardBundlerParam;
aload 6
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.util.List
77: invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeStringArrayPlist:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/util/List;)V
78: aload 11
invokestatic jdk.jpackage.internal.IOUtils.exists:(Ljava/nio/file/Path;)Z
ifeq 82
79: aload 0
aload 5
ldc "UTTypeIconFile"
80: aload 11
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
81: invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeStringPlist:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V
82: StackMap locals:
StackMap stack:
aload 5
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
83: ldc " <key>UTTypeTagSpecification</key>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
84: ldc " <dict>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
85: ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
86: aload 0
aload 5
ldc "public.filename-extension"
87: aload 8
88: invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeStringArrayPlist:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/util/List;)V
89: aload 0
aload 5
ldc "public.mime-type"
90: getstatic jdk.jpackage.internal.StandardBundlerParam.FA_CONTENT_TYPE:Ljdk/jpackage/internal/StandardBundlerParam;
aload 6
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.util.List
91: invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeStringArrayPlist:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/util/List;)V
92: aload 0
aload 5
ldc "NSExportableTypes"
93: getstatic jdk.jpackage.internal.MacAppImageBuilder.FA_MAC_NSEXPORTABLETYPES:Ljdk/jpackage/internal/StandardBundlerParam;
aload 6
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.util.List
94: invokevirtual jdk.jpackage.internal.MacAppImageBuilder.writeStringArrayPlist:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/util/List;)V
95: aload 5
ldc " </dict>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " </dict>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 11 end local 10 end local 9 end local 8 end local 6 96: StackMap locals: jdk.jpackage.internal.MacAppImageBuilder java.nio.file.Path java.util.Map java.util.Map java.lang.StringBuilder java.lang.StringBuilder top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 20
97: aload 4
invokevirtual java.lang.StringBuilder.length:()I
ifle 107
98: new java.lang.StringBuilder
dup
ldc "\n <key>CFBundleDocumentTypes</key>\n <array>\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
99: aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
100: ldc " </array>\n\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
101: ldc " <key>UTExportedTypeDeclarations</key>\n <array>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
102: aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
103: ldc " </array>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
104: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
105: astore 6
start local 6 106: goto 108
end local 6 107: StackMap locals: jdk.jpackage.internal.MacAppImageBuilder java.nio.file.Path java.util.Map java.util.Map java.lang.StringBuilder java.lang.StringBuilder
StackMap stack:
ldc ""
astore 6
start local 6 108: StackMap locals: java.lang.String
StackMap stack:
aload 3
ldc "DEPLOY_FILE_ASSOCIATIONS"
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
109: ldc "Info-lite.plist.template"
aload 2
invokestatic jdk.jpackage.internal.OverridableResource.createResource:(Ljava/lang/String;Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
110: getstatic jdk.jpackage.internal.MacAppImageBuilder.I18N:Ljava/util/ResourceBundle;
ldc "resource.app-info-plist"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual jdk.jpackage.internal.OverridableResource.setCategory:(Ljava/lang/String;)Ljdk/jpackage/internal/OverridableResource;
111: aload 3
invokevirtual jdk.jpackage.internal.OverridableResource.setSubstitutionData:(Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
112: ldc "Info.plist"
invokevirtual jdk.jpackage.internal.OverridableResource.setPublicName:(Ljava/lang/String;)Ljdk/jpackage/internal/OverridableResource;
113: aload 1
invokevirtual jdk.jpackage.internal.OverridableResource.saveToFile:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource$Source;
pop
114: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 115 0 this Ljdk/jpackage/internal/MacAppImageBuilder;
0 115 1 file Ljava/nio/file/Path;
0 115 2 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
6 115 3 data Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
18 115 4 bundleDocumentTypes Ljava/lang/StringBuilder;
19 115 5 exportedTypes Ljava/lang/StringBuilder;
21 96 6 fileAssociation Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
22 96 8 extensions Ljava/util/List<Ljava/lang/String;>;
32 96 9 itemContentType Ljava/lang/String;
33 96 10 description Ljava/lang/String;
34 96 11 icon Ljava/nio/file/Path;
106 107 6 associationData Ljava/lang/String;
108 115 6 associationData Ljava/lang/String;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
file
params
private void writePkgInfo(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: ldc "????"
astore 2
start local 2 1: aconst_null
astore 3
aconst_null
astore 4
2: aload 1
iconst_0
anewarray java.nio.file.OpenOption
invokestatic java.nio.file.Files.newBufferedWriter:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/BufferedWriter;
astore 5
start local 5 3: aload 5
new java.lang.StringBuilder
dup
ldc "APPL"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
4: aload 5
invokevirtual java.io.Writer.flush:()V
5: aload 5
ifnull 11
aload 5
invokevirtual java.io.Writer.close:()V
goto 11
StackMap locals: jdk.jpackage.internal.MacAppImageBuilder java.nio.file.Path java.lang.String java.lang.Throwable java.lang.Throwable java.io.Writer
StackMap stack: java.lang.Throwable
6: astore 3
aload 5
ifnull 7
aload 5
invokevirtual java.io.Writer.close:()V
end local 5 StackMap locals:
StackMap stack:
7: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 4
aload 3
ifnonnull 9
aload 4
astore 3
goto 10
StackMap locals:
StackMap stack:
9: aload 3
aload 4
if_acmpeq 10
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 3
athrow
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/jpackage/internal/MacAppImageBuilder;
0 12 1 file Ljava/nio/file/Path;
1 12 2 signature Ljava/lang/String;
3 7 5 out Ljava/io/Writer;
Exception table:
from to target type
3 5 6 any
2 8 8 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public static void addNewKeychain(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=8, args_size=1
start local 0 0: invokestatic jdk.jpackage.internal.Platform.getMajorVersion:()I
bipush 10
if_icmplt 3
1: invokestatic jdk.jpackage.internal.Platform.getMajorVersion:()I
bipush 10
if_icmpne 4
2: invokestatic jdk.jpackage.internal.Platform.getMinorVersion:()I
bipush 12
if_icmpge 4
3: StackMap locals:
StackMap stack:
return
4: StackMap locals:
StackMap stack:
getstatic jdk.jpackage.internal.MacBaseInstallerBundler.SIGNING_KEYCHAIN: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 5: aload 1
ifnull 6
aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 7
6: StackMap locals: java.lang.String
StackMap stack:
return
7: StackMap locals:
StackMap stack:
aload 1
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 2
start local 2 8: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 9: aload 3
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "security"
aastore
dup
iconst_1
ldc "list-keychains"
aastore
10: invokestatic jdk.jpackage.internal.IOUtils.getProcessOutput:(Ljava/util/List;[Ljava/lang/String;)I
istore 4
start local 4 11: iload 4
ifeq 14
12: getstatic jdk.jpackage.internal.MacAppImageBuilder.I18N:Ljava/util/ResourceBundle;
ldc "message.keychain.error"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic jdk.jpackage.internal.Log.error:(Ljava/lang/String;)V
13: return
14: StackMap locals: java.lang.String java.util.List int
StackMap stack:
aload 3
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
15: aload 2
invokedynamic test(Ljava/lang/String;)Ljava/util/function/Predicate;
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;)Z
jdk/jpackage/internal/MacAppImageBuilder.lambda$30(Ljava/lang/String;Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
16: invokeinterface java.util.stream.Stream.anyMatch:(Ljava/util/function/Predicate;)Z
istore 5
start local 5 17: iload 5
ifeq 19
18: return
19: StackMap locals: int
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putstatic jdk.jpackage.internal.MacAppImageBuilder.keyChains:Ljava/util/List;
20: aload 3
invokedynamic accept()Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
jdk/jpackage/internal/MacAppImageBuilder.lambda$31(Ljava/lang/String;)V (6)
(Ljava/lang/String;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
21: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 22: aload 6
ldc "/usr/bin/security"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
23: aload 6
ldc "list-keychains"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
24: aload 6
ldc "-s"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
25: aload 6
getstatic jdk.jpackage.internal.MacAppImageBuilder.keyChains:Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
26: aload 6
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
27: new java.lang.ProcessBuilder
dup
aload 6
invokespecial java.lang.ProcessBuilder.<init>:(Ljava/util/List;)V
astore 7
start local 7 28: aload 7
invokestatic jdk.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;)V
29: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
5 30 1 keyChain Ljava/lang/String;
8 30 2 keyChainPath Ljava/lang/String;
9 30 3 keychainList Ljava/util/List<Ljava/lang/String;>;
11 30 4 ret I
17 30 5 contains Z
22 30 6 args Ljava/util/List<Ljava/lang/String;>;
28 30 7 pb Ljava/lang/ProcessBuilder;
Exceptions:
throws java.io.IOException, java.lang.InterruptedException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
params
public static void restoreKeychainList(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: invokestatic jdk.jpackage.internal.Platform.getMajorVersion:()I
bipush 10
if_icmplt 3
1: invokestatic jdk.jpackage.internal.Platform.getMajorVersion:()I
bipush 10
if_icmpne 4
2: invokestatic jdk.jpackage.internal.Platform.getMinorVersion:()I
bipush 12
if_icmpge 4
3: StackMap locals:
StackMap stack:
return
4: StackMap locals:
StackMap stack:
getstatic jdk.jpackage.internal.MacAppImageBuilder.keyChains:Ljava/util/List;
ifnull 5
getstatic jdk.jpackage.internal.MacAppImageBuilder.keyChains:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 6
5: StackMap locals:
StackMap stack:
return
6: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 7: aload 1
ldc "/usr/bin/security"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: aload 1
ldc "list-keychains"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: aload 1
ldc "-s"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: aload 1
getstatic jdk.jpackage.internal.MacAppImageBuilder.keyChains:Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
11: new java.lang.ProcessBuilder
dup
aload 1
invokespecial java.lang.ProcessBuilder.<init>:(Ljava/util/List;)V
astore 2
start local 2 12: aload 2
invokestatic jdk.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;)V
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
7 14 1 args Ljava/util/List<Ljava/lang/String;>;
12 14 2 pb Ljava/lang/ProcessBuilder;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
params
static void signAppBundle(java.util.Map<java.lang.String, ? super java.lang.Object>, java.nio.file.Path, java.lang.String, java.lang.String, java.nio.file.Path);
descriptor: (Ljava/util/Map;Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/String;Ljava/nio/file/Path;)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=15, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
astore 5
start local 5 1: new java.lang.StringBuilder
dup
ldc "/Contents/MacOS/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
aload 0
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
start local 6 2: getstatic jdk.jpackage.internal.MacBaseInstallerBundler.SIGNING_KEYCHAIN:Ljdk/jpackage/internal/BundlerParamInfo;
aload 0
invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 3: aconst_null
astore 8
aconst_null
astore 9
4: aload 1
iconst_0
anewarray java.nio.file.FileVisitOption
invokestatic java.nio.file.Files.walk:(Ljava/nio/file/Path;[Ljava/nio/file/FileVisitOption;)Ljava/util/stream/Stream;
astore 10
start local 10 5: aload 10
invokedynamic accept()Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
jdk/jpackage/internal/MacAppImageBuilder.lambda$32(Ljava/nio/file/Path;)V (6)
(Ljava/nio/file/Path;)V
invokeinterface java.util.stream.Stream.peek:(Ljava/util/function/Consumer;)Ljava/util/stream/Stream;
6: aload 6
invokedynamic test(Ljava/lang/String;)Ljava/util/function/Predicate;
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;)Z
jdk/jpackage/internal/MacAppImageBuilder.lambda$33(Ljava/lang/String;Ljava/nio/file/Path;)Z (6)
(Ljava/nio/file/Path;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
7: aload 5
aload 2
aload 3
aload 7
aload 4
invokedynamic accept(Ljava/util/concurrent/atomic/AtomicReference;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/nio/file/Path;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
jdk/jpackage/internal/MacAppImageBuilder.lambda$34(Ljava/util/concurrent/atomic/AtomicReference;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/nio/file/Path;Ljava/nio/file/Path;)V (6)
(Ljava/nio/file/Path;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
8: aload 10
ifnull 14
aload 10
invokeinterface java.util.stream.Stream.close:()V
goto 14
StackMap locals: java.util.Map java.nio.file.Path java.lang.String java.lang.String java.nio.file.Path java.util.concurrent.atomic.AtomicReference java.lang.String java.lang.String java.lang.Throwable java.lang.Throwable java.util.stream.Stream
StackMap stack: java.lang.Throwable
9: astore 8
aload 10
ifnull 10
aload 10
invokeinterface java.util.stream.Stream.close:()V
end local 10 StackMap locals:
StackMap stack:
10: aload 8
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 9
aload 8
ifnonnull 12
aload 9
astore 8
goto 13
StackMap locals:
StackMap stack:
12: aload 8
aload 9
if_acmpeq 13
aload 8
aload 9
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 8
athrow
14: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.io.IOException
astore 8
start local 8 15: aload 8
ifnull 17
16: aload 8
athrow
17: StackMap locals: java.io.IOException
StackMap stack:
aload 5
aload 2
aload 3
aload 7
invokedynamic accept(Ljava/util/concurrent/atomic/AtomicReference;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
jdk/jpackage/internal/MacAppImageBuilder.lambda$35(Ljava/util/concurrent/atomic/AtomicReference;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/nio/file/Path;)V (6)
(Ljava/nio/file/Path;)V
astore 9
start local 9 18: aload 1
ldc "Contents/runtime"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 10
start local 10 19: aload 10
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 24
20: aload 9
aload 10
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
21: aload 5
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.io.IOException
astore 8
22: aload 8
ifnull 24
23: aload 8
athrow
24: StackMap locals: java.util.function.Consumer java.nio.file.Path
StackMap stack:
aload 1
ldc "Contents/Frameworks"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 11
start local 11 25: aload 11
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 38
26: aconst_null
astore 12
aconst_null
astore 13
27: aload 11
invokestatic java.nio.file.Files.list:(Ljava/nio/file/Path;)Ljava/util/stream/Stream;
astore 14
start local 14 28: aload 14
aload 9
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
29: aload 14
ifnull 35
aload 14
invokeinterface java.util.stream.Stream.close:()V
goto 35
StackMap locals: java.util.Map java.nio.file.Path java.lang.String java.lang.String java.nio.file.Path java.util.concurrent.atomic.AtomicReference java.lang.String java.lang.String java.io.IOException java.util.function.Consumer java.nio.file.Path java.nio.file.Path java.lang.Throwable java.lang.Throwable java.util.stream.Stream
StackMap stack: java.lang.Throwable
30: astore 12
aload 14
ifnull 31
aload 14
invokeinterface java.util.stream.Stream.close:()V
end local 14 StackMap locals:
StackMap stack:
31: aload 12
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
32: astore 13
aload 12
ifnonnull 33
aload 13
astore 12
goto 34
StackMap locals:
StackMap stack:
33: aload 12
aload 13
if_acmpeq 34
aload 12
aload 13
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
34: aload 12
athrow
35: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.io.IOException
astore 8
36: aload 8
ifnull 38
37: aload 8
athrow
38: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 12
start local 12 39: aload 12
bipush 8
anewarray java.lang.String
dup
iconst_0
ldc "/usr/bin/codesign"
aastore
dup
iconst_1
40: ldc "--timestamp"
aastore
dup
iconst_2
41: ldc "--options"
aastore
dup
iconst_3
ldc "runtime"
aastore
dup
iconst_4
42: ldc "--force"
aastore
dup
iconst_5
43: ldc "-s"
aastore
dup
bipush 6
aload 2
aastore
dup
bipush 7
44: ldc "-vvvv"
aastore
45: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
46: aload 7
ifnull 49
aload 7
invokevirtual java.lang.String.isEmpty:()Z
ifne 49
47: aload 12
ldc "--keychain"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
48: aload 12
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
49: StackMap locals: java.util.List
StackMap stack:
aload 4
ifnull 52
50: aload 12
ldc "--entitlements"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
51: aload 12
aload 4
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
52: StackMap locals:
StackMap stack:
aload 12
aload 1
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
53: new java.lang.ProcessBuilder
dup
aload 12
aload 12
invokeinterface java.util.List.size:()I
anewarray java.lang.String
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
54: astore 13
start local 13 55: aload 13
invokestatic jdk.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;)V
56: return
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 57 0 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
0 57 1 appLocation Ljava/nio/file/Path;
0 57 2 signingIdentity Ljava/lang/String;
0 57 3 identifierPrefix Ljava/lang/String;
0 57 4 entitlements Ljava/nio/file/Path;
1 57 5 toThrow Ljava/util/concurrent/atomic/AtomicReference<Ljava/io/IOException;>;
2 57 6 appExecutable Ljava/lang/String;
3 57 7 keyChain Ljava/lang/String;
5 10 10 stream Ljava/util/stream/Stream<Ljava/nio/file/Path;>;
15 57 8 ioe Ljava/io/IOException;
18 57 9 signIdentifiedByPList Ljava/util/function/Consumer<-Ljava/nio/file/Path;>;
19 57 10 javaPath Ljava/nio/file/Path;
25 57 11 frameworkPath Ljava/nio/file/Path;
28 31 14 fileList Ljava/util/stream/Stream<Ljava/nio/file/Path;>;
39 57 12 args Ljava/util/List<Ljava/lang/String;>;
55 57 13 pb Ljava/lang/ProcessBuilder;
Exception table:
from to target type
5 8 9 any
4 11 11 any
28 29 30 any
27 32 32 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/String;Ljava/nio/file/Path;)V
MethodParameters:
Name Flags
params
appLocation
signingIdentity
identifierPrefix
entitlements
private static boolean isFileSigned(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: new java.lang.ProcessBuilder
dup
iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "/usr/bin/codesign"
aastore
dup
iconst_1
1: ldc "--verify"
aastore
dup
iconst_2
aload 0
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
2: aastore
invokespecial java.lang.ProcessBuilder.<init>:([Ljava/lang/String;)V
3: astore 1
start local 1 4: aload 1
invokestatic jdk.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;)V
5: goto 8
StackMap locals: java.nio.file.Path java.lang.ProcessBuilder
StackMap stack: java.io.IOException
6: pop
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 file Ljava/nio/file/Path;
4 9 1 pb Ljava/lang/ProcessBuilder;
Exception table:
from to target type
4 5 6 Class java.io.IOException
MethodParameters:
Name Flags
file
private static java.lang.String extractBundleIdentifier(java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tDocumentBuilderFactory cannot be resolved to a type\n\tDocumentBuilderFactory cannot be resolved\n\tDocumentBuilder cannot be resolved to a type\n\torg cannot be resolved to a type\n\tXPath cannot be resolved to a type\n\tXPathFactory cannot be resolved\n\tXPathConstants cannot be resolved to a variable\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)Ljava/lang/String;
MethodParameters:
Name Flags
params
private static java.lang.Boolean lambda$2(java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/lang/Boolean;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
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.Boolean lambda$3(java.lang.String, java.util.Map);
descriptor: (Ljava/lang/String;Ljava/util/Map;)Ljava/lang/Boolean;
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
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
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: 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$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=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic jdk.jpackage.internal.MacAppImageBuilder.extractBundleIdentifier:(Ljava/util/Map;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
invokestatic jdk.jpackage.internal.MacAppBundler.getIdentifier:(Ljava/util/Map;)Ljava/lang/String;
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
ifnonnull 5
4: getstatic jdk.jpackage.internal.StandardBundlerParam.APP_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
5: StackMap locals:
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 identifier Ljava/lang/String;
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.nio.file.Path lambda$8(java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/nio/file/Path;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic jdk.jpackage.internal.StandardBundlerParam.ICON:Ljdk/jpackage/internal/StandardBundlerParam;
aload 0
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.nio.file.Path
astore 1
start local 1 1: aload 1
ifnull 6
aload 1
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
ifnull 6
aload 1
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
2: invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
ldc ".icns"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 6
3: getstatic jdk.jpackage.internal.MacAppImageBuilder.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
4: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.jpackage.internal.Log.error:(Ljava/lang/String;)V
5: aconst_null
areturn
6: StackMap locals: java.nio.file.Path
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 f Ljava/nio/file/Path;
private static java.nio.file.Path lambda$9(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;>;
private static java.lang.Boolean lambda$0(java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/lang/Boolean;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
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.Boolean lambda$1(java.lang.String, java.util.Map);
descriptor: (Ljava/lang/String;Ljava/util/Map;)Ljava/lang/Boolean;
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
ifnull 1
ldc "null"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
aconst_null
goto 3
StackMap locals:
StackMap stack:
2: aload 0
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
StackMap locals:
StackMap stack: java.lang.Boolean
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 s Ljava/lang/String;
0 4 1 p Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
private static java.lang.String lambda$10(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 "Editor"
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$11(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$12(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 "Owner"
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$13(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$14(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$15(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$16(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$17(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$18(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$19(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$20(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$21(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$22(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$23(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.util.List lambda$24(java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/util/List;
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.util.List lambda$25(java.lang.String, java.util.Map);
descriptor: (Ljava/lang/String;Ljava/util/Map;)Ljava/util/List;
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
ldc "(,|\\s)+"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
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.util.List lambda$26(java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/util/List;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "public.data"
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
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.util.List lambda$27(java.lang.String, java.util.Map);
descriptor: (Ljava/lang/String;Ljava/util/Map;)Ljava/util/List;
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
ldc "(,|\\s)+"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
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 boolean lambda$28(java.nio.file.Path, java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/Path;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
aload 0
invokeinterface java.nio.file.Path.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 file Ljava/nio/file/Path;
private static void lambda$29(java.lang.StringBuilder, java.lang.String);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
ldc " <string>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "</string>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
1: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 value Ljava/lang/String;
private static boolean lambda$30(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 1 0: aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
new java.lang.StringBuilder
dup
ldc "\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.String.trim:()Ljava/lang/String;
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;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 str Ljava/lang/String;
private static void lambda$31(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ldc "\""
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 3
aload 1
ldc "\""
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 3
2: aload 1
iconst_1
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
getstatic jdk.jpackage.internal.MacAppImageBuilder.keyChains:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 1 4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 s Ljava/lang/String;
1 4 1 path Ljava/lang/String;
private static void lambda$32(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.getPosixFilePermissions:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Ljava/util/Set;
1: astore 1
start local 1 2: aload 1
getstatic java.nio.file.attribute.PosixFilePermission.OWNER_WRITE:Ljava/nio/file/attribute/PosixFilePermission;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 9
3: aload 1
invokestatic java.util.EnumSet.copyOf:(Ljava/util/Collection;)Ljava/util/EnumSet;
astore 1
4: aload 1
getstatic java.nio.file.attribute.PosixFilePermission.OWNER_WRITE:Ljava/nio/file/attribute/PosixFilePermission;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: aload 0
aload 1
invokestatic java.nio.file.Files.setPosixFilePermissions:(Ljava/nio/file/Path;Ljava/util/Set;)Ljava/nio/file/Path;
pop
end local 1 6: goto 9
StackMap locals:
StackMap stack: java.io.IOException
7: astore 1
start local 1 8: aload 1
invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
end local 1 9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 path Ljava/nio/file/Path;
2 6 1 pfp Ljava/util/Set<Ljava/nio/file/attribute/PosixFilePermission;>;
8 9 1 e Ljava/io/IOException;
Exception table:
from to target type
0 6 7 Class java.io.IOException
private static boolean lambda$33(java.lang.String, java.nio.file.Path);
descriptor: (Ljava/lang/String;Ljava/nio/file/Path;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isRegularFile:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 5
1: aload 1
invokestatic java.nio.file.Files.isExecutable:(Ljava/nio/file/Path;)Z
ifne 2
aload 1
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
ldc ".dylib"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 5
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
aload 0
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 5
3: aload 1
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
ldc "/Contents/runtime"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 5
4: aload 1
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
ldc "/Contents/Frameworks"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 5
iconst_1
goto 6
StackMap locals:
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 7 1 p Ljava/nio/file/Path;
private static void lambda$34(java.util.concurrent.atomic.AtomicReference, java.lang.String, java.lang.String, java.lang.String, java.nio.file.Path, java.nio.file.Path);
descriptor: (Ljava/util/concurrent/atomic/AtomicReference;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/nio/file/Path;Ljava/nio/file/Path;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=9, args_size=6
start local 5 0: aload 0
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
ifnull 1
return
1: StackMap locals:
StackMap stack:
aload 5
invokestatic java.nio.file.Files.isSymbolicLink:(Ljava/nio/file/Path;)Z
ifeq 8
2: getstatic jdk.jpackage.internal.MacAppImageBuilder.I18N:Ljava/util/ResourceBundle;
3: ldc "message.ignoring.symlink"
4: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
5: aload 5
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
aastore
6: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
7: goto 40
StackMap locals:
StackMap stack:
8: aload 5
invokestatic jdk.jpackage.internal.MacAppImageBuilder.isFileSigned:(Ljava/nio/file/Path;)Z
ifeq 15
9: getstatic jdk.jpackage.internal.MacAppImageBuilder.I18N:Ljava/util/ResourceBundle;
10: ldc "message.already.signed"
11: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
12: aload 5
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
aastore
13: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
14: goto 40
15: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 16: aload 6
bipush 9
anewarray java.lang.String
dup
iconst_0
ldc "/usr/bin/codesign"
aastore
dup
iconst_1
17: ldc "--timestamp"
aastore
dup
iconst_2
18: ldc "--options"
aastore
dup
iconst_3
ldc "runtime"
aastore
dup
iconst_4
19: ldc "-s"
aastore
dup
iconst_5
aload 1
aastore
dup
bipush 6
20: ldc "--prefix"
aastore
dup
bipush 7
aload 2
aastore
dup
bipush 8
21: ldc "-vvvv"
aastore
22: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
23: aload 3
ifnull 26
aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifne 26
24: aload 6
ldc "--keychain"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
25: aload 6
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
26: StackMap locals: java.util.List
StackMap stack:
aload 5
invokestatic java.nio.file.Files.isExecutable:(Ljava/nio/file/Path;)Z
ifeq 30
27: aload 4
ifnull 30
28: aload 6
ldc "--entitlements"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
29: aload 6
aload 4
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
30: StackMap locals:
StackMap stack:
aload 6
aload 5
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
31: aload 5
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.getPosixFilePermissions:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Ljava/util/Set;
32: astore 7
start local 7 33: aload 5
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
iconst_1
iconst_1
invokevirtual java.io.File.setWritable:(ZZ)Z
pop
34: new java.lang.ProcessBuilder
dup
aload 6
invokespecial java.lang.ProcessBuilder.<init>:(Ljava/util/List;)V
astore 8
start local 8 35: aload 8
invokestatic jdk.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;)V
36: aload 5
aload 7
invokestatic java.nio.file.Files.setPosixFilePermissions:(Ljava/nio/file/Path;Ljava/util/Set;)Ljava/nio/file/Path;
pop
end local 8 end local 7 37: goto 40
StackMap locals:
StackMap stack: java.io.IOException
38: astore 7
start local 7 39: aload 0
aload 7
invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
end local 7 end local 6 40: StackMap locals:
StackMap stack:
return
end local 5 LocalVariableTable:
Start End Slot Name Signature
0 41 5 p Ljava/nio/file/Path;
16 40 6 args Ljava/util/List<Ljava/lang/String;>;
33 37 7 oldPermissions Ljava/util/Set<Ljava/nio/file/attribute/PosixFilePermission;>;
35 37 8 pb Ljava/lang/ProcessBuilder;
39 40 7 ioe Ljava/io/IOException;
Exception table:
from to target type
31 37 38 Class java.io.IOException
private static void lambda$35(java.util.concurrent.atomic.AtomicReference, java.lang.String, java.lang.String, java.lang.String, java.nio.file.Path);
descriptor: (Ljava/util/concurrent/atomic/AtomicReference;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/nio/file/Path;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=7, args_size=5
start local 4 0: aload 0
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
ifnull 1
return
1: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 2: aload 5
bipush 10
anewarray java.lang.String
dup
iconst_0
ldc "/usr/bin/codesign"
aastore
dup
iconst_1
3: ldc "--timestamp"
aastore
dup
iconst_2
4: ldc "--options"
aastore
dup
iconst_3
ldc "runtime"
aastore
dup
iconst_4
5: ldc "--force"
aastore
dup
iconst_5
6: ldc "-s"
aastore
dup
bipush 6
aload 1
aastore
dup
bipush 7
7: ldc "--prefix"
aastore
dup
bipush 8
aload 2
aastore
dup
bipush 9
8: ldc "-vvvv"
aastore
9: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
10: aload 3
ifnull 13
aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifne 13
11: aload 5
ldc "--keychain"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: aload 5
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
13: StackMap locals: java.util.List
StackMap stack:
aload 5
aload 4
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: new java.lang.ProcessBuilder
dup
aload 5
invokespecial java.lang.ProcessBuilder.<init>:(Ljava/util/List;)V
astore 6
start local 6 15: aload 6
invokestatic jdk.jpackage.internal.IOUtils.exec:(Ljava/lang/ProcessBuilder;)V
end local 6 end local 5 16: goto 19
StackMap locals: java.util.concurrent.atomic.AtomicReference java.lang.String java.lang.String java.lang.String java.nio.file.Path
StackMap stack: java.io.IOException
17: astore 5
start local 5 18: aload 0
aload 5
invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
end local 5 19: StackMap locals:
StackMap stack:
return
end local 4 LocalVariableTable:
Start End Slot Name Signature
0 20 4 path Ljava/nio/file/Path;
2 16 5 args Ljava/util/List<Ljava/lang/String;>;
15 16 6 pb Ljava/lang/ProcessBuilder;
18 19 5 e Ljava/io/IOException;
Exception table:
from to target type
1 16 17 Class java.io.IOException
}
SourceFile: "MacAppImageBuilder.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
final Source = jdk.jpackage.internal.OverridableResource$Source of jdk.jpackage.internal.OverridableResource