public class jdk.incubator.jpackage.internal.WinAppBundler extends jdk.incubator.jpackage.internal.AbstractImageBundler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.incubator.jpackage.internal.WinAppBundler
super_class: jdk.incubator.jpackage.internal.AbstractImageBundler
{
private static final java.util.ResourceBundle I18N;
descriptor: Ljava/util/ResourceBundle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final jdk.incubator.jpackage.internal.BundlerParamInfo<java.io.File> ICON_ICO;
descriptor: Ljdk/incubator/jpackage/internal/BundlerParamInfo;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljdk/incubator/jpackage/internal/BundlerParamInfo<Ljava/io/File;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: ldc "jdk.incubator.jpackage.internal.resources.WinResources"
1: invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
putstatic jdk.incubator.jpackage.internal.WinAppBundler.I18N:Ljava/util/ResourceBundle;
2: new jdk.incubator.jpackage.internal.StandardBundlerParam
dup
3: ldc "icon.ico"
4: ldc Ljava/io/File;
5: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/incubator/jpackage/internal/WinAppBundler.lambda$0(Ljava/util/Map;)Ljava/io/File; (6)
(Ljava/util/Map;)Ljava/io/File;
6: invokedynamic apply()Ljava/util/function/BiFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
jdk/incubator/jpackage/internal/WinAppBundler.lambda$1(Ljava/lang/String;Ljava/util/Map;)Ljava/io/File; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/io/File;
7: invokespecial jdk.incubator.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
8: putstatic jdk.incubator.jpackage.internal.WinAppBundler.ICON_ICO:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
9: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial jdk.incubator.jpackage.internal.AbstractImageBundler.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/WinAppBundler;
public boolean validate(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual jdk.incubator.jpackage.internal.WinAppBundler.doValidate:(Ljava/util/Map;)Z
2: ireturn
3: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 2
start local 2 4: aload 2
invokevirtual java.lang.RuntimeException.getCause:()Ljava/lang/Throwable;
instanceof jdk.incubator.jpackage.internal.ConfigException
ifeq 6
5: aload 2
invokevirtual java.lang.RuntimeException.getCause:()Ljava/lang/Throwable;
checkcast jdk.incubator.jpackage.internal.ConfigException
athrow
6: StackMap locals: java.lang.RuntimeException
StackMap stack:
new jdk.incubator.jpackage.internal.ConfigException
dup
aload 2
invokespecial jdk.incubator.jpackage.internal.ConfigException.<init>:(Ljava/lang/Exception;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/incubator/jpackage/internal/WinAppBundler;
0 7 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
4 7 2 re Ljava/lang/RuntimeException;
Exception table:
from to target type
0 2 3 Class java.lang.RuntimeException
Exceptions:
throws jdk.incubator.jpackage.internal.ConfigException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Z
MethodParameters:
Name Flags
params
private boolean doValidate(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.incubator.jpackage.internal.WinAppBundler.imageBundleValidation:(Ljava/util/Map;)V
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/jpackage/internal/WinAppBundler;
0 2 1 p Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
Exceptions:
throws jdk.incubator.jpackage.internal.ConfigException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Z
MethodParameters:
Name Flags
p
public boolean bundle(java.util.Map<java.lang.String, ? super java.lang.Object>, java.io.File);
descriptor: (Ljava/util/Map;Ljava/io/File;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokevirtual jdk.incubator.jpackage.internal.WinAppBundler.doBundle:(Ljava/util/Map;Ljava/io/File;Z)Ljava/io/File;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/jpackage/internal/WinAppBundler;
0 2 1 p Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
0 2 2 outputDirectory Ljava/io/File;
Exceptions:
throws jdk.incubator.jpackage.internal.PackagerException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/io/File;)Z
MethodParameters:
Name Flags
p
outputDirectory
java.io.File doBundle(java.util.Map<java.lang.String, ? super java.lang.Object>, java.io.File, boolean);
descriptor: (Ljava/util/Map;Ljava/io/File;Z)Ljava/io/File;
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic jdk.incubator.jpackage.internal.StandardBundlerParam.isRuntimeInstaller:(Ljava/util/Map;)Z
ifeq 2
1: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.PREDEFINED_RUNTIME_IMAGE:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.io.File
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iload 3
invokevirtual jdk.incubator.jpackage.internal.WinAppBundler.doAppBundle:(Ljava/util/Map;Ljava/io/File;Z)Ljava/io/File;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/jpackage/internal/WinAppBundler;
0 3 1 p Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
0 3 2 outputDirectory Ljava/io/File;
0 3 3 dependentTask Z
Exceptions:
throws jdk.incubator.jpackage.internal.PackagerException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/io/File;Z)Ljava/io/File;
MethodParameters:
Name Flags
p
outputDirectory
dependentTask
java.io.File doAppBundle(java.util.Map<java.lang.String, ? super java.lang.Object>, java.io.File, boolean);
descriptor: (Ljava/util/Map;Ljava/io/File;Z)Ljava/io/File;
flags: (0x0000)
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
1: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
2: invokevirtual jdk.incubator.jpackage.internal.WinAppBundler.createRoot:(Ljava/util/Map;Ljava/io/File;ZLjava/lang/String;)Ljava/io/File;
astore 4
start local 4 3: new jdk.incubator.jpackage.internal.WindowsAppImageBuilder
dup
aload 1
aload 2
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
invokespecial jdk.incubator.jpackage.internal.WindowsAppImageBuilder.<init>:(Ljava/util/Map;Ljava/nio/file/Path;)V
4: astore 5
start local 5 5: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.PREDEFINED_RUNTIME_IMAGE:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
ifnonnull 8
6: aload 1
aload 5
invokestatic jdk.incubator.jpackage.internal.JLinkBundlerHelper.execute:(Ljava/util/Map;Ljdk/incubator/jpackage/internal/AbstractAppImageBuilder;)V
7: goto 9
8: StackMap locals: java.io.File jdk.incubator.jpackage.internal.AbstractAppImageBuilder
StackMap stack:
aload 1
aload 5
invokestatic jdk.incubator.jpackage.internal.StandardBundlerParam.copyPredefinedRuntimeImage:(Ljava/util/Map;Ljdk/incubator/jpackage/internal/AbstractAppImageBuilder;)V
9: StackMap locals:
StackMap stack:
iload 3
ifne 13
10: getstatic jdk.incubator.jpackage.internal.WinAppBundler.I18N:Ljava/util/ResourceBundle;
ldc "message.result-dir"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
11: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
12: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
aload 4
14: areturn
end local 5 end local 4 15: StackMap locals: jdk.incubator.jpackage.internal.WinAppBundler java.util.Map java.io.File int
StackMap stack: jdk.incubator.jpackage.internal.PackagerException
astore 4
start local 4 16: aload 4
athrow
end local 4 17: StackMap locals:
StackMap stack: java.lang.Exception
astore 4
start local 4 18: aload 4
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
19: new jdk.incubator.jpackage.internal.PackagerException
dup
aload 4
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljdk/incubator/jpackage/internal/WinAppBundler;
0 20 1 p Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
0 20 2 outputDirectory Ljava/io/File;
0 20 3 dependentTask Z
3 15 4 rootDirectory Ljava/io/File;
5 15 5 appBuilder Ljdk/incubator/jpackage/internal/AbstractAppImageBuilder;
16 17 4 pe Ljdk/incubator/jpackage/internal/PackagerException;
18 20 4 e Ljava/lang/Exception;
Exception table:
from to target type
0 14 15 Class jdk.incubator.jpackage.internal.PackagerException
0 14 17 Class java.lang.Exception
Exceptions:
throws jdk.incubator.jpackage.internal.PackagerException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/io/File;Z)Ljava/io/File;
MethodParameters:
Name Flags
p
outputDirectory
dependentTask
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.incubator.jpackage.internal.WinAppBundler.I18N:Ljava/util/ResourceBundle;
ldc "app.bundler.name"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/WinAppBundler;
public java.lang.String getID();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "windows.app"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/WinAppBundler;
public java.lang.String getBundleType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "IMAGE"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/WinAppBundler;
public java.io.File execute(java.util.Map<java.lang.String, ? super java.lang.Object>, java.io.File);
descriptor: (Ljava/util/Map;Ljava/io/File;)Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokevirtual jdk.incubator.jpackage.internal.WinAppBundler.doBundle:(Ljava/util/Map;Ljava/io/File;Z)Ljava/io/File;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/WinAppBundler;
0 1 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
0 1 2 outputParentDir Ljava/io/File;
Exceptions:
throws jdk.incubator.jpackage.internal.PackagerException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/io/File;)Ljava/io/File;
MethodParameters:
Name Flags
params
outputParentDir
public boolean supported(boolean);
descriptor: (Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/WinAppBundler;
0 1 1 platformInstaller Z
MethodParameters:
Name Flags
platformInstaller
public boolean isDefault();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/WinAppBundler;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.incubator.jpackage.internal.AbstractImageBundler.toString:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void cleanup(java.util.Map);
descriptor: (Ljava/util/Map;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial jdk.incubator.jpackage.internal.AbstractImageBundler.cleanup:(Ljava/util/Map;)V
return
LocalVariableTable:
Start End Slot Name Signature
private static java.io.File lambda$0(java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/io/File;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.ICON:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 0
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.io.File
astore 1
start local 1 1: aload 1
ifnull 5
aload 1
invokevirtual java.io.File.getName:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
ldc ".ico"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 5
2: getstatic jdk.incubator.jpackage.internal.WinAppBundler.I18N:Ljava/util/ResourceBundle;
ldc "message.icon-not-ico"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
3: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.error:(Ljava/lang/String;)V
4: aconst_null
areturn
5: StackMap locals: java.io.File
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
1 6 1 f Ljava/io/File;
private static java.io.File lambda$1(java.lang.String, java.util.Map);
descriptor: (Ljava/lang/String;Ljava/util/Map;)Ljava/io/File;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
0 1 1 p Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
}
SourceFile: "WinAppBundler.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles