abstract class jdk.incubator.jpackage.internal.LinuxPackageBundler extends jdk.incubator.jpackage.internal.AbstractBundler
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: jdk.incubator.jpackage.internal.LinuxPackageBundler
super_class: jdk.incubator.jpackage.internal.AbstractBundler
{
private final jdk.incubator.jpackage.internal.BundlerParamInfo<java.lang.String> packageName;
descriptor: Ljdk/incubator/jpackage/internal/BundlerParamInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/incubator/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
private boolean withFindNeededPackages;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private jdk.incubator.jpackage.internal.DesktopIntegration desktopIntegration;
descriptor: Ljdk/incubator/jpackage/internal/DesktopIntegration;
flags: (0x0002) ACC_PRIVATE
private static final jdk.incubator.jpackage.internal.BundlerParamInfo<jdk.incubator.jpackage.internal.LinuxAppBundler> APP_BUNDLER;
descriptor: Ljdk/incubator/jpackage/internal/BundlerParamInfo;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljdk/incubator/jpackage/internal/BundlerParamInfo<Ljdk/incubator/jpackage/internal/LinuxAppBundler;>;
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 "linux.app.bundler"
2: ldc Ljdk/incubator/jpackage/internal/LinuxAppBundler;
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/LinuxPackageBundler.lambda$0(Ljava/util/Map;)Ljdk/incubator/jpackage/internal/LinuxAppBundler; (6)
(Ljava/util/Map;)Ljdk/incubator/jpackage/internal/LinuxAppBundler;
4: aconst_null
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.LinuxPackageBundler.APP_BUNDLER:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
7: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.incubator.jpackage.internal.BundlerParamInfo<java.lang.String>);
descriptor: (Ljdk/incubator/jpackage/internal/BundlerParamInfo;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial jdk.incubator.jpackage.internal.AbstractBundler.<init>:()V
1: aload 0
aload 1
putfield jdk.incubator.jpackage.internal.LinuxPackageBundler.packageName:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/jpackage/internal/LinuxPackageBundler;
0 3 1 packageName Ljdk/incubator/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
Signature: (Ljdk/incubator/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
packageName
public final boolean validate(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: getstatic jdk.incubator.jpackage.internal.LinuxPackageBundler.APP_BUNDLER:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast jdk.incubator.jpackage.internal.LinuxAppBundler
aload 1
invokevirtual jdk.incubator.jpackage.internal.LinuxAppBundler.validate:(Ljava/util/Map;)Z
pop
1: getstatic jdk.incubator.jpackage.internal.LinuxAppBundler.LINUX_INSTALL_DIR:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic jdk.incubator.jpackage.internal.LinuxPackageBundler.validateInstallDir:(Ljava/lang/String;)V
2: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.FILE_ASSOCIATIONS:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.util.List
invokestatic jdk.incubator.jpackage.internal.LinuxPackageBundler.validateFileAssociations:(Ljava/util/List;)V
3: aload 0
getfield jdk.incubator.jpackage.internal.LinuxPackageBundler.packageName:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.getStringConverter:()Ljava/util/function/BiFunction;
aload 0
getfield jdk.incubator.jpackage.internal.LinuxPackageBundler.packageName:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
4: aload 1
5: invokeinterface java.util.function.BiFunction.apply:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 0
aload 1
invokevirtual jdk.incubator.jpackage.internal.LinuxPackageBundler.getToolValidators:(Ljava/util/Map;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 11
StackMap locals: jdk.incubator.jpackage.internal.LinuxPackageBundler java.util.Map top java.util.Iterator
StackMap stack:
7: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.incubator.jpackage.internal.ToolValidator
astore 2
start local 2 8: aload 2
invokevirtual jdk.incubator.jpackage.internal.ToolValidator.validate:()Ljdk/incubator/jpackage/internal/ConfigException;
astore 4
start local 4 9: aload 4
ifnull 11
10: aload 4
athrow
end local 4 end local 2 11: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
12: aload 0
invokestatic jdk.incubator.jpackage.internal.LibProvidersLookup.supported:()Z
putfield jdk.incubator.jpackage.internal.LinuxPackageBundler.withFindNeededPackages:Z
13: aload 0
getfield jdk.incubator.jpackage.internal.LinuxPackageBundler.withFindNeededPackages:Z
ifne 23
14: ldc "deb"
aload 0
invokevirtual jdk.incubator.jpackage.internal.LinuxPackageBundler.getID:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
15: ldc "message.deb-ldd-not-available.advice"
astore 2
start local 2 16: goto 18
end local 2 17: StackMap locals: jdk.incubator.jpackage.internal.LinuxPackageBundler java.util.Map
StackMap stack:
ldc "message.rpm-ldd-not-available.advice"
astore 2
start local 2 18: StackMap locals: java.lang.String
StackMap stack:
ldc "%s\n%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
19: ldc "message.ldd-not-available"
20: invokestatic jdk.incubator.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_1
21: aload 2
invokestatic jdk.incubator.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
aastore
22: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.error:(Ljava/lang/String;)V
end local 2 23: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.incubator.jpackage.internal.LinuxPackageBundler.doValidate:(Ljava/util/Map;)V
24: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Ljdk/incubator/jpackage/internal/LinuxPackageBundler;
0 25 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
8 11 2 validator Ljdk/incubator/jpackage/internal/ToolValidator;
9 11 4 ex Ljdk/incubator/jpackage/internal/ConfigException;
16 17 2 advice Ljava/lang/String;
18 23 2 advice Ljava/lang/String;
Exceptions:
throws jdk.incubator.jpackage.internal.ConfigException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Z
MethodParameters:
Name Flags
params
public final java.lang.String getBundleType();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "INSTALLER"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/LinuxPackageBundler;
public final 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: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
invokestatic jdk.incubator.jpackage.internal.IOUtils.writableOutputDir:(Ljava/nio/file/Path;)V
1: aload 0
aload 1
invokevirtual jdk.incubator.jpackage.internal.LinuxPackageBundler.createMetaPackage:(Ljava/util/Map;)Ljdk/incubator/jpackage/internal/PlatformPackage;
astore 3
start local 3 2: aload 0
aload 1
invokedynamic apply(Ljdk/incubator/jpackage/internal/LinuxPackageBundler;Ljava/util/Map;)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/LinuxPackageBundler.lambda$1(Ljava/util/Map;Ljava/io/File;)Ljdk/incubator/jpackage/internal/ApplicationLayout; (7)
(Ljava/io/File;)Ljdk/incubator/jpackage/internal/ApplicationLayout;
astore 4
start local 4 3: aload 1
invokestatic jdk.incubator.jpackage.internal.StandardBundlerParam.getPredefinedAppImage:(Ljava/util/Map;)Ljava/io/File;
astore 5
start local 5 4: aload 5
ifnull 9
5: aload 4
aload 5
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.incubator.jpackage.internal.ApplicationLayout
6: aload 3
invokeinterface jdk.incubator.jpackage.internal.PlatformPackage.sourceApplicationLayout:()Ljdk/incubator/jpackage/internal/ApplicationLayout;
7: invokevirtual jdk.incubator.jpackage.internal.ApplicationLayout.copy:(Ljdk/incubator/jpackage/internal/PathGroup$Facade;)V
8: goto 21
9: StackMap locals: jdk.incubator.jpackage.internal.PlatformPackage java.util.function.Function java.io.File
StackMap stack:
getstatic jdk.incubator.jpackage.internal.LinuxPackageBundler.APP_BUNDLER:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast jdk.incubator.jpackage.internal.LinuxAppBundler
aload 1
10: aload 3
invokeinterface jdk.incubator.jpackage.internal.PlatformPackage.sourceRoot:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
iconst_1
11: invokevirtual jdk.incubator.jpackage.internal.LinuxAppBundler.doBundle:(Ljava/util/Map;Ljava/io/File;Z)Ljava/io/File;
astore 5
12: aload 4
13: aload 5
14: invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.incubator.jpackage.internal.ApplicationLayout
astore 6
start local 6 15: aload 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;
invokevirtual java.io.File.equals:(Ljava/lang/Object;)Z
ifeq 18
16: aload 6
aload 3
invokeinterface jdk.incubator.jpackage.internal.PlatformPackage.sourceApplicationLayout:()Ljdk/incubator/jpackage/internal/ApplicationLayout;
invokevirtual jdk.incubator.jpackage.internal.ApplicationLayout.copy:(Ljdk/incubator/jpackage/internal/PathGroup$Facade;)V
17: goto 21
18: StackMap locals: jdk.incubator.jpackage.internal.ApplicationLayout
StackMap stack:
aload 6
aload 3
invokeinterface jdk.incubator.jpackage.internal.PlatformPackage.sourceApplicationLayout:()Ljdk/incubator/jpackage/internal/ApplicationLayout;
invokevirtual jdk.incubator.jpackage.internal.ApplicationLayout.move:(Ljdk/incubator/jpackage/internal/PathGroup$Facade;)V
19: aload 5
invokevirtual java.io.File.exists:()Z
ifeq 21
20: aload 5
invokevirtual java.io.File.delete:()Z
pop
end local 6 21: StackMap locals:
StackMap stack:
aload 1
invokestatic jdk.incubator.jpackage.internal.StandardBundlerParam.isRuntimeInstaller:(Ljava/util/Map;)Z
ifne 24
22: aload 0
new jdk.incubator.jpackage.internal.DesktopIntegration
dup
aload 3
aload 1
invokespecial jdk.incubator.jpackage.internal.DesktopIntegration.<init>:(Ljdk/incubator/jpackage/internal/PlatformPackage;Ljava/util/Map;)V
putfield jdk.incubator.jpackage.internal.LinuxPackageBundler.desktopIntegration:Ljdk/incubator/jpackage/internal/DesktopIntegration;
23: goto 25
24: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield jdk.incubator.jpackage.internal.LinuxPackageBundler.desktopIntegration:Ljdk/incubator/jpackage/internal/DesktopIntegration;
25: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.incubator.jpackage.internal.LinuxPackageBundler.createDefaultReplacementData:(Ljava/util/Map;)Ljava/util/Map;
astore 6
start local 6 26: aload 0
getfield jdk.incubator.jpackage.internal.LinuxPackageBundler.desktopIntegration:Ljdk/incubator/jpackage/internal/DesktopIntegration;
ifnull 29
27: aload 6
aload 0
getfield jdk.incubator.jpackage.internal.LinuxPackageBundler.desktopIntegration:Ljdk/incubator/jpackage/internal/DesktopIntegration;
invokevirtual jdk.incubator.jpackage.internal.DesktopIntegration.create:()Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
28: goto 33
29: StackMap locals: java.util.Map
StackMap stack:
iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "DESKTOP_COMMANDS_INSTALL"
aastore
dup
iconst_1
ldc "DESKTOP_COMMANDS_UNINSTALL"
aastore
dup
iconst_2
30: ldc "UTILITY_SCRIPTS"
aastore
31: invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
32: aload 6
invokedynamic accept(Ljava/util/Map;)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/LinuxPackageBundler.lambda$2(Ljava/util/Map;Ljava/lang/String;)V (6)
(Ljava/lang/String;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
33: StackMap locals:
StackMap stack:
aload 6
aload 0
aload 1
invokevirtual jdk.incubator.jpackage.internal.LinuxPackageBundler.createReplacementData:(Ljava/util/Map;)Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
34: aload 0
35: aload 6
36: invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
37: aload 1
aload 2
38: invokevirtual jdk.incubator.jpackage.internal.LinuxPackageBundler.buildPackageBundle:(Ljava/util/Map;Ljava/util/Map;Ljava/io/File;)Ljava/io/File;
astore 7
start local 7 39: aload 0
aload 1
aload 7
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
invokevirtual jdk.incubator.jpackage.internal.LinuxPackageBundler.verifyOutputBundle:(Ljava/util/Map;Ljava/nio/file/Path;)Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
40: invokedynamic test()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
java/util/Objects.nonNull(Ljava/lang/Object;)Z (6)
(Ljdk/incubator/jpackage/internal/ConfigException;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
41: 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/LinuxPackageBundler.lambda$4(Ljdk/incubator/jpackage/internal/ConfigException;)V (6)
(Ljdk/incubator/jpackage/internal/ConfigException;)V
invokeinterface java.util.stream.Stream.forEachOrdered:(Ljava/util/function/Consumer;)V
42: aload 7
43: areturn
end local 7 end local 6 end local 5 44: StackMap locals: jdk.incubator.jpackage.internal.LinuxPackageBundler java.util.Map java.io.File jdk.incubator.jpackage.internal.PlatformPackage java.util.function.Function
StackMap stack: java.io.IOException
astore 5
start local 5 45: aload 5
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
46: new jdk.incubator.jpackage.internal.PackagerException
dup
aload 5
invokespecial jdk.incubator.jpackage.internal.PackagerException.<init>:(Ljava/lang/Throwable;)V
athrow
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 47 0 this Ljdk/incubator/jpackage/internal/LinuxPackageBundler;
0 47 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
0 47 2 outputParentDir Ljava/io/File;
2 47 3 thePackage Ljdk/incubator/jpackage/internal/PlatformPackage;
3 47 4 initAppImageLayout Ljava/util/function/Function<Ljava/io/File;Ljdk/incubator/jpackage/internal/ApplicationLayout;>;
4 44 5 appImage Ljava/io/File;
15 21 6 srcAppLayout Ljdk/incubator/jpackage/internal/ApplicationLayout;
26 44 6 data Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
39 44 7 packageBundle Ljava/io/File;
45 47 5 ex Ljava/io/IOException;
Exception table:
from to target type
3 43 44 Class java.io.IOException
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
private java.util.List<java.lang.String> getListOfNeededPackages(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.incubator.jpackage.internal.LinuxPackageBundler.createMetaPackage:(Ljava/util/Map;)Ljdk/incubator/jpackage/internal/PlatformPackage;
astore 2
start local 2 1: aload 0
getfield jdk.incubator.jpackage.internal.LinuxPackageBundler.desktopIntegration:Ljdk/incubator/jpackage/internal/DesktopIntegration;
ifnull 4
2: aload 0
getfield jdk.incubator.jpackage.internal.LinuxPackageBundler.desktopIntegration:Ljdk/incubator/jpackage/internal/DesktopIntegration;
invokevirtual jdk.incubator.jpackage.internal.DesktopIntegration.requiredPackages:()Ljava/util/List;
astore 3
start local 3 3: goto 5
end local 3 4: StackMap locals: jdk.incubator.jpackage.internal.PlatformPackage
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
astore 3
start local 3 5: StackMap locals: java.util.List
StackMap stack:
aload 0
getfield jdk.incubator.jpackage.internal.LinuxPackageBundler.withFindNeededPackages:Z
ifeq 10
6: new jdk.incubator.jpackage.internal.LibProvidersLookup
dup
invokespecial jdk.incubator.jpackage.internal.LibProvidersLookup.<init>:()V
astore 5
start local 5 7: aload 0
aload 1
aload 5
invokevirtual jdk.incubator.jpackage.internal.LinuxPackageBundler.initLibProvidersLookup:(Ljava/util/Map;Ljdk/incubator/jpackage/internal/LibProvidersLookup;)V
8: aload 5
aload 2
invokeinterface jdk.incubator.jpackage.internal.PlatformPackage.sourceRoot:()Ljava/nio/file/Path;
invokevirtual jdk.incubator.jpackage.internal.LibProvidersLookup.execute:(Ljava/nio/file/Path;)Ljava/util/List;
astore 4
end local 5 start local 4 9: goto 11
end local 4 10: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
astore 4
start local 4 11: StackMap locals: java.util.List
StackMap stack:
iconst_2
anewarray java.util.List
dup
iconst_0
aload 3
aastore
dup
iconst_1
aload 4
aastore
invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
12: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
java/util/Collection.stream()Ljava/util/stream/Stream; (9 itf)
(Ljava/util/List;)Ljava/util/stream/Stream;
13: invokeinterface java.util.stream.Stream.flatMap:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
14: invokedynamic test()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
java/lang/String.isEmpty()Z (5)
(Ljava/lang/String;)Z
invokestatic java.util.function.Predicate.not:(Ljava/util/function/Predicate;)Ljava/util/function/Predicate;
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.sorted:()Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.distinct:()Ljava/util/stream/Stream;
15: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
16: invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
17: astore 5
start local 5 18: ldc "Required packages: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
19: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljdk/incubator/jpackage/internal/LinuxPackageBundler;
0 20 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
1 20 2 thePackage Ljdk/incubator/jpackage/internal/PlatformPackage;
3 4 3 xdgUtilsPackage Ljava/util/List<Ljava/lang/String;>;
5 20 3 xdgUtilsPackage Ljava/util/List<Ljava/lang/String;>;
9 10 4 neededLibPackages Ljava/util/List<Ljava/lang/String;>;
11 20 4 neededLibPackages Ljava/util/List<Ljava/lang/String;>;
7 9 5 lookup Ljdk/incubator/jpackage/internal/LibProvidersLookup;
18 20 5 result Ljava/util/List<Ljava/lang/String;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
params
private java.util.Map<java.lang.String, java.lang.String> createDefaultReplacementData(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 1: aload 2
ldc "APPLICATION_PACKAGE"
aload 0
aload 1
invokevirtual jdk.incubator.jpackage.internal.LinuxPackageBundler.createMetaPackage:(Ljava/util/Map;)Ljdk/incubator/jpackage/internal/PlatformPackage;
invokeinterface jdk.incubator.jpackage.internal.PlatformPackage.name:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
ldc "APPLICATION_VENDOR"
getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.VENDOR:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.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
3: aload 2
ldc "APPLICATION_VERSION"
getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.VERSION:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.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
4: aload 2
ldc "APPLICATION_DESCRIPTION"
getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.DESCRIPTION:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.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
5: aload 2
ldc "APPLICATION_RELEASE"
getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.RELEASE:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.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
6: ldc ", "
aload 0
aload 1
invokevirtual jdk.incubator.jpackage.internal.LinuxPackageBundler.getListOfNeededPackages:(Ljava/util/Map;)Ljava/util/List;
invokestatic java.lang.String.join:(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;
astore 3
start local 3 7: getstatic jdk.incubator.jpackage.internal.LinuxAppBundler.LINUX_PACKAGE_DEPENDENCIES:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.strip:()Ljava/lang/String;
astore 4
start local 4 8: aload 4
invokevirtual java.lang.String.isEmpty:()Z
ifne 10
aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifne 10
9: new java.lang.StringBuilder
dup
ldc ", "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
10: StackMap locals: java.util.Map java.lang.String java.lang.String
StackMap stack:
aload 2
ldc "PACKAGE_DEFAULT_DEPENDENCIES"
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: aload 2
ldc "PACKAGE_CUSTOM_DEPENDENCIES"
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/incubator/jpackage/internal/LinuxPackageBundler;
0 13 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
1 13 2 data Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
7 13 3 defaultDeps Ljava/lang/String;
8 13 4 customDeps Ljava/lang/String;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
params
protected abstract java.util.List<jdk.incubator.jpackage.internal.ConfigException> verifyOutputBundle(java.util.Map<java.lang.String, ? super java.lang.Object>, java.nio.file.Path);
descriptor: (Ljava/util/Map;Ljava/nio/file/Path;)Ljava/util/List;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/nio/file/Path;)Ljava/util/List<Ljdk/incubator/jpackage/internal/ConfigException;>;
MethodParameters:
Name Flags
params
packageBundle
protected abstract void initLibProvidersLookup(java.util.Map<java.lang.String, ? super java.lang.Object>, jdk.incubator.jpackage.internal.LibProvidersLookup);
descriptor: (Ljava/util/Map;Ljdk/incubator/jpackage/internal/LibProvidersLookup;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljdk/incubator/jpackage/internal/LibProvidersLookup;)V
MethodParameters:
Name Flags
params
libProvidersLookup
protected abstract java.util.List<jdk.incubator.jpackage.internal.ToolValidator> getToolValidators(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljava/util/List;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljava/util/List<Ljdk/incubator/jpackage/internal/ToolValidator;>;
MethodParameters:
Name Flags
params
protected abstract void doValidate(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws jdk.incubator.jpackage.internal.ConfigException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
params
protected abstract java.util.Map<java.lang.String, java.lang.String> createReplacementData(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljava/util/Map;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
params
protected abstract java.io.File buildPackageBundle(java.util.Map<java.lang.String, java.lang.String>, java.util.Map<java.lang.String, ? super java.lang.Object>, java.io.File);
descriptor: (Ljava/util/Map;Ljava/util/Map;Ljava/io/File;)Ljava/io/File;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws jdk.incubator.jpackage.internal.PackagerException, java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/io/File;)Ljava/io/File;
MethodParameters:
Name Flags
replacementData
params
outputParentDir
protected final jdk.incubator.jpackage.internal.PlatformPackage createMetaPackage(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljdk/incubator/jpackage/internal/PlatformPackage;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new jdk.incubator.jpackage.internal.LinuxPackageBundler$1
dup
aload 0
aload 1
invokespecial jdk.incubator.jpackage.internal.LinuxPackageBundler$1.<init>:(Ljdk/incubator/jpackage/internal/LinuxPackageBundler;Ljava/util/Map;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/LinuxPackageBundler;
0 1 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljdk/incubator/jpackage/internal/PlatformPackage;
MethodParameters:
Name Flags
params
private jdk.incubator.jpackage.internal.ApplicationLayout appImageLayout(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljdk/incubator/jpackage/internal/ApplicationLayout;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.incubator.jpackage.internal.StandardBundlerParam.isRuntimeInstaller:(Ljava/util/Map;)Z
ifeq 2
1: invokestatic jdk.incubator.jpackage.internal.ApplicationLayout.javaRuntime:()Ljdk/incubator/jpackage/internal/ApplicationLayout;
areturn
2: StackMap locals:
StackMap stack:
invokestatic jdk.incubator.jpackage.internal.ApplicationLayout.linuxAppImage:()Ljdk/incubator/jpackage/internal/ApplicationLayout;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/jpackage/internal/LinuxPackageBundler;
0 3 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljdk/incubator/jpackage/internal/ApplicationLayout;
MethodParameters:
Name Flags
params
private static void validateInstallDir(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: aload 0
ldc "/usr/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 1
aload 0
ldc "/usr"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
1: StackMap locals:
StackMap stack:
new jdk.incubator.jpackage.internal.ConfigException
dup
2: ldc "error.unsupported-install-dir"
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 0
aastore
5: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
6: aconst_null
7: invokespecial jdk.incubator.jpackage.internal.ConfigException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifeq 16
9: new jdk.incubator.jpackage.internal.ConfigException
dup
10: ldc "error.invalid-install-dir"
11: invokestatic jdk.incubator.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
12: ldc "/"
aastore
13: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
14: aconst_null
15: invokespecial jdk.incubator.jpackage.internal.ConfigException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 17: aload 0
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 2
start local 2 18: aload 2
invokeinterface java.nio.file.Path.isAbsolute:()Z
istore 1
19: iload 1
ifeq 26
aload 2
invokeinterface java.nio.file.Path.normalize:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
20: aload 2
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
21: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
22: ifne 26
23: iconst_0
istore 1
end local 2 24: goto 26
StackMap locals: java.lang.String int
StackMap stack: java.nio.file.InvalidPathException
25: pop
26: StackMap locals:
StackMap stack:
iload 1
ifne 34
27: new jdk.incubator.jpackage.internal.ConfigException
dup
28: ldc "error.invalid-install-dir"
29: invokestatic jdk.incubator.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
30: aload 0
aastore
31: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
32: aconst_null
33: invokespecial jdk.incubator.jpackage.internal.ConfigException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
athrow
34: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 installDir Ljava/lang/String;
17 35 1 valid Z
18 24 2 installDirPath Ljava/nio/file/Path;
Exception table:
from to target type
17 24 25 Class java.nio.file.InvalidPathException
Exceptions:
throws jdk.incubator.jpackage.internal.ConfigException
MethodParameters:
Name Flags
installDir
private static void validateFileAssociations(java.util.List<java.util.Map<java.lang.String, ? super java.lang.Object>>);
descriptor: (Ljava/util/List;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=6, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 17
StackMap locals: java.util.List int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map
astore 2
start local 2 3: iinc 1 1
4: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.FA_CONTENT_TYPE:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 2
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.util.List
astore 4
start local 4 5: aload 4
ifnull 6
aload 4
invokeinterface java.util.List.isEmpty:()Z
ifeq 11
6: StackMap locals: java.util.List int java.util.Map java.util.Iterator java.util.List
StackMap stack:
ldc "error.no-content-types-for-file-association"
astore 5
start local 5 7: new jdk.incubator.jpackage.internal.ConfigException
dup
8: aload 5
invokestatic jdk.incubator.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
9: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".advise"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
10: invokespecial jdk.incubator.jpackage.internal.ConfigException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
athrow
end local 5 11: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 17
12: ldc "error.too-many-content-types-for-file-association"
astore 5
start local 5 13: new jdk.incubator.jpackage.internal.ConfigException
dup
14: aload 5
invokestatic jdk.incubator.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
15: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".advise"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
16: invokespecial jdk.incubator.jpackage.internal.ConfigException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
athrow
end local 5 end local 4 end local 2 17: StackMap locals: java.util.List int top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
18: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 associations Ljava/util/List<Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;>;
1 19 1 assocIdx I
3 17 2 assoc Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
5 17 4 mimes Ljava/util/List<Ljava/lang/String;>;
7 11 5 msgKey Ljava/lang/String;
13 17 5 msgKey Ljava/lang/String;
Exceptions:
throws jdk.incubator.jpackage.internal.ConfigException
Signature: (Ljava/util/List<Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;>;)V
MethodParameters:
Name Flags
associations
private static jdk.incubator.jpackage.internal.LinuxAppBundler lambda$0(java.util.Map);
descriptor: (Ljava/util/Map;)Ljdk/incubator/jpackage/internal/LinuxAppBundler;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new jdk.incubator.jpackage.internal.LinuxAppBundler
dup
invokespecial jdk.incubator.jpackage.internal.LinuxAppBundler.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
private jdk.incubator.jpackage.internal.ApplicationLayout lambda$1(java.util.Map, java.io.File);
descriptor: (Ljava/util/Map;Ljava/io/File;)Ljdk/incubator/jpackage/internal/ApplicationLayout;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 2 0: aload 0
aload 1
invokevirtual jdk.incubator.jpackage.internal.LinuxPackageBundler.appImageLayout:(Ljava/util/Map;)Ljdk/incubator/jpackage/internal/ApplicationLayout;
astore 3
start local 3 1: aload 3
invokevirtual jdk.incubator.jpackage.internal.ApplicationLayout.pathGroup:()Ljdk/incubator/jpackage/internal/PathGroup;
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
2: ldc ""
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokestatic jdk.incubator.jpackage.internal.AppImageFile.getPathInAppImage:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
3: invokevirtual jdk.incubator.jpackage.internal.PathGroup.setPath:(Ljava/lang/Object;Ljava/nio/file/Path;)V
4: aload 3
aload 2
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
invokevirtual jdk.incubator.jpackage.internal.ApplicationLayout.resolveAt:(Ljava/nio/file/Path;)Ljdk/incubator/jpackage/internal/ApplicationLayout;
areturn
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/incubator/jpackage/internal/LinuxPackageBundler;
0 5 2 imageRoot Ljava/io/File;
1 5 3 layout Ljdk/incubator/jpackage/internal/ApplicationLayout;
private static void lambda$2(java.util.Map, java.lang.String);
descriptor: (Ljava/util/Map;Ljava/lang/String;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 0
aload 1
ldc ""
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 v Ljava/lang/String;
private static void lambda$4(jdk.incubator.jpackage.internal.ConfigException);
descriptor: (Ljdk/incubator/jpackage/internal/ConfigException;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.incubator.jpackage.internal.ConfigException.getLocalizedMessage:()Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
1: aload 0
invokevirtual jdk.incubator.jpackage.internal.ConfigException.getAdvice:()Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ex Ljdk/incubator/jpackage/internal/ConfigException;
}
SourceFile: "LinuxPackageBundler.java"
NestMembers:
jdk.incubator.jpackage.internal.LinuxPackageBundler$1
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
jdk.incubator.jpackage.internal.LinuxPackageBundler$1
abstract Facade = jdk.incubator.jpackage.internal.PathGroup$Facade of jdk.incubator.jpackage.internal.PathGroup