public class jdk.incubator.jpackage.internal.LinuxDebBundler extends jdk.incubator.jpackage.internal.LinuxPackageBundler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.incubator.jpackage.internal.LinuxDebBundler
super_class: jdk.incubator.jpackage.internal.LinuxPackageBundler
{
private static final java.util.regex.Pattern DEB_PACKAGE_NAME_PATTERN;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.incubator.jpackage.internal.BundlerParamInfo<java.lang.String> PACKAGE_NAME;
descriptor: Ljdk/incubator/jpackage/internal/BundlerParamInfo;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljdk/incubator/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
private static final java.lang.String TOOL_DPKG_DEB;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "dpkg-deb"
private static final java.lang.String TOOL_DPKG;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "dpkg"
private static final java.lang.String TOOL_FAKEROOT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "fakeroot"
private static final java.lang.String DEB_ARCH;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.incubator.jpackage.internal.BundlerParamInfo<java.lang.String> FULL_PACKAGE_NAME;
descriptor: Ljdk/incubator/jpackage/internal/BundlerParamInfo;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljdk/incubator/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
private static final jdk.incubator.jpackage.internal.BundlerParamInfo<java.lang.String> EMAIL;
descriptor: Ljdk/incubator/jpackage/internal/BundlerParamInfo;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljdk/incubator/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
private static final jdk.incubator.jpackage.internal.BundlerParamInfo<java.lang.String> MAINTAINER;
descriptor: Ljdk/incubator/jpackage/internal/BundlerParamInfo;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljdk/incubator/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
private static final jdk.incubator.jpackage.internal.BundlerParamInfo<java.lang.String> SECTION;
descriptor: Ljdk/incubator/jpackage/internal/BundlerParamInfo;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljdk/incubator/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
private static final jdk.incubator.jpackage.internal.BundlerParamInfo<java.lang.String> LICENSE_TEXT;
descriptor: Ljdk/incubator/jpackage/internal/BundlerParamInfo;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljdk/incubator/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
private static final java.util.regex.Pattern PACKAGE_NAME_REGEX;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: ldc "^[a-z][a-z\\d\\+\\-\\.]+"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
1: putstatic jdk.incubator.jpackage.internal.LinuxDebBundler.DEB_PACKAGE_NAME_PATTERN:Ljava/util/regex/Pattern;
2: new jdk.incubator.jpackage.internal.StandardBundlerParam
dup
3: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.LINUX_BUNDLE_NAME:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
4: ldc Ljava/lang/String;
5: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/incubator/jpackage/internal/LinuxDebBundler.lambda$0(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
6: invokedynamic apply()Ljava/util/function/BiFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
jdk/incubator/jpackage/internal/LinuxDebBundler.lambda$1(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
7: invokespecial jdk.incubator.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
8: putstatic jdk.incubator.jpackage.internal.LinuxDebBundler.PACKAGE_NAME:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
9: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "dpkg"
aastore
dup
iconst_1
ldc "--print-architecture"
aastore
invokestatic jdk.incubator.jpackage.internal.Executor.of:([Ljava/lang/String;)Ljdk/incubator/jpackage/internal/Executor;
10: iconst_1
11: invokevirtual jdk.incubator.jpackage.internal.Executor.saveOutput:(Z)Ljdk/incubator/jpackage/internal/Executor;
12: invokevirtual jdk.incubator.jpackage.internal.Executor.executeExpectSuccess:()Ljdk/incubator/jpackage/internal/Executor;
invokevirtual jdk.incubator.jpackage.internal.Executor.getOutput:()Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
13: astore 0
start local 0 14: goto 17
end local 0 StackMap locals:
StackMap stack: java.io.IOException
15: pop
16: aconst_null
astore 0
start local 0 17: StackMap locals: java.lang.String
StackMap stack:
aload 0
putstatic jdk.incubator.jpackage.internal.LinuxDebBundler.DEB_ARCH:Ljava/lang/String;
end local 0 18: new jdk.incubator.jpackage.internal.StandardBundlerParam
dup
19: ldc "linux.deb.fullPackageName"
ldc Ljava/lang/String;
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/LinuxDebBundler.lambda$2(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
20: 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/LinuxDebBundler.lambda$3(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
21: invokespecial jdk.incubator.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
22: putstatic jdk.incubator.jpackage.internal.LinuxDebBundler.FULL_PACKAGE_NAME:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
23: new jdk.incubator.jpackage.internal.StandardBundlerParam
dup
24: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.LINUX_DEB_MAINTAINER:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
25: ldc Ljava/lang/String;
26: 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/LinuxDebBundler.lambda$4(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
27: 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/LinuxDebBundler.lambda$5(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
28: invokespecial jdk.incubator.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
29: putstatic jdk.incubator.jpackage.internal.LinuxDebBundler.EMAIL:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
30: new jdk.incubator.jpackage.internal.StandardBundlerParam
dup
31: ldc "maintainer"
32: ldc Ljava/lang/String;
33: 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/LinuxDebBundler.lambda$6(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
34: 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/LinuxDebBundler.lambda$7(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
35: invokespecial jdk.incubator.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
36: putstatic jdk.incubator.jpackage.internal.LinuxDebBundler.MAINTAINER:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
37: new jdk.incubator.jpackage.internal.StandardBundlerParam
dup
38: getstatic jdk.incubator.jpackage.internal.Arguments$CLIOptions.LINUX_CATEGORY:Ljdk/incubator/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.incubator.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
39: ldc Ljava/lang/String;
40: 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/LinuxDebBundler.lambda$8(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
41: 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/LinuxDebBundler.lambda$9(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
42: invokespecial jdk.incubator.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
43: putstatic jdk.incubator.jpackage.internal.LinuxDebBundler.SECTION:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
44: new jdk.incubator.jpackage.internal.StandardBundlerParam
dup
45: ldc "linux.deb.licenseText"
46: ldc Ljava/lang/String;
47: 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/LinuxDebBundler.lambda$10(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
48: 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/LinuxDebBundler.lambda$11(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
49: invokespecial jdk.incubator.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
50: putstatic jdk.incubator.jpackage.internal.LinuxDebBundler.LICENSE_TEXT:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
51: ldc "^(^\\S+):"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic jdk.incubator.jpackage.internal.LinuxDebBundler.PACKAGE_NAME_REGEX:Ljava/util/regex/Pattern;
return
LocalVariableTable:
Start End Slot Name Signature
14 15 0 debArch Ljava/lang/String;
17 18 0 debArch Ljava/lang/String;
Exception table:
from to target type
9 14 15 Class java.io.IOException
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic jdk.incubator.jpackage.internal.LinuxDebBundler.PACKAGE_NAME:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
invokespecial jdk.incubator.jpackage.internal.LinuxPackageBundler.<init>:(Ljdk/incubator/jpackage/internal/BundlerParamInfo;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/jpackage/internal/LinuxDebBundler;
public void doValidate(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.LICENSE_FILE:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
ifnonnull 2
1: ldc "message.debs-like-licenses"
invokestatic jdk.incubator.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/jpackage/internal/LinuxDebBundler;
0 3 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
Exceptions:
throws jdk.incubator.jpackage.internal.ConfigException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
params
protected 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: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "dpkg-deb"
aastore
dup
iconst_1
ldc "dpkg"
aastore
dup
iconst_2
ldc "fakeroot"
aastore
invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
1: 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/ToolValidator.<init>(Ljava/lang/String;)V (8)
(Ljava/lang/String;)Ljdk/incubator/jpackage/internal/ToolValidator;
2: invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
3: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/incubator/jpackage/internal/LinuxDebBundler;
0 5 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljava/util/List<Ljdk/incubator/jpackage/internal/ToolValidator;>;
MethodParameters:
Name Flags
params
protected 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: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokevirtual jdk.incubator.jpackage.internal.LinuxDebBundler.prepareProjectConfig:(Ljava/util/Map;Ljava/util/Map;)V
1: aload 0
aload 0
aload 2
invokevirtual jdk.incubator.jpackage.internal.LinuxDebBundler.createMetaPackage:(Ljava/util/Map;)Ljdk/incubator/jpackage/internal/PlatformPackage;
invokeinterface jdk.incubator.jpackage.internal.PlatformPackage.sourceRoot:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
invokevirtual jdk.incubator.jpackage.internal.LinuxDebBundler.adjustPermissionsRecursive:(Ljava/io/File;)V
2: aload 0
aload 2
aload 3
invokevirtual jdk.incubator.jpackage.internal.LinuxDebBundler.buildDeb:(Ljava/util/Map;Ljava/io/File;)Ljava/io/File;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/jpackage/internal/LinuxDebBundler;
0 3 1 replacementData Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
0 3 2 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
0 3 3 outputParentDir Ljava/io/File;
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 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: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokedynamic apply()Ljdk/incubator/jpackage/internal/LibProvidersLookup$PackageLookup;
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/nio/file/Path;)Ljava/util/stream/Stream;
jdk/incubator/jpackage/internal/LinuxDebBundler.lambda$13(Ljava/nio/file/Path;)Ljava/util/stream/Stream; (6)
(Ljava/nio/file/Path;)Ljava/util/stream/Stream;
invokevirtual jdk.incubator.jpackage.internal.LibProvidersLookup.setPackageLookup:(Ljdk/incubator/jpackage/internal/LibProvidersLookup$PackageLookup;)Ljdk/incubator/jpackage/internal/LibProvidersLookup;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/jpackage/internal/LinuxDebBundler;
0 2 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
0 2 2 libProvidersLookup Ljdk/incubator/jpackage/internal/LibProvidersLookup;
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljdk/incubator/jpackage/internal/LibProvidersLookup;)V
MethodParameters:
Name Flags
params
libProvidersLookup
protected 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: (0x0004) ACC_PROTECTED
Code:
stack=10, locals=8, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: ldc "control"
astore 4
start local 4 2: new jdk.incubator.jpackage.internal.PackageProperty
dup
ldc "Package"
getstatic jdk.incubator.jpackage.internal.LinuxDebBundler.PACKAGE_NAME:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
3: ldc "APPLICATION_PACKAGE"
aload 4
4: invokespecial jdk.incubator.jpackage.internal.PackageProperty.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
5: new jdk.incubator.jpackage.internal.PackageProperty
dup
ldc "Version"
ldc "%s-%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
6: 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;
aastore
dup
iconst_1
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;
aastore
7: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
8: ldc "APPLICATION_VERSION-APPLICATION_RELEASE"
9: aload 4
10: invokespecial jdk.incubator.jpackage.internal.PackageProperty.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
11: new jdk.incubator.jpackage.internal.PackageProperty
dup
ldc "Architecture"
getstatic jdk.incubator.jpackage.internal.LinuxDebBundler.DEB_ARCH:Ljava/lang/String;
ldc "APPLICATION_ARCH"
12: aload 4
13: invokespecial jdk.incubator.jpackage.internal.PackageProperty.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
14: invokestatic java.util.List.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/List;
astore 5
start local 5 15: new java.util.ArrayList
dup
ldc "dpkg-deb"
ldc "-f"
16: aload 2
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
17: invokestatic java.util.List.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 6
start local 6 18: aload 5
aload 6
invokedynamic accept(Ljava/util/List;)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/LinuxDebBundler.lambda$15(Ljava/util/List;Ljdk/incubator/jpackage/internal/PackageProperty;)V (6)
(Ljdk/incubator/jpackage/internal/PackageProperty;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
19: aload 6
invokedynamic apply()Ljava/util/function/IntFunction;
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:
(I)Ljava/lang/Object;
jdk/incubator/jpackage/internal/LinuxDebBundler.lambda$16(I)[Ljava/lang/String; (6)
(I)[Ljava/lang/String;
invokeinterface java.util.List.toArray:(Ljava/util/function/IntFunction;)[Ljava/lang/Object;
checkcast java.lang.String[]
invokestatic jdk.incubator.jpackage.internal.Executor.of:([Ljava/lang/String;)Ljdk/incubator/jpackage/internal/Executor;
20: iconst_1
invokevirtual jdk.incubator.jpackage.internal.Executor.saveOutput:(Z)Ljdk/incubator/jpackage/internal/Executor;
21: invokevirtual jdk.incubator.jpackage.internal.Executor.executeExpectSuccess:()Ljdk/incubator/jpackage/internal/Executor;
22: invokevirtual jdk.incubator.jpackage.internal.Executor.getOutput:()Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
23: 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/LinuxDebBundler.lambda$17(Ljava/lang/String;)[Ljava/lang/String; (6)
(Ljava/lang/String;)[Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
24: 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/LinuxDebBundler.lambda$18([Ljava/lang/String;)Ljava/lang/String; (6)
([Ljava/lang/String;)Ljava/lang/String;
25: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/incubator/jpackage/internal/LinuxDebBundler.lambda$19([Ljava/lang/String;)Ljava/lang/String; (6)
([Ljava/lang/String;)Ljava/lang/String;
26: invokestatic java.util.stream.Collectors.toMap:(Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Map
27: astore 7
start local 7 28: aload 5
aload 3
aload 7
invokedynamic accept(Ljava/util/List;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/LinuxDebBundler.lambda$20(Ljava/util/List;Ljava/util/Map;Ljdk/incubator/jpackage/internal/PackageProperty;)V (6)
(Ljdk/incubator/jpackage/internal/PackageProperty;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
end local 7 29: goto 32
StackMap locals: jdk.incubator.jpackage.internal.LinuxDebBundler java.util.Map java.nio.file.Path java.util.List java.lang.String java.util.List java.util.List
StackMap stack: java.io.IOException
30: astore 7
start local 7 31: aload 7
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
end local 7 32: StackMap locals:
StackMap stack:
aload 3
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Ljdk/incubator/jpackage/internal/LinuxDebBundler;
0 33 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
0 33 2 packageBundle Ljava/nio/file/Path;
1 33 3 errors Ljava/util/List<Ljdk/incubator/jpackage/internal/ConfigException;>;
2 33 4 controlFileName Ljava/lang/String;
15 33 5 properties Ljava/util/List<Ljdk/incubator/jpackage/internal/PackageProperty;>;
18 33 6 cmdline Ljava/util/List<Ljava/lang/String;>;
28 29 7 actualValues Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
31 32 7 ex Ljava/io/IOException;
Exception table:
from to target type
19 29 30 Class java.io.IOException
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
private void setPermissions(java.io.File, java.lang.String);
descriptor: (Ljava/io/File;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic java.nio.file.attribute.PosixFilePermissions.fromString:(Ljava/lang/String;)Ljava/util/Set;
1: astore 3
start local 3 2: aload 1
invokevirtual java.io.File.exists:()Z
ifeq 8
3: aload 1
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
aload 3
invokestatic java.nio.file.Files.setPosixFilePermissions:(Ljava/nio/file/Path;Ljava/util/Set;)Ljava/nio/file/Path;
pop
4: goto 8
StackMap locals: jdk.incubator.jpackage.internal.LinuxDebBundler java.io.File java.lang.String java.util.Set
StackMap stack: java.io.IOException
5: astore 4
start local 4 6: aload 4
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.error:(Ljava/lang/String;)V
7: aload 4
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
end local 4 8: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/incubator/jpackage/internal/LinuxDebBundler;
0 9 1 file Ljava/io/File;
0 9 2 permissions Ljava/lang/String;
2 9 3 filePermissions Ljava/util/Set<Ljava/nio/file/attribute/PosixFilePermission;>;
6 8 4 ex Ljava/io/IOException;
Exception table:
from to target type
2 4 5 Class java.io.IOException
MethodParameters:
Name Flags
file
permissions
public static boolean isDebian();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "dpkg"
aastore
dup
iconst_1
ldc "-s"
aastore
dup
iconst_2
ldc "coreutils"
aastore
invokestatic jdk.incubator.jpackage.internal.Executor.of:([Ljava/lang/String;)Ljdk/incubator/jpackage/internal/Executor;
invokevirtual jdk.incubator.jpackage.internal.Executor.executeExpectSuccess:()Ljdk/incubator/jpackage/internal/Executor;
pop
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack: java.io.IOException
pop
3: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
0 1 2 Class java.io.IOException
private void adjustPermissionsRecursive(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
new jdk.incubator.jpackage.internal.LinuxDebBundler$1
dup
aload 0
invokespecial jdk.incubator.jpackage.internal.LinuxDebBundler$1.<init>:(Ljdk/incubator/jpackage/internal/LinuxDebBundler;)V
invokestatic java.nio.file.Files.walkFileTree:(Ljava/nio/file/Path;Ljava/nio/file/FileVisitor;)Ljava/nio/file/Path;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/jpackage/internal/LinuxDebBundler;
0 2 1 dir Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dir
private void prepareProjectConfig(java.util.Map<java.lang.String, java.lang.String>, java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual jdk.incubator.jpackage.internal.LinuxDebBundler.createMetaPackage:(Ljava/util/Map;)Ljdk/incubator/jpackage/internal/PlatformPackage;
invokeinterface jdk.incubator.jpackage.internal.PlatformPackage.sourceRoot:()Ljava/nio/file/Path;
ldc "DEBIAN"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 3
start local 3 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 2: aload 4
new jdk.incubator.jpackage.internal.LinuxDebBundler$DebianFile
dup
aload 0
3: aload 3
ldc "control"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
4: ldc "resource.deb-control-file"
invokespecial jdk.incubator.jpackage.internal.LinuxDebBundler$DebianFile.<init>:(Ljdk/incubator/jpackage/internal/LinuxDebBundler;Ljava/nio/file/Path;Ljava/lang/String;)V
5: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: aload 4
new jdk.incubator.jpackage.internal.LinuxDebBundler$DebianFile
dup
aload 0
7: aload 3
ldc "preinst"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
8: ldc "resource.deb-preinstall-script"
invokespecial jdk.incubator.jpackage.internal.LinuxDebBundler$DebianFile.<init>:(Ljdk/incubator/jpackage/internal/LinuxDebBundler;Ljava/nio/file/Path;Ljava/lang/String;)V
invokevirtual jdk.incubator.jpackage.internal.LinuxDebBundler$DebianFile.setExecutable:()Ljdk/incubator/jpackage/internal/LinuxDebBundler$DebianFile;
9: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: aload 4
new jdk.incubator.jpackage.internal.LinuxDebBundler$DebianFile
dup
aload 0
11: aload 3
ldc "prerm"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
12: ldc "resource.deb-prerm-script"
invokespecial jdk.incubator.jpackage.internal.LinuxDebBundler$DebianFile.<init>:(Ljdk/incubator/jpackage/internal/LinuxDebBundler;Ljava/nio/file/Path;Ljava/lang/String;)V
invokevirtual jdk.incubator.jpackage.internal.LinuxDebBundler$DebianFile.setExecutable:()Ljdk/incubator/jpackage/internal/LinuxDebBundler$DebianFile;
13: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: aload 4
new jdk.incubator.jpackage.internal.LinuxDebBundler$DebianFile
dup
aload 0
15: aload 3
ldc "postinst"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
16: ldc "resource.deb-postinstall-script"
invokespecial jdk.incubator.jpackage.internal.LinuxDebBundler$DebianFile.<init>:(Ljdk/incubator/jpackage/internal/LinuxDebBundler;Ljava/nio/file/Path;Ljava/lang/String;)V
invokevirtual jdk.incubator.jpackage.internal.LinuxDebBundler$DebianFile.setExecutable:()Ljdk/incubator/jpackage/internal/LinuxDebBundler$DebianFile;
17: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
18: aload 4
new jdk.incubator.jpackage.internal.LinuxDebBundler$DebianFile
dup
aload 0
19: aload 3
ldc "postrm"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
20: ldc "resource.deb-postrm-script"
invokespecial jdk.incubator.jpackage.internal.LinuxDebBundler$DebianFile.<init>:(Ljdk/incubator/jpackage/internal/LinuxDebBundler;Ljava/nio/file/Path;Ljava/lang/String;)V
invokevirtual jdk.incubator.jpackage.internal.LinuxDebBundler$DebianFile.setExecutable:()Ljdk/incubator/jpackage/internal/LinuxDebBundler$DebianFile;
21: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
22: aload 2
invokestatic jdk.incubator.jpackage.internal.StandardBundlerParam.isRuntimeInstaller:(Ljava/util/Map;)Z
ifne 27
23: aload 4
new jdk.incubator.jpackage.internal.LinuxDebBundler$DebianFile
dup
aload 0
24: aload 0
aload 2
invokevirtual jdk.incubator.jpackage.internal.LinuxDebBundler.getConfig_CopyrightFile:(Ljava/util/Map;)Ljava/io/File;
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
25: ldc "resource.copyright-file"
invokespecial jdk.incubator.jpackage.internal.LinuxDebBundler$DebianFile.<init>:(Ljdk/incubator/jpackage/internal/LinuxDebBundler;Ljava/nio/file/Path;Ljava/lang/String;)V
26: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
27: StackMap locals: java.nio.file.Path java.util.List
StackMap stack:
aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 30
StackMap locals: jdk.incubator.jpackage.internal.LinuxDebBundler java.util.Map java.util.Map java.nio.file.Path java.util.List top java.util.Iterator
StackMap stack:
28: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.incubator.jpackage.internal.LinuxDebBundler$DebianFile
astore 5
start local 5 29: aload 5
aload 1
aload 2
invokevirtual jdk.incubator.jpackage.internal.LinuxDebBundler$DebianFile.create:(Ljava/util/Map;Ljava/util/Map;)V
end local 5 30: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 28
31: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Ljdk/incubator/jpackage/internal/LinuxDebBundler;
0 32 1 data Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
0 32 2 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
1 32 3 configDir Ljava/nio/file/Path;
2 32 4 debianFiles Ljava/util/List<Ljdk/incubator/jpackage/internal/LinuxDebBundler$DebianFile;>;
29 30 5 debianFile Ljdk/incubator/jpackage/internal/LinuxDebBundler$DebianFile;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
data
params
protected 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: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, 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_MAINTAINER"
getstatic jdk.incubator.jpackage.internal.LinuxDebBundler.MAINTAINER:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.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
2: aload 2
ldc "APPLICATION_SECTION"
getstatic jdk.incubator.jpackage.internal.LinuxDebBundler.SECTION:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.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_COPYRIGHT"
getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.COPYRIGHT: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_LICENSE_TEXT"
getstatic jdk.incubator.jpackage.internal.LinuxDebBundler.LICENSE_TEXT:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.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_ARCH"
getstatic jdk.incubator.jpackage.internal.LinuxDebBundler.DEB_ARCH:Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 2
ldc "APPLICATION_INSTALLED_SIZE"
7: aload 0
aload 1
invokevirtual jdk.incubator.jpackage.internal.LinuxDebBundler.createMetaPackage:(Ljava/util/Map;)Ljdk/incubator/jpackage/internal/PlatformPackage;
invokeinterface jdk.incubator.jpackage.internal.PlatformPackage.sourceApplicationLayout:()Ljdk/incubator/jpackage/internal/ApplicationLayout;
invokevirtual jdk.incubator.jpackage.internal.ApplicationLayout.sizeInBytes:()J
bipush 10
lshr
8: invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/incubator/jpackage/internal/LinuxDebBundler;
0 10 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
1 10 2 data Ljava/util/Map<Ljava/lang/String;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
private java.io.File getConfig_CopyrightFile(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.incubator.jpackage.internal.LinuxDebBundler.createMetaPackage:(Ljava/util/Map;)Ljdk/incubator/jpackage/internal/PlatformPackage;
astore 2
start local 2 1: aload 2
invokeinterface jdk.incubator.jpackage.internal.PlatformPackage.sourceRoot:()Ljava/nio/file/Path;
ldc "."
iconst_3
anewarray java.lang.String
dup
iconst_0
2: 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
aastore
dup
iconst_1
getstatic jdk.incubator.jpackage.internal.LinuxDebBundler.PACKAGE_NAME:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
3: aload 1
4: invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
aastore
dup
iconst_2
5: ldc "share/doc/copyright"
aastore
6: invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
7: invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
8: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/incubator/jpackage/internal/LinuxDebBundler;
0 9 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
1 9 2 thePackage Ljdk/incubator/jpackage/internal/PlatformPackage;
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljava/io/File;
MethodParameters:
Name Flags
params
private java.io.File buildDeb(java.util.Map<java.lang.String, ? super java.lang.Object>, java.io.File);
descriptor: (Ljava/util/Map;Ljava/io/File;)Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new java.io.File
dup
aload 2
1: new java.lang.StringBuilder
dup
getstatic jdk.incubator.jpackage.internal.LinuxDebBundler.FULL_PACKAGE_NAME: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 java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".deb"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 3
start local 3 3: ldc "message.outputting-to-location"
4: invokestatic jdk.incubator.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
5: aload 3
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
6: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
7: aload 0
aload 1
invokevirtual jdk.incubator.jpackage.internal.LinuxDebBundler.createMetaPackage:(Ljava/util/Map;)Ljdk/incubator/jpackage/internal/PlatformPackage;
astore 4
start local 4 8: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 9: aload 5
ldc "fakeroot"
ldc "dpkg-deb"
invokestatic java.util.List.of:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
10: invokestatic jdk.incubator.jpackage.internal.Log.isVerbose:()Z
ifeq 12
11: aload 5
ldc "--verbose"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: StackMap locals: java.io.File jdk.incubator.jpackage.internal.PlatformPackage java.util.List
StackMap stack:
aload 5
ldc "-b"
aload 4
invokeinterface jdk.incubator.jpackage.internal.PlatformPackage.sourceRoot:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
13: aload 3
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
14: invokestatic java.util.List.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
15: aload 5
invokedynamic apply()Ljava/util/function/IntFunction;
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:
(I)Ljava/lang/Object;
jdk/incubator/jpackage/internal/LinuxDebBundler.lambda$16(I)[Ljava/lang/String; (6)
(I)[Ljava/lang/String;
invokeinterface java.util.List.toArray:(Ljava/util/function/IntFunction;)[Ljava/lang/Object;
checkcast java.lang.String[]
invokestatic jdk.incubator.jpackage.internal.Executor.of:([Ljava/lang/String;)Ljdk/incubator/jpackage/internal/Executor;
invokevirtual jdk.incubator.jpackage.internal.Executor.executeExpectSuccess:()Ljdk/incubator/jpackage/internal/Executor;
pop
16: ldc "message.output-to-location"
17: invokestatic jdk.incubator.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
18: aload 3
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
19: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
20: aload 3
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 21 0 this Ljdk/incubator/jpackage/internal/LinuxDebBundler;
0 21 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
0 21 2 outdir Ljava/io/File;
3 21 3 outFile Ljava/io/File;
8 21 4 thePackage Ljdk/incubator/jpackage/internal/PlatformPackage;
9 21 5 cmdline Ljava/util/List<Ljava/lang/String;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/io/File;)Ljava/io/File;
MethodParameters:
Name Flags
params
outdir
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "deb.bundler.name"
invokestatic jdk.incubator.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/LinuxDebBundler;
public java.lang.String getID();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "deb"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/LinuxDebBundler;
public boolean supported(boolean);
descriptor: (Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic jdk.incubator.jpackage.internal.Platform.isLinux:()Z
ifeq 1
new jdk.incubator.jpackage.internal.ToolValidator
dup
ldc "dpkg-deb"
invokespecial jdk.incubator.jpackage.internal.ToolValidator.<init>:(Ljava/lang/String;)V
invokevirtual jdk.incubator.jpackage.internal.ToolValidator.validate:()Ljdk/incubator/jpackage/internal/ConfigException;
ifnonnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/jpackage/internal/LinuxDebBundler;
0 2 1 runtimeInstaller Z
MethodParameters:
Name Flags
runtimeInstaller
public boolean isDefault();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic jdk.incubator.jpackage.internal.LinuxDebBundler.isDebian:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/LinuxDebBundler;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.incubator.jpackage.internal.LinuxPackageBundler.toString:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void cleanup(java.util.Map);
descriptor: (Ljava/util/Map;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial jdk.incubator.jpackage.internal.LinuxPackageBundler.cleanup:(Ljava/util/Map;)V
return
LocalVariableTable:
Start End Slot Name Signature
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=3, locals=2, 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
astore 1
start local 1 1: aload 1
ifnonnull 2
aconst_null
areturn
2: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
ldc "[ _]"
ldc "-"
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 1
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
1 4 1 nm 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=9, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.incubator.jpackage.internal.LinuxDebBundler.DEB_PACKAGE_NAME_PATTERN:Ljava/util/regex/Pattern;
aload 0
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ifne 9
1: new java.lang.IllegalArgumentException
dup
new jdk.incubator.jpackage.internal.ConfigException
dup
2: ldc "error.invalid-value-for-package-name"
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: ldc "error.invalid-value-for-package-name.advice"
7: invokestatic jdk.incubator.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial jdk.incubator.jpackage.internal.ConfigException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
8: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 s Ljava/lang/String;
0 10 1 p Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
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=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
getstatic jdk.incubator.jpackage.internal.LinuxDebBundler.PACKAGE_NAME:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
aload 0
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: ldc "_"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.VERSION:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 0
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.RELEASE:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 0
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc "_"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic jdk.incubator.jpackage.internal.LinuxDebBundler.DEB_ARCH:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 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$4(java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "Unknown"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
private static java.lang.String lambda$5(java.lang.String, java.util.Map);
descriptor: (Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
0 1 1 p Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
private static java.lang.String lambda$6(java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.VENDOR:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 0
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 " <"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: getstatic jdk.incubator.jpackage.internal.LinuxDebBundler.EMAIL:Ljdk/incubator/jpackage/internal/BundlerParamInfo;
aload 0
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
private static java.lang.String lambda$7(java.lang.String, java.util.Map);
descriptor: (Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
0 1 1 p Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
private static java.lang.String lambda$8(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 "misc"
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$9(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$10(java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic jdk.incubator.jpackage.internal.StandardBundlerParam.LICENSE_FILE:Ljdk/incubator/jpackage/internal/StandardBundlerParam;
aload 0
invokevirtual jdk.incubator.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 1: aload 1
ifnull 6
2: aload 1
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokestatic java.nio.file.Files.readString:(Ljava/nio/file/Path;)Ljava/lang/String;
3: areturn
end local 1 4: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 5: aload 1
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
end local 1 6: StackMap locals:
StackMap stack:
ldc "Unknown"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
1 4 1 licenseFile Ljava/lang/String;
5 6 1 e Ljava/io/IOException;
Exception table:
from to target type
0 3 4 Class java.io.IOException
private static java.lang.String lambda$11(java.lang.String, java.util.Map);
descriptor: (Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
0 1 1 p Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
private static java.util.stream.Stream lambda$13(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/util/stream/Stream;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 2: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "dpkg"
aastore
dup
iconst_1
ldc "-S"
aastore
dup
iconst_2
aload 0
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
aastore
invokestatic jdk.incubator.jpackage.internal.Executor.of:([Ljava/lang/String;)Ljdk/incubator/jpackage/internal/Executor;
3: iconst_1
invokevirtual jdk.incubator.jpackage.internal.Executor.saveOutput:(Z)Ljdk/incubator/jpackage/internal/Executor;
invokevirtual jdk.incubator.jpackage.internal.Executor.executeExpectSuccess:()Ljdk/incubator/jpackage/internal/Executor;
4: invokevirtual jdk.incubator.jpackage.internal.Executor.getOutput:()Ljava/util/List;
aload 1
aload 2
invokedynamic accept(Ljava/util/Set;Ljava/util/Set;)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/LinuxDebBundler.lambda$14(Ljava/util/Set;Ljava/util/Set;Ljava/lang/String;)V (6)
(Ljava/lang/String;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
5: aload 1
invokeinterface java.util.Set.isEmpty:()Z
ifne 7
6: aload 1
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
areturn
7: StackMap locals: java.util.Set java.util.Set
StackMap stack:
aload 2
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 file Ljava/nio/file/Path;
1 8 1 archPackages Ljava/util/Set<Ljava/lang/String;>;
2 8 2 otherPackages Ljava/util/Set<Ljava/lang/String;>;
Exceptions:
throws java.io.IOException
private static void lambda$15(java.util.List, jdk.incubator.jpackage.internal.PackageProperty);
descriptor: (Ljava/util/List;Ljdk/incubator/jpackage/internal/PackageProperty;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
getfield jdk.incubator.jpackage.internal.PackageProperty.name:Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 property Ljdk/incubator/jpackage/internal/PackageProperty;
private static java.lang.String[] lambda$16(int);
descriptor: (I)[Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: iload 0
anewarray java.lang.String
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String[] lambda$17(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc ":\\s+"
iconst_2
invokevirtual java.lang.String.split:(Ljava/lang/String;I)[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 line Ljava/lang/String;
private static java.lang.String lambda$18(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 components [Ljava/lang/String;
private static java.lang.String lambda$19(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 components [Ljava/lang/String;
private static void lambda$20(java.util.List, java.util.Map, jdk.incubator.jpackage.internal.PackageProperty);
descriptor: (Ljava/util/List;Ljava/util/Map;Ljdk/incubator/jpackage/internal/PackageProperty;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=3
start local 2 0: aload 0
aload 2
1: aload 1
aload 2
getfield jdk.incubator.jpackage.internal.PackageProperty.name:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
2: invokevirtual jdk.incubator.jpackage.internal.PackageProperty.verifyValue:(Ljava/lang/String;)Ljdk/incubator/jpackage/internal/ConfigException;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
3: return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 4 2 property Ljdk/incubator/jpackage/internal/PackageProperty;
private static void lambda$14(java.util.Set, java.util.Set, java.lang.String);
descriptor: (Ljava/util/Set;Ljava/util/Set;Ljava/lang/String;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=3
start local 2 0: getstatic jdk.incubator.jpackage.internal.LinuxDebBundler.PACKAGE_NAME_REGEX:Ljava/util/regex/Pattern;
aload 2
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 3
start local 3 1: aload 3
invokevirtual java.util.regex.Matcher.find:()Z
ifeq 10
2: aload 3
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
astore 4
start local 4 3: aload 4
new java.lang.StringBuilder
dup
ldc ":"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic jdk.incubator.jpackage.internal.LinuxDebBundler.DEB_ARCH:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 9
4: aload 4
iconst_0
5: aload 4
invokevirtual java.lang.String.length:()I
getstatic jdk.incubator.jpackage.internal.LinuxDebBundler.DEB_ARCH:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iconst_1
iadd
isub
6: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
7: aload 0
aload 4
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
8: goto 10
9: StackMap locals: java.util.regex.Matcher java.lang.String
StackMap stack:
aload 1
aload 4
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 4 end local 3 10: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 11 2 line Ljava/lang/String;
1 10 3 matcher Ljava/util/regex/Matcher;
3 10 4 name Ljava/lang/String;
}
SourceFile: "LinuxDebBundler.java"
NestMembers:
jdk.incubator.jpackage.internal.LinuxDebBundler$1 jdk.incubator.jpackage.internal.LinuxDebBundler$DebianFile
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final CLIOptions = jdk.incubator.jpackage.internal.Arguments$CLIOptions of jdk.incubator.jpackage.internal.Arguments
public abstract PackageLookup = jdk.incubator.jpackage.internal.LibProvidersLookup$PackageLookup of jdk.incubator.jpackage.internal.LibProvidersLookup
jdk.incubator.jpackage.internal.LinuxDebBundler$1
private DebianFile = jdk.incubator.jpackage.internal.LinuxDebBundler$DebianFile of jdk.incubator.jpackage.internal.LinuxDebBundler