public class jdk.incubator.jpackage.internal.LinuxAppImageBuilder extends jdk.incubator.jpackage.internal.AbstractAppImageBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.incubator.jpackage.internal.LinuxAppImageBuilder
super_class: jdk.incubator.jpackage.internal.AbstractAppImageBuilder
{
private static final java.lang.String LIBRARY_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "libapplauncher.so"
static final java.lang.String DEFAULT_ICON;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "java32.png"
private final jdk.incubator.jpackage.internal.ApplicationLayout appLayout;
descriptor: Ljdk/incubator/jpackage/internal/ApplicationLayout;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final jdk.incubator.jpackage.internal.BundlerParamInfo<java.io.File> ICON_PNG;
descriptor: Ljdk/incubator/jpackage/internal/BundlerParamInfo;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljdk/incubator/jpackage/internal/BundlerParamInfo<Ljava/io/File;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new jdk.incubator.jpackage.internal.StandardBundlerParam
dup
1: ldc "icon.png"
2: ldc Ljava/io/File;
3: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/incubator/jpackage/internal/LinuxAppImageBuilder.lambda$0(Ljava/util/Map;)Ljava/io/File; (6)
(Ljava/util/Map;)Ljava/io/File;
4: 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/LinuxAppImageBuilder.lambda$1(Ljava/lang/String;Ljava/util/Map;)Ljava/io/File; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/io/File;
5: invokespecial jdk.incubator.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
6: putstatic jdk.incubator.jpackage.internal.LinuxAppImageBuilder.ICON_PNG:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
7: return
LocalVariableTable:
Start End Slot Name Signature
private static jdk.incubator.jpackage.internal.ApplicationLayout createAppLayout(java.util.Map<java.lang.String, java.lang.Object>, java.nio.file.Path);
descriptor: (Ljava/util/Map;Ljava/nio/file/Path;)Ljdk/incubator/jpackage/internal/ApplicationLayout;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: invokestatic jdk.incubator.jpackage.internal.ApplicationLayout.linuxAppImage:()Ljdk/incubator/jpackage/internal/ApplicationLayout;
1: aload 1
getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 0
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
2: invokevirtual jdk.incubator.jpackage.internal.ApplicationLayout.resolveAt:(Ljava/nio/file/Path;)Ljdk/incubator/jpackage/internal/ApplicationLayout;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 params Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
0 3 1 imageOutDir Ljava/nio/file/Path;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;Ljava/nio/file/Path;)Ljdk/incubator/jpackage/internal/ApplicationLayout;
MethodParameters:
Name Flags
params
imageOutDir
public void <init>(java.util.Map<java.lang.String, java.lang.Object>, java.nio.file.Path);
descriptor: (Ljava/util/Map;Ljava/nio/file/Path;)V
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 1
aload 2
invokestatic jdk.incubator.jpackage.internal.LinuxAppImageBuilder.createAppLayout:(Ljava/util/Map;Ljava/nio/file/Path;)Ljdk/incubator/jpackage/internal/ApplicationLayout;
invokevirtual jdk.incubator.jpackage.internal.ApplicationLayout.runtimeDirectory:()Ljava/nio/file/Path;
invokespecial jdk.incubator.jpackage.internal.AbstractAppImageBuilder.<init>:(Ljava/util/Map;Ljava/nio/file/Path;)V
1: aload 0
aload 1
aload 2
invokestatic jdk.incubator.jpackage.internal.LinuxAppImageBuilder.createAppLayout:(Ljava/util/Map;Ljava/nio/file/Path;)Ljdk/incubator/jpackage/internal/ApplicationLayout;
putfield jdk.incubator.jpackage.internal.LinuxAppImageBuilder.appLayout:Ljdk/incubator/jpackage/internal/ApplicationLayout;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/jpackage/internal/LinuxAppImageBuilder;
0 3 1 params Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
0 3 2 imageOutDir Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;Ljava/nio/file/Path;)V
MethodParameters:
Name Flags
params
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/incubator/jpackage/internal/LinuxAppImageBuilder;
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 static java.lang.String getLauncherName(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 0
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
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.nio.file.Path getLauncherCfgPath(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljava/nio/file/Path;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.jpackage.internal.LinuxAppImageBuilder.appLayout:Ljdk/incubator/jpackage/internal/ApplicationLayout;
invokevirtual jdk.incubator.jpackage.internal.ApplicationLayout.appDirectory:()Ljava/nio/file/Path;
1: new java.lang.StringBuilder
dup
getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".cfg"
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 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/jpackage/internal/LinuxAppImageBuilder;
0 3 1 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
public java.nio.file.Path getAppDir();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.jpackage.internal.LinuxAppImageBuilder.appLayout:Ljdk/incubator/jpackage/internal/ApplicationLayout;
invokevirtual jdk.incubator.jpackage.internal.ApplicationLayout.appDirectory:()Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/LinuxAppImageBuilder;
public java.nio.file.Path getAppModsDir();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.jpackage.internal.LinuxAppImageBuilder.appLayout:Ljdk/incubator/jpackage/internal/ApplicationLayout;
invokevirtual jdk.incubator.jpackage.internal.ApplicationLayout.appModsDirectory:()Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/LinuxAppImageBuilder;
protected java.lang.String getCfgAppDir();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "$ROOTDIR"
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
1: invokestatic jdk.incubator.jpackage.internal.ApplicationLayout.linuxAppImage:()Ljdk/incubator/jpackage/internal/ApplicationLayout;
invokevirtual jdk.incubator.jpackage.internal.ApplicationLayout.appDirectory:()Ljava/nio/file/Path;
2: invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
3: invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/jpackage/internal/LinuxAppImageBuilder;
protected java.lang.String getCfgRuntimeDir();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "$ROOTDIR"
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
1: invokestatic jdk.incubator.jpackage.internal.ApplicationLayout.linuxAppImage:()Ljdk/incubator/jpackage/internal/ApplicationLayout;
invokevirtual jdk.incubator.jpackage.internal.ApplicationLayout.runtimeDirectory:()Ljava/nio/file/Path;
2: invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
3: invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
4: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/incubator/jpackage/internal/LinuxAppImageBuilder;
public void prepareApplicationFiles(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: new java.util.HashMap
dup
aload 1
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 2
start local 2 1: aload 0
getfield jdk.incubator.jpackage.internal.LinuxAppImageBuilder.appLayout:Ljdk/incubator/jpackage/internal/ApplicationLayout;
invokevirtual jdk.incubator.jpackage.internal.ApplicationLayout.roots:()Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
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/incubator/jpackage/internal/LinuxAppImageBuilder.lambda$2(Ljava/nio/file/Path;)V (6)
(Ljava/nio/file/Path;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
2: aload 0
aload 1
invokevirtual jdk.incubator.jpackage.internal.LinuxAppImageBuilder.createLauncherForEntryPoint:(Ljava/util/Map;)V
3: aconst_null
astore 3
aconst_null
astore 4
4: aload 0
ldc "libapplauncher.so"
invokevirtual jdk.incubator.jpackage.internal.LinuxAppImageBuilder.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 5
start local 5 5: aload 0
aload 5
aload 0
getfield jdk.incubator.jpackage.internal.LinuxAppImageBuilder.appLayout:Ljdk/incubator/jpackage/internal/ApplicationLayout;
invokevirtual jdk.incubator.jpackage.internal.ApplicationLayout.dllDirectory:()Ljava/nio/file/Path;
ldc "libapplauncher.so"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
invokevirtual jdk.incubator.jpackage.internal.LinuxAppImageBuilder.writeEntry:(Ljava/io/InputStream;Ljava/nio/file/Path;)V
6: aload 5
ifnull 12
aload 5
invokevirtual java.io.InputStream.close:()V
goto 12
StackMap locals: jdk.incubator.jpackage.internal.LinuxAppImageBuilder java.util.Map java.util.Map java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
7: astore 3
aload 5
ifnull 8
aload 5
invokevirtual java.io.InputStream.close:()V
end local 5 StackMap locals:
StackMap stack:
8: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 4
aload 3
ifnonnull 10
aload 4
astore 3
goto 11
StackMap locals:
StackMap stack:
10: aload 3
aload 4
if_acmpeq 11
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 3
athrow
12: StackMap locals:
StackMap stack:
getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.ADD_LAUNCHERS:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.util.List
13: astore 3
start local 3 14: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 19
StackMap locals: jdk.incubator.jpackage.internal.LinuxAppImageBuilder java.util.Map java.util.Map java.util.List top java.util.Iterator
StackMap stack:
15: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map
astore 4
start local 4 16: aload 0
17: aload 2
aload 4
invokestatic jdk.incubator.jpackage.internal.AddLauncherArguments.merge:(Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
18: invokevirtual jdk.incubator.jpackage.internal.LinuxAppImageBuilder.createLauncherForEntryPoint:(Ljava/util/Map;)V
end local 4 19: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
20: aload 0
aload 1
invokevirtual jdk.incubator.jpackage.internal.LinuxAppImageBuilder.copyApplication:(Ljava/util/Map;)V
21: aload 0
aload 1
invokevirtual jdk.incubator.jpackage.internal.LinuxAppImageBuilder.copyIcon:(Ljava/util/Map;)V
22: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljdk/incubator/jpackage/internal/LinuxAppImageBuilder;
0 23 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
1 23 2 originalParams Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
5 8 5 is_lib Ljava/io/InputStream;
14 23 3 entryPoints Ljava/util/List<Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;>;
16 19 4 entryPoint Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
Exception table:
from to target type
5 6 7 any
4 9 9 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
params
public void prepareJreFiles(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/LinuxAppImageBuilder;
0 1 1 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 void createLauncherForEntryPoint(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.jpackage.internal.LinuxAppImageBuilder.appLayout:Ljdk/incubator/jpackage/internal/ApplicationLayout;
invokevirtual jdk.incubator.jpackage.internal.ApplicationLayout.launchersDirectory:()Ljava/nio/file/Path;
aload 1
invokestatic jdk.incubator.jpackage.internal.LinuxAppImageBuilder.getLauncherName:(Ljava/util/Map;)Ljava/lang/String;
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 2
start local 2 1: aconst_null
astore 3
aconst_null
astore 4
2: aload 0
ldc "jpackageapplauncher"
invokevirtual jdk.incubator.jpackage.internal.LinuxAppImageBuilder.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
3: astore 5
start local 5 4: aload 0
aload 5
aload 2
invokevirtual jdk.incubator.jpackage.internal.LinuxAppImageBuilder.writeEntry:(Ljava/io/InputStream;Ljava/nio/file/Path;)V
5: aload 5
ifnull 11
aload 5
invokevirtual java.io.InputStream.close:()V
goto 11
StackMap locals: jdk.incubator.jpackage.internal.LinuxAppImageBuilder java.util.Map java.nio.file.Path java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
6: astore 3
aload 5
ifnull 7
aload 5
invokevirtual java.io.InputStream.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:
aload 2
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
iconst_1
iconst_0
invokevirtual java.io.File.setExecutable:(ZZ)Z
pop
12: aload 2
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
iconst_1
iconst_1
invokevirtual java.io.File.setWritable:(ZZ)Z
pop
13: aload 0
aload 1
aload 0
aload 1
invokevirtual jdk.incubator.jpackage.internal.LinuxAppImageBuilder.getLauncherCfgPath:(Ljava/util/Map;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
invokevirtual jdk.incubator.jpackage.internal.LinuxAppImageBuilder.writeCfgFile:(Ljava/util/Map;Ljava/io/File;)V
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/incubator/jpackage/internal/LinuxAppImageBuilder;
0 15 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
1 15 2 executableFile Ljava/nio/file/Path;
4 7 5 is_launcher Ljava/io/InputStream;
Exception table:
from to target type
4 5 6 any
2 8 8 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
params
private void copyIcon(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: aload 0
getfield jdk.incubator.jpackage.internal.LinuxAppImageBuilder.appLayout:Ljdk/incubator/jpackage/internal/ApplicationLayout;
invokevirtual jdk.incubator.jpackage.internal.ApplicationLayout.destktopIntegrationDirectory:()Ljava/nio/file/Path;
1: new java.lang.StringBuilder
dup
getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: ldc "java32.png"
iconst_0
anewarray java.lang.String
3: invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokestatic jdk.incubator.jpackage.internal.IOUtils.getSuffix:(Ljava/nio/file/Path;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 2
start local 2 5: ldc "java32.png"
aload 1
invokestatic jdk.incubator.jpackage.internal.OverridableResource.createResource:(Ljava/lang/String;Ljava/util/Map;)Ljdk/incubator/jpackage/internal/OverridableResource;
6: ldc "icon"
invokevirtual jdk.incubator.jpackage.internal.OverridableResource.setCategory:(Ljava/lang/String;)Ljdk/incubator/jpackage/internal/OverridableResource;
7: getstatic jdk.incubator.jpackage.internal.LinuxAppImageBuilder.ICON_PNG:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.io.File
invokevirtual jdk.incubator.jpackage.internal.OverridableResource.setExternal:(Ljava/io/File;)Ljdk/incubator/jpackage/internal/OverridableResource;
8: aload 2
invokevirtual jdk.incubator.jpackage.internal.OverridableResource.saveToFile:(Ljava/nio/file/Path;)V
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/incubator/jpackage/internal/LinuxAppImageBuilder;
0 10 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
5 10 2 iconTarget Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
params
private void copyApplication(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.APP_RESOURCES_LIST:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals: jdk.incubator.jpackage.internal.LinuxAppImageBuilder java.util.Map top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.incubator.jpackage.internal.RelativeFileSet
astore 2
start local 2 2: aload 2
ifnonnull 4
3: new java.lang.RuntimeException
dup
ldc "Null app resources?"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: jdk.incubator.jpackage.internal.LinuxAppImageBuilder java.util.Map jdk.incubator.jpackage.internal.RelativeFileSet java.util.Iterator
StackMap stack:
aload 2
invokevirtual jdk.incubator.jpackage.internal.RelativeFileSet.getBaseDirectory:()Ljava/io/File;
astore 4
start local 4 5: aload 2
invokevirtual jdk.incubator.jpackage.internal.RelativeFileSet.getIncludedFiles:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 8
StackMap locals: jdk.incubator.jpackage.internal.LinuxAppImageBuilder java.util.Map jdk.incubator.jpackage.internal.RelativeFileSet java.util.Iterator java.io.File top java.util.Iterator
StackMap stack:
6: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 7: aload 0
aload 0
getfield jdk.incubator.jpackage.internal.LinuxAppImageBuilder.appLayout:Ljdk/incubator/jpackage/internal/ApplicationLayout;
invokevirtual jdk.incubator.jpackage.internal.ApplicationLayout.appDirectory:()Ljava/nio/file/Path;
aload 4
aload 5
invokevirtual jdk.incubator.jpackage.internal.LinuxAppImageBuilder.copyEntry:(Ljava/nio/file/Path;Ljava/io/File;Ljava/lang/String;)V
end local 5 8: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 4 end local 2 9: StackMap locals: jdk.incubator.jpackage.internal.LinuxAppImageBuilder java.util.Map top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/incubator/jpackage/internal/LinuxAppImageBuilder;
0 11 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
2 9 2 appResources Ljdk/incubator/jpackage/internal/RelativeFileSet;
5 9 4 srcdir Ljava/io/File;
7 8 5 fname Ljava/lang/String;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
params
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 7
aload 1
invokevirtual java.io.File.getName:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
ldc ".png"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 7
2: ldc "message.icon-not-png"
3: invokestatic jdk.incubator.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
4: aload 1
aastore
5: 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
6: aconst_null
areturn
7: StackMap locals: java.io.File
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
1 8 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;>;
private static void lambda$2(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokestatic jdk.incubator.jpackage.internal.IOUtils.writableOutputDir:(Ljava/nio/file/Path;)V
1: goto 4
StackMap locals:
StackMap stack: jdk.incubator.jpackage.internal.PackagerException
2: astore 1
start local 1 3: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 dir Ljava/nio/file/Path;
3 4 1 pe Ljdk/incubator/jpackage/internal/PackagerException;
Exception table:
from to target type
0 1 2 Class jdk.incubator.jpackage.internal.PackagerException
}
SourceFile: "LinuxAppImageBuilder.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles