public final class jdk.incubator.jpackage.internal.LibProvidersLookup
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.incubator.jpackage.internal.LibProvidersLookup
super_class: java.lang.Object
{
private jdk.incubator.jpackage.internal.LibProvidersLookup$PackageLookup packageLookup;
descriptor: Ljdk/incubator/jpackage/internal/LibProvidersLookup$PackageLookup;
flags: (0x0002) ACC_PRIVATE
private static final java.lang.String TOOL_LDD;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "ldd"
private static final java.util.regex.Pattern LIB_IN_LDD_OUTPUT_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=1, locals=0, args_size=0
0: ldc "^\\s*\\S+\\s*=>\\s*(\\S+)\\s+\\(0[xX]\\p{XDigit}+\\)"
1: invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic jdk.incubator.jpackage.internal.LibProvidersLookup.LIB_IN_LDD_OUTPUT_REGEX:Ljava/util/regex/Pattern;
2: return
LocalVariableTable:
Start End Slot Name Signature
static boolean supported();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new jdk.incubator.jpackage.internal.ToolValidator
dup
ldc "ldd"
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
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/jpackage/internal/LibProvidersLookup;
jdk.incubator.jpackage.internal.LibProvidersLookup setPackageLookup(jdk.incubator.jpackage.internal.LibProvidersLookup$PackageLookup);
descriptor: (Ljdk/incubator/jpackage/internal/LibProvidersLookup$PackageLookup;)Ljdk/incubator/jpackage/internal/LibProvidersLookup;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.incubator.jpackage.internal.LibProvidersLookup.packageLookup:Ljdk/incubator/jpackage/internal/LibProvidersLookup$PackageLookup;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/jpackage/internal/LibProvidersLookup;
0 2 1 v Ljdk/incubator/jpackage/internal/LibProvidersLookup$PackageLookup;
MethodParameters:
Name Flags
v
java.util.List<java.lang.String> execute(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/util/List;
flags: (0x0000)
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 3
aconst_null
astore 4
1: aload 1
iconst_0
anewarray java.nio.file.FileVisitOption
invokestatic java.nio.file.Files.walk:(Ljava/nio/file/Path;[Ljava/nio/file/FileVisitOption;)Ljava/util/stream/Stream;
astore 5
start local 5 2: aload 5
invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
jdk/incubator/jpackage/internal/LibProvidersLookup.lambda$14(Ljava/nio/file/Path;)Z (6)
(Ljava/nio/file/Path;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
3: invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
jdk/incubator/jpackage/internal/LibProvidersLookup.canDependOnLibs(Ljava/nio/file/Path;)Z (6)
(Ljava/nio/file/Path;)Z
4: invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
5: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
6: invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
7: astore 2
start local 2 8: aload 5
ifnull 14
aload 5
invokeinterface java.util.stream.Stream.close:()V
goto 14
end local 2 StackMap locals: jdk.incubator.jpackage.internal.LibProvidersLookup java.nio.file.Path top java.lang.Throwable java.lang.Throwable java.util.stream.Stream
StackMap stack: java.lang.Throwable
9: astore 3
aload 5
ifnull 10
aload 5
invokeinterface java.util.stream.Stream.close:()V
end local 5 StackMap locals:
StackMap stack:
10: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 4
aload 3
ifnonnull 12
aload 4
astore 3
goto 13
StackMap locals:
StackMap stack:
12: aload 3
aload 4
if_acmpeq 13
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 3
athrow
start local 2 14: StackMap locals: jdk.incubator.jpackage.internal.LibProvidersLookup java.nio.file.Path java.util.List
StackMap stack:
aload 2
invokestatic jdk.incubator.jpackage.internal.LibProvidersLookup.getNeededLibsForFiles:(Ljava/util/List;)Ljava/util/Collection;
astore 3
start local 3 15: aload 3
invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
aload 0
invokedynamic apply(Ljdk/incubator/jpackage/internal/LibProvidersLookup;)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/LibProvidersLookup.lambda$2(Ljava/nio/file/Path;)Ljava/util/List; (7)
(Ljava/nio/file/Path;)Ljava/util/List;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
16: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
java/util/Collection.stream()Ljava/util/stream/Stream; (9 itf)
(Ljava/util/List;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.flatMap:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.sorted:()Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.distinct:()Ljava/util/stream/Stream;
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
17: astore 4
start local 4 18: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljdk/incubator/jpackage/internal/LibProvidersLookup;
0 19 1 root Ljava/nio/file/Path;
8 9 2 allPackageFiles Ljava/util/List<Ljava/nio/file/Path;>;
14 19 2 allPackageFiles Ljava/util/List<Ljava/nio/file/Path;>;
2 10 5 stream Ljava/util/stream/Stream<Ljava/nio/file/Path;>;
15 19 3 neededLibs Ljava/util/Collection<Ljava/nio/file/Path;>;
18 19 4 neededPackages Ljava/util/List<Ljava/lang/String;>;
Exception table:
from to target type
2 8 9 any
1 11 11 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
root
private static java.util.List<java.nio.file.Path> getNeededLibsForFile(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "ldd"
aastore
dup
iconst_1
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;
aload 1
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/LibProvidersLookup.lambda$6(Ljava/util/List;Ljava/util/stream/Stream;)V (6)
(Ljava/util/stream/Stream;)V
invokevirtual jdk.incubator.jpackage.internal.Executor.setOutputConsumer:(Ljava/util/function/Consumer;)Ljdk/incubator/jpackage/internal/Executor;
2: invokevirtual jdk.incubator.jpackage.internal.Executor.execute:()I
3: istore 2
start local 2 4: iload 2
ifeq 6
5: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
6: StackMap locals: java.util.List int
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 path Ljava/nio/file/Path;
1 7 1 result Ljava/util/List<Ljava/nio/file/Path;>;
4 7 2 ret I
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;)Ljava/util/List<Ljava/nio/file/Path;>;
MethodParameters:
Name Flags
path
private static java.util.Collection<java.nio.file.Path> getNeededLibsForFiles(java.util.List<java.nio.file.Path>);
descriptor: (Ljava/util/List;)Ljava/util/Collection;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
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/incubator/jpackage/internal/LibProvidersLookup.lambda$11(Ljava/nio/file/Path;)Ljava/util/List; (6)
(Ljava/nio/file/Path;)Ljava/util/List;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)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;
java/util/Collection.stream()Ljava/util/stream/Stream; (9 itf)
(Ljava/util/List;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.flatMap:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Set
2: astore 1
start local 1 3: aload 0
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;
java/nio/file/Path.getFileName()Ljava/nio/file/Path; (9 itf)
(Ljava/nio/file/Path;)Ljava/nio/file/Path;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
4: invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
5: invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Set
astore 2
start local 2 6: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
start local 3 7: goto 11
8: StackMap locals: java.util.Set java.util.Set java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
astore 4
start local 4 9: aload 2
aload 4
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 11
10: aload 3
invokeinterface java.util.Iterator.remove:()V
end local 4 11: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
12: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 paths Ljava/util/List<Ljava/nio/file/Path;>;
3 13 1 allLibs Ljava/util/Set<Ljava/nio/file/Path;>;
6 13 2 excludedNames Ljava/util/Set<Ljava/nio/file/Path;>;
7 13 3 it Ljava/util/Iterator<Ljava/nio/file/Path;>;
9 11 4 libName Ljava/nio/file/Path;
Signature: (Ljava/util/List<Ljava/nio/file/Path;>;)Ljava/util/Collection<Ljava/nio/file/Path;>;
MethodParameters:
Name Flags
paths
private static boolean canDependOnLibs(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
invokevirtual java.io.File.canExecute:()Z
ifne 1
aload 0
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
ldc ".so"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 path Ljava/nio/file/Path;
MethodParameters:
Name Flags
path
private static boolean lambda$14(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isRegularFile:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 arg0 Ljava/nio/file/Path;
private java.util.List lambda$2(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/util/List;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.jpackage.internal.LibProvidersLookup.packageLookup:Ljdk/incubator/jpackage/internal/LibProvidersLookup$PackageLookup;
aload 1
invokeinterface jdk.incubator.jpackage.internal.LibProvidersLookup$PackageLookup.apply:(Ljava/nio/file/Path;)Ljava/util/stream/Stream;
1: invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
java/util/Objects.nonNull(Ljava/lang/Object;)Z (6)
(Ljava/lang/String;)Z
2: invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
3: invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
java/lang/String.isBlank()Z (5)
(Ljava/lang/String;)Z
invokestatic java.util.function.Predicate.not:(Ljava/util/function/Predicate;)Ljava/util/function/Predicate;
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.distinct:()Ljava/util/stream/Stream;
4: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
5: invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
6: astore 2
start local 2 7: ldc "%s is provided by %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
8: aload 2
9: areturn
end local 2 10: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 11: aload 2
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
12: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
astore 3
start local 3 13: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/incubator/jpackage/internal/LibProvidersLookup;
0 14 1 libPath Ljava/nio/file/Path;
7 10 2 packageNames Ljava/util/List<Ljava/lang/String;>;
11 14 2 ex Ljava/io/IOException;
13 14 3 packageNames Ljava/util/List<Ljava/lang/String;>;
Exception table:
from to target type
0 9 10 Class java.io.IOException
private static void lambda$6(java.util.List, java.util.stream.Stream);
descriptor: (Ljava/util/List;Ljava/util/stream/Stream;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 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/LibProvidersLookup.lambda$7(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;
1: invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
java/util/Objects.nonNull(Ljava/lang/Object;)Z (6)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)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/incubator/jpackage/internal/LibProvidersLookup.lambda$15(Ljava/lang/String;)Ljava/nio/file/Path; (6)
(Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
aload 0
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
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
java/util/List.add(Ljava/lang/Object;)Z (9 itf)
(Ljava/nio/file/Path;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
2: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 lines Ljava/util/stream/Stream<Ljava/lang/String;>;
private static java.util.List lambda$11(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/util/List;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
invokestatic jdk.incubator.jpackage.internal.LibProvidersLookup.getNeededLibsForFile:(Ljava/nio/file/Path;)Ljava/util/List;
astore 1
start local 1 1: goto 5
end local 1 StackMap locals:
StackMap stack: java.io.IOException
2: astore 2
start local 2 3: aload 2
invokestatic jdk.incubator.jpackage.internal.Log.verbose:(Ljava/lang/Throwable;)V
4: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
astore 1
end local 2 start local 1 5: StackMap locals: java.util.List
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 path Ljava/nio/file/Path;
1 2 1 libs Ljava/util/List<Ljava/nio/file/Path;>;
5 6 1 libs Ljava/util/List<Ljava/nio/file/Path;>;
3 5 2 ex Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
private static java.lang.String lambda$7(java.lang.String);
descriptor: (Ljava/lang/String;)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.LibProvidersLookup.LIB_IN_LDD_OUTPUT_REGEX:Ljava/util/regex/Pattern;
aload 0
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 1
start local 1 1: aload 1
invokevirtual java.util.regex.Matcher.find:()Z
ifeq 3
2: aload 1
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
areturn
3: StackMap locals: java.util.regex.Matcher
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 line Ljava/lang/String;
1 4 1 matcher Ljava/util/regex/Matcher;
private static java.nio.file.Path lambda$15(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 arg0 Ljava/lang/String;
}
SourceFile: "LibProvidersLookup.java"
NestMembers:
jdk.incubator.jpackage.internal.LibProvidersLookup$PackageLookup
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract PackageLookup = jdk.incubator.jpackage.internal.LibProvidersLookup$PackageLookup of jdk.incubator.jpackage.internal.LibProvidersLookup