public class jdk.jpackage.internal.LinuxRpmBundler extends jdk.jpackage.internal.LinuxPackageBundler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.jpackage.internal.LinuxRpmBundler
super_class: jdk.jpackage.internal.LinuxPackageBundler
{
private static final java.util.regex.Pattern RPM_PACKAGE_NAME_PATTERN;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final jdk.jpackage.internal.BundlerParamInfo<java.lang.String> PACKAGE_NAME;
descriptor: Ljdk/jpackage/internal/BundlerParamInfo;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljdk/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
public static final jdk.jpackage.internal.BundlerParamInfo<java.lang.String> LICENSE_TYPE;
descriptor: Ljdk/jpackage/internal/BundlerParamInfo;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljdk/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
public static final jdk.jpackage.internal.BundlerParamInfo<java.lang.String> GROUP;
descriptor: Ljdk/jpackage/internal/BundlerParamInfo;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljdk/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
private static final java.lang.String DEFAULT_SPEC_TEMPLATE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "template.spec"
public static final java.lang.String TOOL_RPM;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "rpm"
public static final java.lang.String TOOL_RPMBUILD;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "rpmbuild"
public static final jdk.jpackage.internal.DottedVersion TOOL_RPMBUILD_MIN_VERSION;
descriptor: Ljdk/jpackage/internal/DottedVersion;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private java.lang.String rpmArch;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: ldc "[a-z\\d\\+\\-\\.\\_]+"
iconst_2
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;I)Ljava/util/regex/Pattern;
1: putstatic jdk.jpackage.internal.LinuxRpmBundler.RPM_PACKAGE_NAME_PATTERN:Ljava/util/regex/Pattern;
2: new jdk.jpackage.internal.StandardBundlerParam
dup
3: getstatic jdk.jpackage.internal.Arguments$CLIOptions.LINUX_BUNDLE_NAME:Ljdk/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.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/jpackage/internal/LinuxRpmBundler.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/jpackage/internal/LinuxRpmBundler.lambda$1(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
7: invokespecial jdk.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
8: putstatic jdk.jpackage.internal.LinuxRpmBundler.PACKAGE_NAME:Ljdk/jpackage/internal/BundlerParamInfo;
9: new jdk.jpackage.internal.StandardBundlerParam
dup
10: getstatic jdk.jpackage.internal.Arguments$CLIOptions.LINUX_RPM_LICENSE_TYPE:Ljdk/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
11: ldc Ljava/lang/String;
12: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/jpackage/internal/LinuxRpmBundler.lambda$2(Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/util/Map;)Ljava/lang/String;
13: 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/LinuxRpmBundler.lambda$3(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
14: invokespecial jdk.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
15: putstatic jdk.jpackage.internal.LinuxRpmBundler.LICENSE_TYPE:Ljdk/jpackage/internal/BundlerParamInfo;
16: new jdk.jpackage.internal.StandardBundlerParam
dup
17: getstatic jdk.jpackage.internal.Arguments$CLIOptions.LINUX_CATEGORY:Ljdk/jpackage/internal/Arguments$CLIOptions;
invokevirtual jdk.jpackage.internal.Arguments$CLIOptions.getId:()Ljava/lang/String;
18: ldc Ljava/lang/String;
19: 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/LinuxRpmBundler.lambda$4(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/jpackage/internal/LinuxRpmBundler.lambda$5(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; (6)
(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
21: invokespecial jdk.jpackage.internal.StandardBundlerParam.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;)V
22: putstatic jdk.jpackage.internal.LinuxRpmBundler.GROUP:Ljdk/jpackage/internal/BundlerParamInfo;
23: ldc "4.10"
24: invokestatic jdk.jpackage.internal.DottedVersion.lazy:(Ljava/lang/String;)Ljdk/jpackage/internal/DottedVersion;
putstatic jdk.jpackage.internal.LinuxRpmBundler.TOOL_RPMBUILD_MIN_VERSION:Ljdk/jpackage/internal/DottedVersion;
25: return
LocalVariableTable:
Start End Slot Name Signature
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.jpackage.internal.LinuxRpmBundler.PACKAGE_NAME:Ljdk/jpackage/internal/BundlerParamInfo;
invokespecial jdk.jpackage.internal.LinuxPackageBundler.<init>:(Ljdk/jpackage/internal/BundlerParamInfo;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jpackage/internal/LinuxRpmBundler;
public void doValidate(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jpackage/internal/LinuxRpmBundler;
0 1 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
Exceptions:
throws jdk.jpackage.internal.ConfigException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
params
private static jdk.jpackage.internal.ToolValidator createRpmbuildToolValidator();
descriptor: ()Ljdk/jpackage/internal/ToolValidator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: ldc " (\\d+\\.\\d+)"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
astore 0
start local 0 1: new jdk.jpackage.internal.ToolValidator
dup
ldc "rpmbuild"
invokespecial jdk.jpackage.internal.ToolValidator.<init>:(Ljava/lang/String;)V
2: getstatic jdk.jpackage.internal.LinuxRpmBundler.TOOL_RPMBUILD_MIN_VERSION:Ljdk/jpackage/internal/DottedVersion;
3: invokevirtual jdk.jpackage.internal.ToolValidator.setMinimalVersion:(Ljava/lang/Comparable;)Ljdk/jpackage/internal/ToolValidator;
4: aload 0
invokedynamic apply(Ljava/util/regex/Pattern;)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/LinuxRpmBundler.lambda$6(Ljava/util/regex/Pattern;Ljava/util/stream/Stream;)Ljava/lang/String; (6)
(Ljava/util/stream/Stream;)Ljava/lang/String;
invokevirtual jdk.jpackage.internal.ToolValidator.setVersionParser:(Ljava/util/function/Function;)Ljdk/jpackage/internal/ToolValidator;
5: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 6 0 pattern Ljava/util/regex/Pattern;
protected 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: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: invokestatic jdk.jpackage.internal.LinuxRpmBundler.createRpmbuildToolValidator:()Ljdk/jpackage/internal/ToolValidator;
invokestatic java.util.List.of:(Ljava/lang/Object;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jpackage/internal/LinuxRpmBundler;
0 1 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/jpackage/internal/ToolValidator;>;
MethodParameters:
Name Flags
params
protected 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: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
invokevirtual jdk.jpackage.internal.LinuxRpmBundler.specFile:(Ljava/util/Map;)Ljava/nio/file/Path;
astore 4
start local 4 1: ldc "template.spec"
aload 2
invokestatic jdk.jpackage.internal.OverridableResource.createResource:(Ljava/lang/String;Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
2: ldc "resource.rpm-spec-file"
invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual jdk.jpackage.internal.OverridableResource.setCategory:(Ljava/lang/String;)Ljdk/jpackage/internal/OverridableResource;
3: aload 1
invokevirtual jdk.jpackage.internal.OverridableResource.setSubstitutionData:(Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
4: aload 4
invokevirtual jdk.jpackage.internal.OverridableResource.saveToFile:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource$Source;
pop
5: aload 0
aload 2
aload 3
invokevirtual jdk.jpackage.internal.LinuxRpmBundler.buildRPM:(Ljava/util/Map;Ljava/nio/file/Path;)Ljava/nio/file/Path;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jpackage/internal/LinuxRpmBundler;
0 6 1 replacementData Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
0 6 2 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
0 6 3 outputParentDir Ljava/nio/file/Path;
1 6 4 specFile Ljava/nio/file/Path;
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 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=4, locals=6, 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: getstatic jdk.jpackage.internal.LinuxRpmBundler.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
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 3
start local 3 2: aload 3
astore 4
start local 4 3: aload 3
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokestatic jdk.jpackage.internal.LinuxRpmBundler.isInstallDirInUsrTree:(Ljava/lang/String;)Z
ifne 5
4: aload 4
getstatic jdk.jpackage.internal.LinuxRpmBundler.PACKAGE_NAME:Ljdk/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 4
5: StackMap locals: java.util.Map java.nio.file.Path java.nio.file.Path
StackMap stack:
aload 2
ldc "APPLICATION_PREFIX"
aload 3
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 2
ldc "APPLICATION_DIRECTORY"
aload 4
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 2
ldc "APPLICATION_SUMMARY"
getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME: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
8: aload 2
ldc "APPLICATION_LICENSE_TYPE"
getstatic jdk.jpackage.internal.LinuxRpmBundler.LICENSE_TYPE:Ljdk/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.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
9: getstatic jdk.jpackage.internal.StandardBundlerParam.LICENSE_FILE:Ljdk/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 10: aload 5
ifnull 12
11: aload 5
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.toAbsolutePath:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.normalize:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 5
12: StackMap locals: java.lang.String
StackMap stack:
aload 2
ldc "APPLICATION_LICENSE_FILE"
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 2
ldc "APPLICATION_GROUP"
getstatic jdk.jpackage.internal.LinuxRpmBundler.GROUP:Ljdk/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.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
14: aload 2
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 15 0 this Ljdk/jpackage/internal/LinuxRpmBundler;
0 15 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
1 15 2 data Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
2 15 3 prefix Ljava/nio/file/Path;
3 15 4 appDirectory Ljava/nio/file/Path;
10 15 5 licenseFile 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 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: (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/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/jpackage/internal/LinuxRpmBundler.lambda$7(Ljava/nio/file/Path;)Ljava/util/stream/Stream; (6)
(Ljava/nio/file/Path;)Ljava/util/stream/Stream;
invokevirtual jdk.jpackage.internal.LibProvidersLookup.setPackageLookup:(Ljdk/jpackage/internal/LibProvidersLookup$PackageLookup;)Ljdk/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/jpackage/internal/LinuxRpmBundler;
0 2 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
0 2 2 libProvidersLookup Ljdk/jpackage/internal/LibProvidersLookup;
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljdk/jpackage/internal/LibProvidersLookup;)V
MethodParameters:
Name Flags
params
libProvidersLookup
protected 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: (0x0004) ACC_PROTECTED
Code:
stack=9, 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: aload 0
aload 1
invokevirtual jdk.jpackage.internal.LinuxRpmBundler.specFile:(Ljava/util/Map;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 4
start local 4 2: new jdk.jpackage.internal.PackageProperty
dup
ldc "Name"
getstatic jdk.jpackage.internal.LinuxRpmBundler.PACKAGE_NAME:Ljdk/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
3: ldc "APPLICATION_PACKAGE"
aload 4
4: invokespecial jdk.jpackage.internal.PackageProperty.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
5: new jdk.jpackage.internal.PackageProperty
dup
ldc "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
6: ldc "APPLICATION_VERSION"
aload 4
7: invokespecial jdk.jpackage.internal.PackageProperty.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
8: new jdk.jpackage.internal.PackageProperty
dup
ldc "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
9: ldc "APPLICATION_RELEASE"
aload 4
10: invokespecial jdk.jpackage.internal.PackageProperty.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
11: new jdk.jpackage.internal.PackageProperty
dup
ldc "Arch"
aload 0
invokevirtual jdk.jpackage.internal.LinuxRpmBundler.rpmArch:()Ljava/lang/String;
aconst_null
aload 4
invokespecial jdk.jpackage.internal.PackageProperty.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
12: invokestatic java.util.List.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/List;
astore 5
start local 5 13: iconst_5
anewarray java.lang.String
dup
iconst_0
ldc "rpm"
aastore
dup
iconst_1
ldc "-qp"
aastore
dup
iconst_2
ldc "--queryformat"
aastore
dup
iconst_3
14: aload 5
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
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/LinuxRpmBundler.lambda$8(Ljdk/jpackage/internal/PackageProperty;)Ljava/lang/String; (6)
(Ljdk/jpackage/internal/PackageProperty;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
15: ldc "\\n"
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.String
aastore
dup
iconst_4
16: aload 2
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
aastore
17: invokestatic jdk.jpackage.internal.Executor.of:([Ljava/lang/String;)Ljdk/jpackage/internal/Executor;
18: iconst_1
invokevirtual jdk.jpackage.internal.Executor.saveOutput:(Z)Ljdk/jpackage/internal/Executor;
invokevirtual jdk.jpackage.internal.Executor.executeExpectSuccess:()Ljdk/jpackage/internal/Executor;
invokevirtual jdk.jpackage.internal.Executor.getOutput:()Ljava/util/List;
19: astore 6
start local 6 20: aload 6
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
start local 7 21: aload 5
aload 3
aload 7
invokedynamic accept(Ljava/util/List;Ljava/util/Iterator;)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/LinuxRpmBundler.lambda$9(Ljava/util/List;Ljava/util/Iterator;Ljdk/jpackage/internal/PackageProperty;)V (6)
(Ljdk/jpackage/internal/PackageProperty;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
end local 7 end local 6 end local 5 22: goto 25
StackMap locals: jdk.jpackage.internal.LinuxRpmBundler java.util.Map java.nio.file.Path java.util.List java.lang.String
StackMap stack: java.io.IOException
23: astore 5
start local 5 24: aload 5
invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
end local 5 25: StackMap locals:
StackMap stack:
aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Ljdk/jpackage/internal/LinuxRpmBundler;
0 26 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
0 26 2 packageBundle Ljava/nio/file/Path;
1 26 3 errors Ljava/util/List<Ljdk/jpackage/internal/ConfigException;>;
2 26 4 specFileName Ljava/lang/String;
13 22 5 properties Ljava/util/List<Ljdk/jpackage/internal/PackageProperty;>;
20 22 6 actualValues Ljava/util/List<Ljava/lang/String;>;
21 22 7 actualValuesIt Ljava/util/Iterator<Ljava/lang/String;>;
24 25 5 ex Ljava/io/IOException;
Exception table:
from to target type
2 22 23 Class java.io.IOException
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
private java.lang.String rpmArch();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield jdk.jpackage.internal.LinuxRpmBundler.rpmArch:Ljava/lang/String;
ifnonnull 8
1: invokestatic jdk.jpackage.internal.LinuxRpmBundler$RpmArchReader.values:()[Ljdk/jpackage/internal/LinuxRpmBundler$RpmArchReader;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 7
StackMap locals: jdk.jpackage.internal.LinuxRpmBundler top int int jdk.jpackage.internal.LinuxRpmBundler$RpmArchReader[]
StackMap stack:
2: aload 4
iload 2
aaload
astore 1
start local 1 3: aload 0
aload 1
invokevirtual jdk.jpackage.internal.LinuxRpmBundler$RpmArchReader.getRpmArch:()Ljava/lang/String;
putfield jdk.jpackage.internal.LinuxRpmBundler.rpmArch:Ljava/lang/String;
4: aload 0
getfield jdk.jpackage.internal.LinuxRpmBundler.rpmArch:Ljava/lang/String;
ifnull 6
5: goto 8
end local 1 6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
iload 3
if_icmplt 2
8: StackMap locals: jdk.jpackage.internal.LinuxRpmBundler
StackMap stack:
aload 0
getfield jdk.jpackage.internal.LinuxRpmBundler.rpmArch:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/jpackage/internal/LinuxRpmBundler;
3 6 1 rpmArchReader Ljdk/jpackage/internal/LinuxRpmBundler$RpmArchReader;
Exceptions:
throws java.io.IOException
private java.nio.file.Path specFile(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljava/nio/file/Path;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.jpackage.internal.StandardBundlerParam.TEMP_ROOT:Ljdk/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.nio.file.Path
ldc "SPECS"
iconst_1
anewarray java.lang.String
dup
iconst_0
1: new java.lang.StringBuilder
dup
getstatic jdk.jpackage.internal.LinuxRpmBundler.PACKAGE_NAME:Ljdk/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.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 ".spec"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
2: 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;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jpackage/internal/LinuxRpmBundler;
0 3 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljava/nio/file/Path;
MethodParameters:
Name Flags
params
private java.nio.file.Path buildRPM(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: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
1: ldc "%s-%s-%s.%s.rpm"
iconst_4
anewarray java.lang.Object
dup
iconst_0
getstatic jdk.jpackage.internal.LinuxRpmBundler.PACKAGE_NAME:Ljdk/jpackage/internal/BundlerParamInfo;
aload 1
invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
aastore
dup
iconst_1
2: getstatic jdk.jpackage.internal.StandardBundlerParam.VERSION:Ljdk/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
aastore
dup
iconst_2
getstatic jdk.jpackage.internal.StandardBundlerParam.RELEASE:Ljdk/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
aastore
dup
iconst_3
aload 0
invokevirtual jdk.jpackage.internal.LinuxRpmBundler.rpmArch:()Ljava/lang/String;
aastore
3: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 3
start local 3 4: ldc "message.outputting-bundle-location"
5: invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
6: aload 3
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
aastore
7: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
8: aload 0
aload 1
invokevirtual jdk.jpackage.internal.LinuxRpmBundler.createMetaPackage:(Ljava/util/Map;)Ljdk/jpackage/internal/PlatformPackage;
astore 4
start local 4 9: bipush 11
anewarray java.lang.String
dup
iconst_0
10: ldc "rpmbuild"
aastore
dup
iconst_1
11: ldc "-bb"
aastore
dup
iconst_2
aload 0
aload 1
invokevirtual jdk.jpackage.internal.LinuxRpmBundler.specFile:(Ljava/util/Map;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
aastore
dup
iconst_3
12: ldc "--define"
aastore
dup
iconst_4
ldc "%%_sourcedir %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
13: aload 4
invokeinterface jdk.jpackage.internal.PlatformPackage.sourceRoot:()Ljava/nio/file/Path;
aastore
14: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aastore
dup
iconst_5
15: ldc "--define"
aastore
dup
bipush 6
ldc "%%_rpmdir %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aastore
dup
bipush 7
16: ldc "--define"
aastore
dup
bipush 8
ldc "%%_topdir %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
17: getstatic jdk.jpackage.internal.StandardBundlerParam.TEMP_ROOT:Ljdk/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.nio.file.Path
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
aastore
18: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aastore
dup
bipush 9
19: ldc "--define"
aastore
dup
bipush 10
ldc "%%_rpmfilename %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aastore
20: invokestatic jdk.jpackage.internal.Executor.of:([Ljava/lang/String;)Ljdk/jpackage/internal/Executor;
21: invokevirtual jdk.jpackage.internal.Executor.executeExpectSuccess:()Ljdk/jpackage/internal/Executor;
pop
22: ldc "message.output-bundle-location"
invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
23: aload 3
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
aastore
24: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
25: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Ljdk/jpackage/internal/LinuxRpmBundler;
0 26 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
0 26 2 outdir Ljava/nio/file/Path;
4 26 3 rpmFile Ljava/nio/file/Path;
9 26 4 thePackage Ljdk/jpackage/internal/PlatformPackage;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/nio/file/Path;)Ljava/nio/file/Path;
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 "rpm.bundler.name"
invokestatic jdk.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/jpackage/internal/LinuxRpmBundler;
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 "rpm"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jpackage/internal/LinuxRpmBundler;
public boolean supported(boolean);
descriptor: (Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: invokestatic jdk.jpackage.internal.Platform.isLinux:()Z
ifeq 1
invokestatic jdk.jpackage.internal.LinuxRpmBundler.createRpmbuildToolValidator:()Ljdk/jpackage/internal/ToolValidator;
invokevirtual jdk.jpackage.internal.ToolValidator.validate:()Ljdk/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/jpackage/internal/LinuxRpmBundler;
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.jpackage.internal.LinuxDebBundler.isDebian:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jpackage/internal/LinuxRpmBundler;
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.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.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.jpackage.internal.StandardBundlerParam.INSTALLER_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
aload 0
invokevirtual jdk.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=3, args_size=2
start local 0 start local 1 0: getstatic jdk.jpackage.internal.LinuxRpmBundler.RPM_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: ldc "error.invalid-value-for-package-name"
astore 2
start local 2 2: new java.lang.IllegalArgumentException
dup
3: new jdk.jpackage.internal.ConfigException
dup
4: aload 2
invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
5: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
6: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".advice"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
7: invokespecial jdk.jpackage.internal.ConfigException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
8: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 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;>;
2 9 2 msgKey Ljava/lang/String;
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 "param.license-type.default"
invokestatic jdk.jpackage.internal.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
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: aconst_null
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.regex.Pattern, java.util.stream.Stream);
descriptor: (Ljava/util/regex/Pattern;Ljava/util/stream/Stream;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=2
start local 1 0: aload 1
lconst_1
invokeinterface java.util.stream.Stream.limit:(J)Ljava/util/stream/Stream;
1: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
2: invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
3: iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
4: astore 2
start local 2 5: aload 0
aload 2
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 3
start local 3 6: aload 3
invokevirtual java.util.regex.Matcher.find:()Z
ifeq 8
7: aload 3
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
areturn
8: StackMap locals: java.lang.String java.util.regex.Matcher
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 9 1 lines Ljava/util/stream/Stream<Ljava/lang/String;>;
5 9 2 versionString Ljava/lang/String;
6 9 3 matcher Ljava/util/regex/Matcher;
private static java.util.stream.Stream lambda$7(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=1, args_size=1
start local 0 0: bipush 7
anewarray java.lang.String
dup
iconst_0
ldc "rpm"
aastore
dup
iconst_1
1: ldc "-q"
aastore
dup
iconst_2
ldc "--queryformat"
aastore
dup
iconst_3
ldc "%{name}\\n"
aastore
dup
iconst_4
2: ldc "-q"
aastore
dup
iconst_5
ldc "--whatprovides"
aastore
dup
bipush 6
aload 0
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
aastore
3: invokestatic jdk.jpackage.internal.Executor.of:([Ljava/lang/String;)Ljdk/jpackage/internal/Executor;
4: iconst_1
invokevirtual jdk.jpackage.internal.Executor.saveOutput:(Z)Ljdk/jpackage/internal/Executor;
invokevirtual jdk.jpackage.internal.Executor.executeExpectSuccess:()Ljdk/jpackage/internal/Executor;
invokevirtual jdk.jpackage.internal.Executor.getOutput:()Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
5: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 file Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
private static java.lang.String lambda$8(jdk.jpackage.internal.PackageProperty);
descriptor: (Ljdk/jpackage/internal/PackageProperty;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "%%{%s}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
1: aload 0
getfield jdk.jpackage.internal.PackageProperty.name:Ljava/lang/String;
aastore
2: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 entry Ljdk/jpackage/internal/PackageProperty;
private static void lambda$9(java.util.List, java.util.Iterator, jdk.jpackage.internal.PackageProperty);
descriptor: (Ljava/util/List;Ljava/util/Iterator;Ljdk/jpackage/internal/PackageProperty;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 2 0: aload 0
aload 2
1: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
2: invokevirtual jdk.jpackage.internal.PackageProperty.verifyValue:(Ljava/lang/String;)Ljdk/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/jpackage/internal/PackageProperty;
}
SourceFile: "LinuxRpmBundler.java"
NestMembers:
jdk.jpackage.internal.LinuxRpmBundler$RpmArchReader
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
public abstract PackageLookup = jdk.jpackage.internal.LibProvidersLookup$PackageLookup of jdk.jpackage.internal.LibProvidersLookup
private final RpmArchReader = jdk.jpackage.internal.LinuxRpmBundler$RpmArchReader of jdk.jpackage.internal.LinuxRpmBundler
final Source = jdk.jpackage.internal.OverridableResource$Source of jdk.jpackage.internal.OverridableResource