abstract class jdk.jpackage.internal.LinuxPackageBundler extends jdk.jpackage.internal.AbstractBundler
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: jdk.jpackage.internal.LinuxPackageBundler
super_class: jdk.jpackage.internal.AbstractBundler
{
private final jdk.jpackage.internal.BundlerParamInfo<java.lang.String> packageName;
descriptor: Ljdk/jpackage/internal/BundlerParamInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
private final jdk.jpackage.internal.Bundler appImageBundler;
descriptor: Ljdk/jpackage/internal/Bundler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean withFindNeededPackages;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private jdk.jpackage.internal.DesktopIntegration desktopIntegration;
descriptor: Ljdk/jpackage/internal/DesktopIntegration;
flags: (0x0002) ACC_PRIVATE
private static final jdk.jpackage.internal.BundlerParamInfo<java.lang.String> LINUX_PACKAGE_DEPENDENCIES;
descriptor: Ljdk/jpackage/internal/BundlerParamInfo;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljdk/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
static final jdk.jpackage.internal.BundlerParamInfo<java.lang.String> LINUX_INSTALL_DIR;
descriptor: Ljdk/jpackage/internal/BundlerParamInfo;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljdk/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new jdk.jpackage.internal.StandardBundlerParam
dup
1: getstatic jdk.jpackage.internal.Arguments$CLIOptions.LINUX_PACKAGE_DEPENDENCIES:Ljdk/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
2: ldc Ljava/lang/String;
3: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/jpackage/internal/LinuxPackageBundler.lambda$2(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
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/jpackage/internal/LinuxPackageBundler.lambda$3(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
5: invokespecial jdk.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
6: putstatic jdk.jpackage.internal.LinuxPackageBundler.LINUX_PACKAGE_DEPENDENCIES:Ljdk/jpackage/internal/BundlerParamInfo;
7: new jdk.jpackage.internal.StandardBundlerParam
dup
8: ldc "linux-install-dir"
9: ldc Ljava/lang/String;
10: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/jpackage/internal/LinuxPackageBundler.lambda$0(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
11: 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/LinuxPackageBundler.lambda$1(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
12: invokespecial jdk.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
13: putstatic jdk.jpackage.internal.LinuxPackageBundler.LINUX_INSTALL_DIR:Ljdk/jpackage/internal/BundlerParamInfo;
14: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.jpackage.internal.BundlerParamInfo<java.lang.String>);
descriptor: (Ljdk/jpackage/internal/BundlerParamInfo;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial jdk.jpackage.internal.AbstractBundler.<init>:()V
1: aload 0
aload 1
putfield jdk.jpackage.internal.LinuxPackageBundler.packageName:Ljdk/jpackage/internal/BundlerParamInfo;
2: aload 0
new jdk.jpackage.internal.LinuxAppBundler
dup
invokespecial jdk.jpackage.internal.LinuxAppBundler.<init>:()V
iconst_1
invokevirtual jdk.jpackage.internal.LinuxAppBundler.setDependentTask:(Z)Ljdk/jpackage/internal/AppImageBundler;
putfield jdk.jpackage.internal.LinuxPackageBundler.appImageBundler:Ljdk/jpackage/internal/Bundler;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jpackage/internal/LinuxPackageBundler;
0 4 1 packageName Ljdk/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
Signature: (Ljdk/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: aload 0
getfield jdk.jpackage.internal.LinuxPackageBundler.appImageBundler:Ljdk/jpackage/internal/Bundler;
aload 1
invokeinterface jdk.jpackage.internal.Bundler.validate:(Ljava/util/Map;)Z
pop
1: getstatic jdk.jpackage.internal.LinuxPackageBundler.LINUX_INSTALL_DIR:Ljdk/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic jdk.jpackage.internal.LinuxPackageBundler.validateInstallDir:(Ljava/lang/String;)V
2: aload 1
invokestatic jdk.jpackage.internal.FileAssociation.fetchFrom:(Ljava/util/Map;)Ljava/util/List;
invokestatic jdk.jpackage.internal.FileAssociation.verify:(Ljava/util/List;)V
3: aload 0
getfield jdk.jpackage.internal.LinuxPackageBundler.packageName:Ljdk/jpackage/internal/BundlerParamInfo;
invokevirtual jdk.jpackage.internal.BundlerParamInfo.getStringConverter:()Ljava/util/function/BiFunction;
aload 0
getfield jdk.jpackage.internal.LinuxPackageBundler.packageName:Ljdk/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.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.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.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.jpackage.internal.ToolValidator
astore 2
start local 2 8: aload 2
invokevirtual jdk.jpackage.internal.ToolValidator.validate:()Ljdk/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
invokevirtual jdk.jpackage.internal.LinuxPackageBundler.isDefault:()Z
ifne 19
13: aload 0
iconst_0
putfield jdk.jpackage.internal.LinuxPackageBundler.withFindNeededPackages:Z
14: ldc "message.not-default-bundler-no-dependencies-lookup"
15: invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
16: aload 0
invokevirtual jdk.jpackage.internal.LinuxPackageBundler.getName:()Ljava/lang/String;
aastore
17: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
18: goto 30
19: StackMap locals: jdk.jpackage.internal.LinuxPackageBundler java.util.Map
StackMap stack:
aload 0
invokestatic jdk.jpackage.internal.LibProvidersLookup.supported:()Z
putfield jdk.jpackage.internal.LinuxPackageBundler.withFindNeededPackages:Z
20: aload 0
getfield jdk.jpackage.internal.LinuxPackageBundler.withFindNeededPackages:Z
ifne 30
21: ldc "deb"
aload 0
invokevirtual jdk.jpackage.internal.LinuxPackageBundler.getID:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
22: ldc "message.deb-ldd-not-available.advice"
astore 2
start local 2 23: goto 25
end local 2 24: StackMap locals:
StackMap stack:
ldc "message.rpm-ldd-not-available.advice"
astore 2
start local 2 25: StackMap locals: java.lang.String
StackMap stack:
ldc "%s\n%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
26: ldc "message.ldd-not-available"
27: invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_1
28: aload 2
invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
aastore
29: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.jpackage.internal.Log.error:(Ljava/lang/String;)V
end local 2 30: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.jpackage.internal.LinuxPackageBundler.doValidate:(Ljava/util/Map;)V
31: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Ljdk/jpackage/internal/LinuxPackageBundler;
0 32 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
8 11 2 validator Ljdk/jpackage/internal/ToolValidator;
9 11 4 ex Ljdk/jpackage/internal/ConfigException;
23 24 2 advice Ljava/lang/String;
25 30 2 advice Ljava/lang/String;
Exceptions:
throws jdk.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/jpackage/internal/LinuxPackageBundler;
public final java.nio.file.Path execute(java.util.Map<java.lang.String, ? super java.lang.Object>, java.nio.file.Path);
descriptor: (Ljava/util/Map;Ljava/nio/file/Path;)Ljava/nio/file/Path;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic jdk.jpackage.internal.IOUtils.writableOutputDir:(Ljava/nio/file/Path;)V
1: aload 0
aload 1
invokevirtual jdk.jpackage.internal.LinuxPackageBundler.createMetaPackage:(Ljava/util/Map;)Ljdk/jpackage/internal/PlatformPackage;
astore 3
start local 3 2: aload 0
aload 1
invokedynamic apply(Ljdk/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/jpackage/internal/LinuxPackageBundler.lambda$4(Ljava/util/Map;Ljava/nio/file/Path;)Ljdk/jpackage/internal/ApplicationLayout; (7)
(Ljava/nio/file/Path;)Ljdk/jpackage/internal/ApplicationLayout;
astore 4
start local 4 3: aload 1
invokestatic jdk.jpackage.internal.StandardBundlerParam.getPredefinedAppImage:(Ljava/util/Map;)Ljava/nio/file/Path;
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.jpackage.internal.ApplicationLayout
6: aload 3
invokeinterface jdk.jpackage.internal.PlatformPackage.sourceApplicationLayout:()Ljdk/jpackage/internal/ApplicationLayout;
7: invokevirtual jdk.jpackage.internal.ApplicationLayout.copy:(Ljdk/jpackage/internal/PathGroup$Facade;)V
8: goto 19
9: StackMap locals: jdk.jpackage.internal.PlatformPackage java.util.function.Function java.nio.file.Path
StackMap stack:
aload 3
invokeinterface jdk.jpackage.internal.PlatformPackage.sourceRoot:()Ljava/nio/file/Path;
ldc "src"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 6
start local 6 10: aload 0
getfield jdk.jpackage.internal.LinuxPackageBundler.appImageBundler:Ljdk/jpackage/internal/Bundler;
aload 1
aload 6
invokeinterface jdk.jpackage.internal.Bundler.execute:(Ljava/util/Map;Ljava/nio/file/Path;)Ljava/nio/file/Path;
astore 5
11: aload 4
12: aload 5
13: invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jpackage.internal.ApplicationLayout
astore 7
start local 7 14: aload 5
getstatic jdk.jpackage.internal.StandardBundlerParam.PREDEFINED_RUNTIME_IMAGE:Ljdk/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
invokeinterface java.nio.file.Path.equals:(Ljava/lang/Object;)Z
ifeq 17
15: aload 7
aload 3
invokeinterface jdk.jpackage.internal.PlatformPackage.sourceApplicationLayout:()Ljdk/jpackage/internal/ApplicationLayout;
invokevirtual jdk.jpackage.internal.ApplicationLayout.copy:(Ljdk/jpackage/internal/PathGroup$Facade;)V
16: goto 19
17: StackMap locals: java.nio.file.Path jdk.jpackage.internal.ApplicationLayout
StackMap stack:
aload 7
aload 3
invokeinterface jdk.jpackage.internal.PlatformPackage.sourceApplicationLayout:()Ljdk/jpackage/internal/ApplicationLayout;
invokevirtual jdk.jpackage.internal.ApplicationLayout.move:(Ljdk/jpackage/internal/PathGroup$Facade;)V
18: aload 6
invokestatic jdk.jpackage.internal.IOUtils.deleteRecursive:(Ljava/nio/file/Path;)V
end local 7 end local 6 19: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 1
invokestatic jdk.jpackage.internal.DesktopIntegration.create:(Ljdk/jpackage/internal/PlatformPackage;Ljava/util/Map;)Ljdk/jpackage/internal/DesktopIntegration;
putfield jdk.jpackage.internal.LinuxPackageBundler.desktopIntegration:Ljdk/jpackage/internal/DesktopIntegration;
20: aload 0
aload 1
invokevirtual jdk.jpackage.internal.LinuxPackageBundler.createDefaultReplacementData:(Ljava/util/Map;)Ljava/util/Map;
astore 6
start local 6 21: aload 0
getfield jdk.jpackage.internal.LinuxPackageBundler.desktopIntegration:Ljdk/jpackage/internal/DesktopIntegration;
ifnull 24
22: aload 6
aload 0
getfield jdk.jpackage.internal.LinuxPackageBundler.desktopIntegration:Ljdk/jpackage/internal/DesktopIntegration;
invokevirtual jdk.jpackage.internal.DesktopIntegration.create:()Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
23: goto 28
24: 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
25: ldc "UTILITY_SCRIPTS"
aastore
26: invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
27: 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/jpackage/internal/LinuxPackageBundler.lambda$5(Ljava/util/Map;Ljava/lang/String;)V (6)
(Ljava/lang/String;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
28: StackMap locals:
StackMap stack:
aload 6
aload 0
aload 1
invokevirtual jdk.jpackage.internal.LinuxPackageBundler.createReplacementData:(Ljava/util/Map;)Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
29: aload 0
30: aload 6
31: invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
32: aload 1
aload 2
33: invokevirtual jdk.jpackage.internal.LinuxPackageBundler.buildPackageBundle:(Ljava/util/Map;Ljava/util/Map;Ljava/nio/file/Path;)Ljava/nio/file/Path;
astore 7
start local 7 34: aload 0
aload 1
aload 7
invokevirtual jdk.jpackage.internal.LinuxPackageBundler.verifyOutputBundle:(Ljava/util/Map;Ljava/nio/file/Path;)Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
35: 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/jpackage/internal/ConfigException;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
36: 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/LinuxPackageBundler.lambda$7(Ljdk/jpackage/internal/ConfigException;)V (6)
(Ljdk/jpackage/internal/ConfigException;)V
invokeinterface java.util.stream.Stream.forEachOrdered:(Ljava/util/function/Consumer;)V
37: aload 7
38: areturn
end local 7 end local 6 end local 5 39: StackMap locals: jdk.jpackage.internal.LinuxPackageBundler java.util.Map java.nio.file.Path jdk.jpackage.internal.PlatformPackage java.util.function.Function
StackMap stack: java.io.IOException
astore 5
start local 5 40: aload 5
invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
41: new jdk.jpackage.internal.PackagerException
dup
aload 5
invokespecial jdk.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 42 0 this Ljdk/jpackage/internal/LinuxPackageBundler;
0 42 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
0 42 2 outputParentDir Ljava/nio/file/Path;
2 42 3 thePackage Ljdk/jpackage/internal/PlatformPackage;
3 42 4 initAppImageLayout Ljava/util/function/Function<Ljava/nio/file/Path;Ljdk/jpackage/internal/ApplicationLayout;>;
4 39 5 appImage Ljava/nio/file/Path;
10 19 6 srcAppImageRoot Ljava/nio/file/Path;
14 19 7 srcAppLayout Ljdk/jpackage/internal/ApplicationLayout;
21 39 6 data Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
34 39 7 packageBundle Ljava/nio/file/Path;
40 42 5 ex Ljava/io/IOException;
Exception table:
from to target type
3 38 39 Class java.io.IOException
Exceptions:
throws jdk.jpackage.internal.PackagerException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/nio/file/Path;)Ljava/nio/file/Path;
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.jpackage.internal.LinuxPackageBundler.createMetaPackage:(Ljava/util/Map;)Ljdk/jpackage/internal/PlatformPackage;
astore 2
start local 2 1: aload 0
getfield jdk.jpackage.internal.LinuxPackageBundler.desktopIntegration:Ljdk/jpackage/internal/DesktopIntegration;
ifnull 4
2: aload 0
getfield jdk.jpackage.internal.LinuxPackageBundler.desktopIntegration:Ljdk/jpackage/internal/DesktopIntegration;
invokevirtual jdk.jpackage.internal.DesktopIntegration.requiredPackages:()Ljava/util/List;
astore 3
start local 3 3: goto 5
end local 3 4: StackMap locals: jdk.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.jpackage.internal.LinuxPackageBundler.withFindNeededPackages:Z
ifeq 10
aload 2
invokeinterface jdk.jpackage.internal.PlatformPackage.sourceRoot:()Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 10
6: new jdk.jpackage.internal.LibProvidersLookup
dup
invokespecial jdk.jpackage.internal.LibProvidersLookup.<init>:()V
astore 5
start local 5 7: aload 0
aload 1
aload 5
invokevirtual jdk.jpackage.internal.LinuxPackageBundler.initLibProvidersLookup:(Ljava/util/Map;Ljdk/jpackage/internal/LibProvidersLookup;)V
8: aload 5
aload 2
invokeinterface jdk.jpackage.internal.PlatformPackage.sourceRoot:()Ljava/nio/file/Path;
invokevirtual jdk.jpackage.internal.LibProvidersLookup.execute:(Ljava/nio/file/Path;)Ljava/util/List;
astore 4
end local 5 start local 4 9: goto 13
end local 4 10: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
astore 4
start local 4 11: aload 2
invokeinterface jdk.jpackage.internal.PlatformPackage.sourceRoot:()Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifne 13
12: ldc "warning.foreign-app-image"
invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic jdk.jpackage.internal.Log.info:(Ljava/lang/String;)V
13: 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;
14: 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;
15: invokeinterface java.util.stream.Stream.flatMap:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
16: 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;
17: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
18: invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
19: astore 5
start local 5 20: 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.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
21: 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 22 0 this Ljdk/jpackage/internal/LinuxPackageBundler;
0 22 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
1 22 2 thePackage Ljdk/jpackage/internal/PlatformPackage;
3 4 3 xdgUtilsPackage Ljava/util/List<Ljava/lang/String;>;
5 22 3 xdgUtilsPackage Ljava/util/List<Ljava/lang/String;>;
9 10 4 neededLibPackages Ljava/util/List<Ljava/lang/String;>;
11 22 4 neededLibPackages Ljava/util/List<Ljava/lang/String;>;
7 9 5 lookup Ljdk/jpackage/internal/LibProvidersLookup;
20 22 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.jpackage.internal.LinuxPackageBundler.createMetaPackage:(Ljava/util/Map;)Ljdk/jpackage/internal/PlatformPackage;
invokeinterface jdk.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.jpackage.internal.StandardBundlerParam.VENDOR:Ljdk/jpackage/internal/StandardBundlerParam;
aload 1
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
3: aload 2
ldc "APPLICATION_VERSION"
getstatic jdk.jpackage.internal.StandardBundlerParam.VERSION:Ljdk/jpackage/internal/StandardBundlerParam;
aload 1
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
4: aload 2
ldc "APPLICATION_DESCRIPTION"
getstatic jdk.jpackage.internal.StandardBundlerParam.DESCRIPTION:Ljdk/jpackage/internal/StandardBundlerParam;
aload 1
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
5: aload 2
ldc "APPLICATION_RELEASE"
getstatic jdk.jpackage.internal.StandardBundlerParam.RELEASE:Ljdk/jpackage/internal/StandardBundlerParam;
aload 1
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
6: ldc ", "
aload 0
aload 1
invokevirtual jdk.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.jpackage.internal.LinuxPackageBundler.LINUX_PACKAGE_DEPENDENCIES:Ljdk/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.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/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.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/jpackage/internal/ConfigException;>;
MethodParameters:
Name Flags
params
packageBundle
protected abstract void initLibProvidersLookup(java.util.Map<java.lang.String, ? super java.lang.Object>, jdk.jpackage.internal.LibProvidersLookup);
descriptor: (Ljava/util/Map;Ljdk/jpackage/internal/LibProvidersLookup;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljdk/jpackage/internal/LibProvidersLookup;)V
MethodParameters:
Name Flags
params
libProvidersLookup
protected abstract java.util.List<jdk.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/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.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.nio.file.Path buildPackageBundle(java.util.Map<java.lang.String, java.lang.String>, java.util.Map<java.lang.String, ? super java.lang.Object>, java.nio.file.Path);
descriptor: (Ljava/util/Map;Ljava/util/Map;Ljava/nio/file/Path;)Ljava/nio/file/Path;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws jdk.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/nio/file/Path;)Ljava/nio/file/Path;
MethodParameters:
Name Flags
replacementData
params
outputParentDir
protected final jdk.jpackage.internal.PlatformPackage createMetaPackage(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljdk/jpackage/internal/PlatformPackage;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokedynamic get(Ljdk/jpackage/internal/LinuxPackageBundler;Ljava/util/Map;)Ljava/util/function/Supplier;
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;
jdk/jpackage/internal/LinuxPackageBundler.lambda$10(Ljava/util/Map;)Ljdk/jpackage/internal/ApplicationLayout; (7)
()Ljdk/jpackage/internal/ApplicationLayout;
astore 2
start local 2 1: new jdk.jpackage.internal.LinuxPackageBundler$1
dup
aload 0
aload 1
aload 2
invokespecial jdk.jpackage.internal.LinuxPackageBundler$1.<init>:(Ljdk/jpackage/internal/LinuxPackageBundler;Ljava/util/Map;Ljava/util/function/Supplier;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jpackage/internal/LinuxPackageBundler;
0 2 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
1 2 2 packageLayout Ljava/util/function/Supplier<Ljdk/jpackage/internal/ApplicationLayout;>;
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljdk/jpackage/internal/PlatformPackage;
MethodParameters:
Name Flags
params
private jdk.jpackage.internal.ApplicationLayout appImageLayout(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljdk/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.jpackage.internal.StandardBundlerParam.isRuntimeInstaller:(Ljava/util/Map;)Z
ifeq 2
1: invokestatic jdk.jpackage.internal.ApplicationLayout.javaRuntime:()Ljdk/jpackage/internal/ApplicationLayout;
areturn
2: StackMap locals:
StackMap stack:
invokestatic jdk.jpackage.internal.ApplicationLayout.linuxAppImage:()Ljdk/jpackage/internal/ApplicationLayout;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/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/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
invokevirtual java.lang.String.isEmpty:()Z
ifeq 8
1: new jdk.jpackage.internal.ConfigException
dup
2: ldc "error.invalid-install-dir"
3: invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
4: ldc "/"
aastore
5: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
6: aconst_null
7: invokespecial jdk.jpackage.internal.ConfigException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 9: 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 10: aload 2
invokeinterface java.nio.file.Path.isAbsolute:()Z
istore 1
11: iload 1
ifeq 18
aload 2
invokeinterface java.nio.file.Path.normalize:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
12: aload 2
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
13: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
14: ifne 18
15: iconst_0
istore 1
end local 2 16: goto 18
StackMap locals: java.lang.String int
StackMap stack: java.nio.file.InvalidPathException
17: pop
18: StackMap locals:
StackMap stack:
iload 1
ifne 26
19: new jdk.jpackage.internal.ConfigException
dup
20: ldc "error.invalid-install-dir"
21: invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
22: aload 0
aastore
23: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
24: aconst_null
25: invokespecial jdk.jpackage.internal.ConfigException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
athrow
26: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 installDir Ljava/lang/String;
9 27 1 valid Z
10 16 2 installDirPath Ljava/nio/file/Path;
Exception table:
from to target type
9 16 17 Class java.nio.file.InvalidPathException
Exceptions:
throws jdk.jpackage.internal.ConfigException
MethodParameters:
Name Flags
installDir
protected static boolean isInstallDirInUsrTree(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "/usr/local"
ldc "/usr"
invokestatic java.util.Set.of:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Set;
aload 0
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 installDir Ljava/lang/String;
MethodParameters:
Name Flags
installDir
private static java.lang.String lambda$2(java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc ""
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
private static java.lang.String lambda$3(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$0(java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: getstatic jdk.jpackage.internal.StandardBundlerParam.INSTALL_DIR:Ljdk/jpackage/internal/BundlerParamInfo;
aload 0
invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 1: aload 1
ifnull 5
2: aload 1
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 4
3: aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
4: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
5: StackMap locals:
StackMap stack:
ldc "/opt"
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 dir Ljava/lang/String;
private static java.lang.String lambda$1(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 jdk.jpackage.internal.ApplicationLayout lambda$4(java.util.Map, java.nio.file.Path);
descriptor: (Ljava/util/Map;Ljava/nio/file/Path;)Ljdk/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.jpackage.internal.LinuxPackageBundler.appImageLayout:(Ljava/util/Map;)Ljdk/jpackage/internal/ApplicationLayout;
astore 3
start local 3 1: aload 3
invokevirtual jdk.jpackage.internal.ApplicationLayout.pathGroup:()Ljdk/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.jpackage.internal.AppImageFile.getPathInAppImage:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
3: invokevirtual jdk.jpackage.internal.PathGroup.setPath:(Ljava/lang/Object;Ljava/nio/file/Path;)V
4: aload 3
aload 2
invokevirtual jdk.jpackage.internal.ApplicationLayout.resolveAt:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/ApplicationLayout;
areturn
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/jpackage/internal/LinuxPackageBundler;
0 5 2 imageRoot Ljava/nio/file/Path;
1 5 3 layout Ljdk/jpackage/internal/ApplicationLayout;
private static void lambda$5(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$7(jdk.jpackage.internal.ConfigException);
descriptor: (Ljdk/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.jpackage.internal.ConfigException.getLocalizedMessage:()Ljava/lang/String;
invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
1: aload 0
invokevirtual jdk.jpackage.internal.ConfigException.getAdvice:()Ljava/lang/String;
invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ex Ljdk/jpackage/internal/ConfigException;
private jdk.jpackage.internal.ApplicationLayout lambda$10(java.util.Map);
descriptor: (Ljava/util/Map;)Ljdk/jpackage/internal/ApplicationLayout;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
start local 0 0: getstatic jdk.jpackage.internal.LinuxPackageBundler.LINUX_INSTALL_DIR: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 1: aload 2
invokestatic jdk.jpackage.internal.LinuxPackageBundler.isInstallDirInUsrTree:(Ljava/lang/String;)Z
ifeq 5
2: ldc "/"
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
aload 2
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.relativize:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
3: aload 0
getfield jdk.jpackage.internal.LinuxPackageBundler.packageName:Ljdk/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
4: invokestatic jdk.jpackage.internal.ApplicationLayout.linuxUsrTreePackageImage:(Ljava/nio/file/Path;Ljava/lang/String;)Ljdk/jpackage/internal/ApplicationLayout;
areturn
5: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 1
invokevirtual jdk.jpackage.internal.LinuxPackageBundler.appImageLayout:(Ljava/util/Map;)Ljdk/jpackage/internal/ApplicationLayout;
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jpackage/internal/LinuxPackageBundler;
1 6 2 installDir Ljava/lang/String;
}
SourceFile: "LinuxPackageBundler.java"
NestMembers:
jdk.jpackage.internal.LinuxPackageBundler$1
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
jdk.jpackage.internal.LinuxPackageBundler$1
abstract Facade = jdk.jpackage.internal.PathGroup$Facade of jdk.jpackage.internal.PathGroup