class org.graalvm.compiler.hotspot.test.CompileTheWorld$JRTClassPathEntry extends org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.hotspot.test.CompileTheWorld$JRTClassPathEntry
super_class: org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry
{
private final java.lang.String limitModules;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry.<init>:(Ljava/lang/String;)V
1: aload 0
aload 2
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld$JRTClassPathEntry.limitModules:Ljava/lang/String;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$JRTClassPathEntry;
0 3 1 name Ljava/lang/String;
0 3 2 limitModules Ljava/lang/String;
MethodParameters:
Name Flags
name
limitModules
public java.lang.ClassLoader createClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: ldc "jrt:/"
invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
astore 1
start local 1 1: new java.net.URLClassLoader
dup
iconst_1
anewarray java.net.URL
dup
iconst_0
aload 1
aastore
invokespecial java.net.URLClassLoader.<init>:([Ljava/net/URL;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$JRTClassPathEntry;
1 2 1 url Ljava/net/URL;
Exceptions:
throws java.io.IOException
public java.util.List<java.lang.String> getClassNames();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, 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: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld$JRTClassPathEntry.limitModules:Ljava/lang/String;
ifnull 11
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld$JRTClassPathEntry.limitModules:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 11
3: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld$JRTClassPathEntry.limitModules:Ljava/lang/String;
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 10
StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld$JRTClassPathEntry java.util.Set java.util.Set top int int java.lang.String[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 3
ldc "~"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 8
6: aload 1
aload 3
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: goto 9
8: StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld$JRTClassPathEntry java.util.Set java.util.Set java.lang.String int int java.lang.String[]
StackMap stack:
aload 2
aload 3
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 3 9: StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld$JRTClassPathEntry java.util.Set java.util.Set top int int java.lang.String[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 5
if_icmplt 4
11: StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld$JRTClassPathEntry java.util.Set java.util.Set
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 12: ldc "jrt:/"
invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
invokestatic java.nio.file.FileSystems.newFileSystem:(Ljava/net/URI;Ljava/util/Map;)Ljava/nio/file/FileSystem;
astore 4
start local 4 13: aload 4
ldc "/modules/"
iconst_0
anewarray java.lang.String
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 5
start local 5 14: aload 5
ldc 2147483647
15: invokedynamic test()Ljava/util/function/BiPredicate;
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;)Z
org/graalvm/compiler/hotspot/test/CompileTheWorld$JRTClassPathEntry.lambda$0(Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Z (6)
(Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Z
iconst_0
anewarray java.nio.file.FileVisitOption
16: invokestatic java.nio.file.Files.find:(Ljava/nio/file/Path;ILjava/util/function/BiPredicate;[Ljava/nio/file/FileVisitOption;)Ljava/util/stream/Stream;
17: aload 2
aload 1
aload 3
invokedynamic accept(Ljava/util/Set;Ljava/util/Set;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
org/graalvm/compiler/hotspot/test/CompileTheWorld$JRTClassPathEntry.lambda$1(Ljava/util/Set;Ljava/util/Set;Ljava/util/List;Ljava/nio/file/Path;)V (6)
(Ljava/nio/file/Path;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
18: 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 19 0 this Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$JRTClassPathEntry;
1 19 1 negative Ljava/util/Set<Ljava/lang/String;>;
2 19 2 positive Ljava/util/Set<Ljava/lang/String;>;
5 9 3 s Ljava/lang/String;
12 19 3 classNames Ljava/util/List<Ljava/lang/String;>;
13 19 4 fs Ljava/nio/file/FileSystem;
14 19 5 top Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/List<Ljava/lang/String;>;
private static boolean lambda$0(java.nio.file.Path, java.nio.file.attribute.BasicFileAttributes);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.nio.file.attribute.BasicFileAttributes.isRegularFile:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
0 1 1 attrs Ljava/nio/file/attribute/BasicFileAttributes;
private static void lambda$1(java.util.Set, java.util.Set, java.util.List, java.nio.file.Path);
descriptor: (Ljava/util/Set;Ljava/util/Set;Ljava/util/List;Ljava/nio/file/Path;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=8, args_size=4
start local 3 0: aload 3
invokeinterface java.nio.file.Path.getNameCount:()I
istore 4
start local 4 1: iload 4
iconst_2
if_icmple 10
2: aload 3
iload 4
iconst_1
isub
invokeinterface java.nio.file.Path.getName:(I)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 5
start local 5 3: aload 5
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 10
aload 5
ldc "module-info.class"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
4: aload 3
iconst_1
invokeinterface java.nio.file.Path.getName:(I)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 6
start local 6 5: aload 0
invokeinterface java.util.Set.isEmpty:()Z
ifne 6
aload 0
aload 6
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 10
6: StackMap locals: int java.lang.String java.lang.String
StackMap stack:
aload 1
invokeinterface java.util.Set.isEmpty:()Z
ifne 7
aload 1
aload 6
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 10
7: StackMap locals:
StackMap stack:
aload 3
iconst_2
iload 4
invokeinterface java.nio.file.Path.subpath:(II)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 7
start local 7 8: aload 7
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
iconst_0
aload 7
invokevirtual java.lang.String.length:()I
ldc ".class"
invokevirtual java.lang.String.length:()I
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 7
9: aload 2
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 6 end local 5 end local 4 10: StackMap locals:
StackMap stack:
return
end local 3 LocalVariableTable:
Start End Slot Name Signature
0 11 3 p Ljava/nio/file/Path;
1 10 4 nameCount I
3 10 5 base Ljava/lang/String;
5 10 6 module Ljava/lang/String;
8 10 7 className Ljava/lang/String;
}
SourceFile: "CompileTheWorld.java"
NestHost: org.graalvm.compiler.hotspot.test.CompileTheWorld
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
abstract ClassPathEntry = org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry of org.graalvm.compiler.hotspot.test.CompileTheWorld
JRTClassPathEntry = org.graalvm.compiler.hotspot.test.CompileTheWorld$JRTClassPathEntry of org.graalvm.compiler.hotspot.test.CompileTheWorld