class jdk.internal.jrtfs.ExplodedImage extends jdk.internal.jrtfs.SystemImage
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.jrtfs.ExplodedImage
super_class: jdk.internal.jrtfs.SystemImage
{
private static final java.lang.String MODULES;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "/modules/"
private static final java.lang.String PACKAGES;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "/packages/"
private static final int PACKAGES_LEN;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.nio.file.FileSystem defaultFS;
descriptor: Ljava/nio/file/FileSystem;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String separator;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, jdk.internal.jrtfs.ExplodedImage$PathNode> nodes;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/internal/jrtfs/ExplodedImage$PathNode;>;
private final java.nio.file.attribute.BasicFileAttributes modulesDirAttrs;
descriptor: Ljava/nio/file/attribute/BasicFileAttributes;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "/packages/"
invokevirtual java.lang.String.length:()I
putstatic jdk.internal.jrtfs.ExplodedImage.PACKAGES_LEN:I
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial jdk.internal.jrtfs.SystemImage.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
invokestatic java.util.Collections.synchronizedMap:(Ljava/util/Map;)Ljava/util/Map;
putfield jdk.internal.jrtfs.ExplodedImage.nodes:Ljava/util/Map;
2: aload 0
invokestatic java.nio.file.FileSystems.getDefault:()Ljava/nio/file/FileSystem;
putfield jdk.internal.jrtfs.ExplodedImage.defaultFS:Ljava/nio/file/FileSystem;
3: aload 0
getfield jdk.internal.jrtfs.ExplodedImage.defaultFS:Ljava/nio/file/FileSystem;
invokevirtual java.nio.file.FileSystem.getSeparator:()Ljava/lang/String;
astore 2
start local 2 4: aload 0
aload 2
ldc "/"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
aconst_null
goto 6
StackMap locals: jdk.internal.jrtfs.ExplodedImage java.nio.file.Path java.lang.String
StackMap stack: jdk.internal.jrtfs.ExplodedImage
5: aload 2
StackMap locals: jdk.internal.jrtfs.ExplodedImage java.nio.file.Path java.lang.String
StackMap stack: jdk.internal.jrtfs.ExplodedImage java.lang.String
6: putfield jdk.internal.jrtfs.ExplodedImage.separator:Ljava/lang/String;
7: aload 0
aload 1
ldc Ljava/nio/file/attribute/BasicFileAttributes;
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.readAttributes:(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/BasicFileAttributes;
putfield jdk.internal.jrtfs.ExplodedImage.modulesDirAttrs:Ljava/nio/file/attribute/BasicFileAttributes;
8: aload 0
invokevirtual jdk.internal.jrtfs.ExplodedImage.initNodes:()V
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/internal/jrtfs/ExplodedImage;
0 10 1 modulesDir Ljava/nio/file/Path;
4 10 2 str Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
modulesDir
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jrtfs.ExplodedImage.nodes:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/jrtfs/ExplodedImage;
Exceptions:
throws java.io.IOException
public byte[] getResource(jdk.internal.jimage.ImageReader$Node);
descriptor: (Ljdk/internal/jimage/ImageReader$Node;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
checkcast jdk.internal.jrtfs.ExplodedImage$PathNode
invokevirtual jdk.internal.jrtfs.ExplodedImage$PathNode.getContent:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jrtfs/ExplodedImage;
0 1 1 node Ljdk/internal/jimage/ImageReader$Node;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
node
public synchronized jdk.internal.jimage.ImageReader$Node findNode(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Node;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.internal.jrtfs.ExplodedImage.findModulesNode:(Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Node;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
areturn
3: StackMap locals: jdk.internal.jimage.ImageReader$Node
StackMap stack:
aload 1
ldc "/packages/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 13
4: aload 1
bipush 47
getstatic jdk.internal.jrtfs.ExplodedImage.PACKAGES_LEN:I
invokevirtual java.lang.String.indexOf:(II)I
istore 3
start local 3 5: iload 3
iconst_m1
if_icmpeq 13
6: aload 1
bipush 47
iload 3
iconst_1
iadd
invokevirtual java.lang.String.indexOf:(II)I
istore 4
start local 4 7: iload 4
iconst_m1
if_icmpeq 13
8: aload 0
getfield jdk.internal.jrtfs.ExplodedImage.nodes:Ljava/util/Map;
aload 1
iconst_0
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.jimage.ImageReader$Node
astore 5
start local 5 9: aload 5
ifnull 10
aload 5
invokevirtual jdk.internal.jimage.ImageReader$Node.isLink:()Z
ifne 11
10: StackMap locals: int int jdk.internal.jimage.ImageReader$Node
StackMap stack:
aconst_null
areturn
11: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "/modules/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
iload 3
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
start local 6 12: aload 0
aload 6
invokevirtual jdk.internal.jrtfs.ExplodedImage.findModulesNode:(Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Node;
areturn
end local 6 end local 5 end local 4 end local 3 13: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/internal/jrtfs/ExplodedImage;
0 14 1 str Ljava/lang/String;
1 14 2 node Ljdk/internal/jimage/ImageReader$Node;
5 13 3 pkgEndIdx I
7 13 4 modEndIdx I
9 13 5 linkNode Ljdk/internal/jimage/ImageReader$Node;
12 13 6 mod Ljava/lang/String;
MethodParameters:
Name Flags
str
jdk.internal.jimage.ImageReader$Node findModulesNode(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Node;
flags: (0x0000)
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jrtfs.ExplodedImage.nodes:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.jrtfs.ExplodedImage$PathNode
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
areturn
3: StackMap locals: jdk.internal.jrtfs.ExplodedImage$PathNode
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.jrtfs.ExplodedImage.underlyingPath:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 3
start local 3 4: aload 3
ifnull 15
5: aload 3
ldc Ljava/nio/file/attribute/BasicFileAttributes;
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.readAttributes:(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/BasicFileAttributes;
astore 4
start local 4 6: aload 4
invokeinterface java.nio.file.attribute.BasicFileAttributes.isRegularFile:()Z
ifeq 10
7: aload 3
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
astore 5
start local 5 8: aload 5
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
ldc "_the."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 10
9: aconst_null
areturn
end local 5 10: StackMap locals: java.nio.file.Path java.nio.file.attribute.BasicFileAttributes
StackMap stack:
new jdk.internal.jrtfs.ExplodedImage$PathNode
dup
aload 0
aload 1
aload 3
aload 4
invokespecial jdk.internal.jrtfs.ExplodedImage$PathNode.<init>:(Ljdk/internal/jrtfs/ExplodedImage;Ljava/lang/String;Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)V
astore 2
11: aload 0
getfield jdk.internal.jrtfs.ExplodedImage.nodes:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: aload 2
13: areturn
end local 4 14: StackMap locals: jdk.internal.jrtfs.ExplodedImage java.lang.String jdk.internal.jrtfs.ExplodedImage$PathNode java.nio.file.Path
StackMap stack: java.io.IOException
pop
15: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/internal/jrtfs/ExplodedImage;
0 16 1 str Ljava/lang/String;
1 16 2 node Ljdk/internal/jrtfs/ExplodedImage$PathNode;
4 16 3 p Ljava/nio/file/Path;
6 14 4 attrs Ljava/nio/file/attribute/BasicFileAttributes;
8 10 5 f Ljava/nio/file/Path;
Exception table:
from to target type
5 9 14 Class java.io.IOException
10 13 14 Class java.io.IOException
MethodParameters:
Name Flags
str
java.nio.file.Path underlyingPath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x0000)
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "/modules/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
aload 1
ldc "/modules"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual jdk.internal.jrtfs.ExplodedImage.frontSlashToNativeSlash:(Ljava/lang/String;)Ljava/lang/String;
astore 1
2: aload 0
getfield jdk.internal.jrtfs.ExplodedImage.defaultFS:Ljava/nio/file/FileSystem;
getstatic jdk.internal.jrtfs.ExplodedImage.explodedModulesDir:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
aastore
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
areturn
3: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jrtfs/ExplodedImage;
0 4 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str
private java.lang.String frontSlashToNativeSlash(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jrtfs.ExplodedImage.separator:Ljava/lang/String;
ifnonnull 1
aload 1
goto 2
StackMap locals:
StackMap stack:
1: aload 1
ldc "/"
aload 0
getfield jdk.internal.jrtfs.ExplodedImage.separator:Ljava/lang/String;
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jrtfs/ExplodedImage;
0 3 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str
private java.lang.String nativeSlashToFrontSlash(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jrtfs.ExplodedImage.separator:Ljava/lang/String;
ifnonnull 1
aload 1
goto 2
StackMap locals:
StackMap stack:
1: aload 1
aload 0
getfield jdk.internal.jrtfs.ExplodedImage.separator:Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jrtfs/ExplodedImage;
0 3 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str
private java.lang.String slashesToDots(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield jdk.internal.jrtfs.ExplodedImage.separator:Ljava/lang/String;
ifnull 1
aload 0
getfield jdk.internal.jrtfs.ExplodedImage.separator:Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack: java.lang.String
1: ldc "/"
StackMap locals: jdk.internal.jrtfs.ExplodedImage java.lang.String
StackMap stack: java.lang.String java.lang.String
2: ldc "."
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jrtfs/ExplodedImage;
0 3 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str
private void initNodes();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=13, args_size=1
start local 0 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 1: aconst_null
astore 2
aconst_null
astore 3
2: getstatic jdk.internal.jrtfs.ExplodedImage.explodedModulesDir:Ljava/nio/file/Path;
invokestatic java.nio.file.Files.newDirectoryStream:(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
astore 4
start local 4 3: aload 4
invokeinterface java.nio.file.DirectoryStream.iterator:()Ljava/util/Iterator;
astore 6
goto 9
StackMap locals: jdk.internal.jrtfs.ExplodedImage java.util.Map java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 5
start local 5 5: aload 5
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 9
6: aload 5
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 7
start local 7 7: aload 0
new java.lang.StringBuilder
dup
ldc "/modules/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.internal.jrtfs.ExplodedImage.findModulesNode:(Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Node;
pop
8: aload 5
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;
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/internal/jrtfs/ExplodedImage.lambda$2(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;
aload 0
aload 5
aload 1
aload 7
invokedynamic accept(Ljdk/internal/jrtfs/ExplodedImage;Ljava/nio/file/Path;Ljava/util/Map;Ljava/lang/String;)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/internal/jrtfs/ExplodedImage.lambda$1(Ljava/nio/file/Path;Ljava/util/Map;Ljava/lang/String;Ljava/nio/file/Path;)V (7)
(Ljava/nio/file/Path;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
end local 7 end local 5 9: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
10: aload 4
ifnull 16
aload 4
invokeinterface java.nio.file.DirectoryStream.close:()V
goto 16
StackMap locals: jdk.internal.jrtfs.ExplodedImage java.util.Map java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream
StackMap stack: java.lang.Throwable
11: astore 2
aload 4
ifnull 12
aload 4
invokeinterface java.nio.file.DirectoryStream.close:()V
end local 4 StackMap locals:
StackMap stack:
12: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 3
aload 2
ifnonnull 14
aload 3
astore 2
goto 15
StackMap locals:
StackMap stack:
14: aload 2
aload 3
if_acmpeq 15
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
15: aload 2
athrow
16: StackMap locals:
StackMap stack:
new jdk.internal.jrtfs.ExplodedImage$PathNode
dup
aload 0
ldc "/modules"
new java.util.ArrayList
dup
aload 0
getfield jdk.internal.jrtfs.ExplodedImage.nodes:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
invokespecial jdk.internal.jrtfs.ExplodedImage$PathNode.<init>:(Ljdk/internal/jrtfs/ExplodedImage;Ljava/lang/String;Ljava/util/List;)V
astore 2
start local 2 17: aload 0
getfield jdk.internal.jrtfs.ExplodedImage.nodes:Ljava/util/Map;
aload 2
invokevirtual jdk.internal.jrtfs.ExplodedImage$PathNode.getName:()Ljava/lang/String;
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: new java.util.ArrayList
dup
aload 1
invokeinterface java.util.Map.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 19: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 34
StackMap locals: jdk.internal.jrtfs.ExplodedImage java.util.Map jdk.internal.jrtfs.ExplodedImage$PathNode java.util.List top java.util.Iterator
StackMap stack:
20: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 21: aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 22: aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
astore 7
start local 7 23: new java.util.ArrayList
dup
aload 7
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 8
start local 8 24: aload 7
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 30
StackMap locals: jdk.internal.jrtfs.ExplodedImage java.util.Map jdk.internal.jrtfs.ExplodedImage$PathNode java.util.List java.util.Map$Entry java.util.Iterator java.lang.String java.util.List java.util.List top java.util.Iterator
StackMap stack:
25: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 9
start local 9 26: aload 0
new java.lang.StringBuilder
dup
ldc "/modules/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.internal.jrtfs.ExplodedImage.findModulesNode:(Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Node;
astore 11
start local 11 27: new jdk.internal.jrtfs.ExplodedImage$PathNode
dup
aload 0
new java.lang.StringBuilder
dup
ldc "/packages/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 11
invokespecial jdk.internal.jrtfs.ExplodedImage$PathNode.<init>:(Ljdk/internal/jrtfs/ExplodedImage;Ljava/lang/String;Ljdk/internal/jimage/ImageReader$Node;)V
astore 12
start local 12 28: aload 0
getfield jdk.internal.jrtfs.ExplodedImage.nodes:Ljava/util/Map;
aload 12
invokevirtual jdk.internal.jrtfs.ExplodedImage$PathNode.getName:()Ljava/lang/String;
aload 12
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
29: aload 8
aload 12
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 12 end local 11 end local 9 30: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 25
31: new jdk.internal.jrtfs.ExplodedImage$PathNode
dup
aload 0
new java.lang.StringBuilder
dup
ldc "/packages/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 8
invokespecial jdk.internal.jrtfs.ExplodedImage$PathNode.<init>:(Ljdk/internal/jrtfs/ExplodedImage;Ljava/lang/String;Ljava/util/List;)V
astore 9
start local 9 32: aload 0
getfield jdk.internal.jrtfs.ExplodedImage.nodes:Ljava/util/Map;
aload 9
invokevirtual jdk.internal.jrtfs.ExplodedImage$PathNode.getName:()Ljava/lang/String;
aload 9
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
33: aload 3
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 end local 8 end local 7 end local 6 end local 4 34: StackMap locals: jdk.internal.jrtfs.ExplodedImage java.util.Map jdk.internal.jrtfs.ExplodedImage$PathNode java.util.List top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 20
35: new jdk.internal.jrtfs.ExplodedImage$PathNode
dup
aload 0
ldc "/packages"
aload 3
invokespecial jdk.internal.jrtfs.ExplodedImage$PathNode.<init>:(Ljdk/internal/jrtfs/ExplodedImage;Ljava/lang/String;Ljava/util/List;)V
astore 4
start local 4 36: aload 0
getfield jdk.internal.jrtfs.ExplodedImage.nodes:Ljava/util/Map;
aload 4
invokevirtual jdk.internal.jrtfs.ExplodedImage$PathNode.getName:()Ljava/lang/String;
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
37: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 38: aload 5
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
39: aload 5
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
40: new jdk.internal.jrtfs.ExplodedImage$PathNode
dup
aload 0
ldc "/"
aload 5
invokespecial jdk.internal.jrtfs.ExplodedImage$PathNode.<init>:(Ljdk/internal/jrtfs/ExplodedImage;Ljava/lang/String;Ljava/util/List;)V
astore 6
start local 6 41: aload 0
getfield jdk.internal.jrtfs.ExplodedImage.nodes:Ljava/util/Map;
aload 6
invokevirtual jdk.internal.jrtfs.ExplodedImage$PathNode.getName:()Ljava/lang/String;
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
42: return
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 43 0 this Ljdk/internal/jrtfs/ExplodedImage;
1 43 1 packageToModules Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
3 12 4 stream Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
5 9 5 module Ljava/nio/file/Path;
7 9 7 moduleName Ljava/lang/String;
17 43 2 modulesDir Ljdk/internal/jrtfs/ExplodedImage$PathNode;
19 43 3 packagesChildren Ljava/util/List<Ljdk/internal/jimage/ImageReader$Node;>;
21 34 4 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
22 34 6 pkgName Ljava/lang/String;
23 34 7 moduleNameList Ljava/util/List<Ljava/lang/String;>;
24 34 8 moduleLinkNodes Ljava/util/List<Ljdk/internal/jimage/ImageReader$Node;>;
26 30 9 moduleName Ljava/lang/String;
27 30 11 moduleNode Ljdk/internal/jimage/ImageReader$Node;
28 30 12 linkNode Ljdk/internal/jrtfs/ExplodedImage$PathNode;
32 34 9 pkgDir Ljdk/internal/jrtfs/ExplodedImage$PathNode;
36 43 4 packagesDir Ljdk/internal/jrtfs/ExplodedImage$PathNode;
38 43 5 rootChildren Ljava/util/List<Ljdk/internal/jimage/ImageReader$Node;>;
41 43 6 root Ljdk/internal/jrtfs/ExplodedImage$PathNode;
Exception table:
from to target type
3 10 11 any
2 13 13 any
Exceptions:
throws java.io.IOException
private static boolean lambda$2(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.isDirectory:(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 void lambda$1(java.nio.file.Path, java.util.Map, java.lang.String, java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;Ljava/util/Map;Ljava/lang/String;Ljava/nio/file/Path;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=7, args_size=5
start local 0 start local 4 0: aload 1
aload 4
invokeinterface java.nio.file.Path.relativize:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
astore 4
1: aload 0
aload 4
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokevirtual jdk.internal.jrtfs.ExplodedImage.slashesToDots:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 2: aload 5
invokevirtual java.lang.String.isEmpty:()Z
ifne 8
aload 5
ldc "META-INF"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 8
3: aload 2
aload 5
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 6
start local 6 4: aload 6
ifnonnull 7
5: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
6: aload 2
aload 5
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals: java.lang.String java.util.List
StackMap stack:
aload 6
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 5 8: StackMap locals:
StackMap stack:
return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/jrtfs/ExplodedImage;
0 9 4 p Ljava/nio/file/Path;
2 8 5 pkgName Ljava/lang/String;
4 8 6 moduleNames Ljava/util/List<Ljava/lang/String;>;
}
SourceFile: "ExplodedImage.java"
NestMembers:
jdk.internal.jrtfs.ExplodedImage$PathNode
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
public abstract Node = jdk.internal.jimage.ImageReader$Node of jdk.internal.jimage.ImageReader
private final PathNode = jdk.internal.jrtfs.ExplodedImage$PathNode of jdk.internal.jrtfs.ExplodedImage