final class jdk.internal.jimage.ImageReader$SharedImageReader extends jdk.internal.jimage.BasicImageReader
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.jimage.ImageReader$SharedImageReader
super_class: jdk.internal.jimage.BasicImageReader
{
static final int SIZE_OF_OFFSET;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
static final java.util.Map<java.nio.file.Path, jdk.internal.jimage.ImageReader$SharedImageReader> OPEN_FILES;
descriptor: Ljava/util/Map;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/nio/file/Path;Ljdk/internal/jimage/ImageReader$SharedImageReader;>;
final java.util.Set<jdk.internal.jimage.ImageReader> openers;
descriptor: Ljava/util/Set;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Set<Ljdk/internal/jimage/ImageReader;>;
java.nio.file.attribute.BasicFileAttributes imageFileAttributes;
descriptor: Ljava/nio/file/attribute/BasicFileAttributes;
flags: (0x0000)
final java.util.HashMap<java.lang.String, jdk.internal.jimage.ImageReader$Node> nodes;
descriptor: Ljava/util/HashMap;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/HashMap<Ljava/lang/String;Ljdk/internal/jimage/ImageReader$Node;>;
volatile jdk.internal.jimage.ImageReader$Directory rootDir;
descriptor: Ljdk/internal/jimage/ImageReader$Directory;
flags: (0x0040) ACC_VOLATILE
jdk.internal.jimage.ImageReader$Directory packagesDir;
descriptor: Ljdk/internal/jimage/ImageReader$Directory;
flags: (0x0000)
jdk.internal.jimage.ImageReader$Directory modulesDir;
descriptor: Ljdk/internal/jimage/ImageReader$Directory;
flags: (0x0000)
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Ljdk/internal/jimage/ImageReader;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.internal.jimage.ImageReader$SharedImageReader.$assertionsDisabled:Z
3: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic jdk.internal.jimage.ImageReader$SharedImageReader.OPEN_FILES:Ljava/util/Map;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.nio.file.Path, java.nio.ByteOrder);
descriptor: (Ljava/nio/file/Path;Ljava/nio/ByteOrder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial jdk.internal.jimage.BasicImageReader.<init>:(Ljava/nio/file/Path;Ljava/nio/ByteOrder;)V
1: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield jdk.internal.jimage.ImageReader$SharedImageReader.openers:Ljava/util/Set;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.internal.jimage.ImageReader$SharedImageReader.nodes:Ljava/util/HashMap;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 4 1 imagePath Ljava/nio/file/Path;
0 4 2 byteOrder Ljava/nio/ByteOrder;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
imagePath
byteOrder
public static jdk.internal.jimage.ImageReader open(java.nio.file.Path, java.nio.ByteOrder);
descriptor: (Ljava/nio/file/Path;Ljava/nio/ByteOrder;)Ljdk/internal/jimage/ImageReader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: getstatic jdk.internal.jimage.ImageReader$SharedImageReader.OPEN_FILES:Ljava/util/Map;
dup
astore 2
monitorenter
3: getstatic jdk.internal.jimage.ImageReader$SharedImageReader.OPEN_FILES:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.jimage.ImageReader$SharedImageReader
astore 3
start local 3 4: aload 3
ifnonnull 8
5: new jdk.internal.jimage.ImageReader$SharedImageReader
dup
aload 0
aload 1
invokespecial jdk.internal.jimage.ImageReader$SharedImageReader.<init>:(Ljava/nio/file/Path;Ljava/nio/ByteOrder;)V
astore 3
6: getstatic jdk.internal.jimage.ImageReader$SharedImageReader.OPEN_FILES:Ljava/util/Map;
aload 0
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: goto 10
StackMap locals: java.util.Map jdk.internal.jimage.ImageReader$SharedImageReader
StackMap stack:
8: aload 3
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.getByteOrder:()Ljava/nio/ByteOrder;
aload 1
if_acmpeq 10
9: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" is not an image file"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
new jdk.internal.jimage.ImageReader
dup
aload 3
invokespecial jdk.internal.jimage.ImageReader.<init>:(Ljdk/internal/jimage/ImageReader$SharedImageReader;)V
astore 4
start local 4 11: aload 3
getfield jdk.internal.jimage.ImageReader$SharedImageReader.openers:Ljava/util/Set;
aload 4
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
12: aload 4
aload 2
monitorexit
13: areturn
end local 4 end local 3 14: StackMap locals: java.nio.file.Path java.nio.ByteOrder java.util.Map
StackMap stack: java.lang.Throwable
aload 2
monitorexit
15: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 imagePath Ljava/nio/file/Path;
0 16 1 byteOrder Ljava/nio/ByteOrder;
4 14 3 reader Ljdk/internal/jimage/ImageReader$SharedImageReader;
11 14 4 image Ljdk/internal/jimage/ImageReader;
Exception table:
from to target type
3 13 14 any
14 15 14 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
imagePath
byteOrder
public void close(jdk.internal.jimage.ImageReader);
descriptor: (Ljdk/internal/jimage/ImageReader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: getstatic jdk.internal.jimage.ImageReader$SharedImageReader.OPEN_FILES:Ljava/util/Map;
dup
astore 2
monitorenter
2: aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.openers:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
ifne 4
3: new java.io.IOException
dup
ldc "image file already closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.util.Map
StackMap stack:
aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.openers:Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifeq 10
5: aload 0
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.close:()V
6: aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.nodes:Ljava/util/HashMap;
invokevirtual java.util.HashMap.clear:()V
7: aload 0
aconst_null
putfield jdk.internal.jimage.ImageReader$SharedImageReader.rootDir:Ljdk/internal/jimage/ImageReader$Directory;
8: getstatic jdk.internal.jimage.ImageReader$SharedImageReader.OPEN_FILES:Ljava/util/Map;
aload 0
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.getImagePath:()Ljava/nio/file/Path;
aload 0
invokeinterface java.util.Map.remove:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 10
9: new java.io.IOException
dup
ldc "image file not found in open list"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 2
monitorexit
11: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
12: aload 2
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 15 1 image Ljdk/internal/jimage/ImageReader;
Exception table:
from to target type
2 11 12 any
12 13 12 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
image
void addOpener(jdk.internal.jimage.ImageReader);
descriptor: (Ljdk/internal/jimage/ImageReader;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.jimage.ImageReader$SharedImageReader.OPEN_FILES:Ljava/util/Map;
dup
astore 2
monitorenter
1: aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.openers:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
2: aload 2
monitorexit
3: goto 6
StackMap locals: jdk.internal.jimage.ImageReader$SharedImageReader jdk.internal.jimage.ImageReader java.util.Map
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 7 1 reader Ljdk/internal/jimage/ImageReader;
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
reader
boolean removeOpener(jdk.internal.jimage.ImageReader);
descriptor: (Ljdk/internal/jimage/ImageReader;)Z
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.jimage.ImageReader$SharedImageReader.OPEN_FILES:Ljava/util/Map;
dup
astore 2
monitorenter
1: aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.openers:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
aload 2
monitorexit
2: ireturn
3: StackMap locals: jdk.internal.jimage.ImageReader$SharedImageReader jdk.internal.jimage.ImageReader java.util.Map
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 5 1 reader Ljdk/internal/jimage/ImageReader;
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
reader
jdk.internal.jimage.ImageReader$Directory getRootDirectory();
descriptor: ()Ljdk/internal/jimage/ImageReader$Directory;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.buildRootDirectory:()Ljdk/internal/jimage/ImageReader$Directory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
synchronized jdk.internal.jimage.ImageReader$Node buildNode(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Node;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ldc "/packages"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
istore 3
start local 3 1: iload 3
ifne 2
aload 1
ldc "/modules"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
iconst_1
goto 3
StackMap locals: jdk.internal.jimage.ImageReader$SharedImageReader java.lang.String top int
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 4
start local 4 4: iload 4
ifne 6
iload 3
ifne 6
5: aconst_null
areturn
6: StackMap locals: int
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.findLocation:(Ljava/lang/String;)Ljdk/internal/jimage/ImageLocation;
astore 5
start local 5 7: aload 5
ifnull 13
8: iload 3
ifeq 11
9: aload 0
aload 1
aload 5
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.handlePackages:(Ljava/lang/String;Ljdk/internal/jimage/ImageLocation;)Ljdk/internal/jimage/ImageReader$Node;
astore 2
start local 2 10: goto 17
end local 2 11: StackMap locals: jdk.internal.jimage.ImageLocation
StackMap stack:
aload 0
aload 1
aload 5
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.handleModulesSubTree:(Ljava/lang/String;Ljdk/internal/jimage/ImageLocation;)Ljdk/internal/jimage/ImageReader$Node;
astore 2
start local 2 12: goto 17
end local 2 13: StackMap locals:
StackMap stack:
iload 4
ifeq 16
14: aload 0
aload 1
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.handleResource:(Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Node;
astore 2
start local 2 15: goto 17
end local 2 16: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.handleModuleLink:(Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Node;
astore 2
start local 2 17: StackMap locals: jdk.internal.jimage.ImageReader$SharedImageReader java.lang.String jdk.internal.jimage.ImageReader$Node int int jdk.internal.jimage.ImageLocation
StackMap stack:
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 18 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 18 1 name Ljava/lang/String;
10 11 2 n Ljdk/internal/jimage/ImageReader$Node;
12 13 2 n Ljdk/internal/jimage/ImageReader$Node;
15 16 2 n Ljdk/internal/jimage/ImageReader$Node;
17 18 2 n Ljdk/internal/jimage/ImageReader$Node;
1 18 3 isPackages Z
4 18 4 isModules Z
7 18 5 loc Ljdk/internal/jimage/ImageLocation;
MethodParameters:
Name Flags
name
synchronized jdk.internal.jimage.ImageReader$Directory buildRootDirectory();
descriptor: ()Ljdk/internal/jimage/ImageReader$Directory;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.rootDir:Ljdk/internal/jimage/ImageReader$Directory;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
areturn
3: StackMap locals: jdk.internal.jimage.ImageReader$Directory
StackMap stack:
aload 0
aconst_null
ldc "/"
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.newDirectory:(Ljdk/internal/jimage/ImageReader$Directory;Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Directory;
astore 1
4: aload 1
invokevirtual jdk.internal.jimage.ImageReader$Directory.setIsRootDir:()V
5: aload 0
aload 0
aload 1
ldc "/packages"
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.newDirectory:(Ljdk/internal/jimage/ImageReader$Directory;Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Directory;
putfield jdk.internal.jimage.ImageReader$SharedImageReader.packagesDir:Ljdk/internal/jimage/ImageReader$Directory;
6: aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.packagesDir:Ljdk/internal/jimage/ImageReader$Directory;
invokevirtual jdk.internal.jimage.ImageReader$Directory.setIsPackagesDir:()V
7: aload 0
aload 0
aload 1
ldc "/modules"
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.newDirectory:(Ljdk/internal/jimage/ImageReader$Directory;Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Directory;
putfield jdk.internal.jimage.ImageReader$SharedImageReader.modulesDir:Ljdk/internal/jimage/ImageReader$Directory;
8: aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.modulesDir:Ljdk/internal/jimage/ImageReader$Directory;
invokevirtual jdk.internal.jimage.ImageReader$Directory.setIsModulesDir:()V
9: aload 1
iconst_1
invokevirtual jdk.internal.jimage.ImageReader$Directory.setCompleted:(Z)V
10: aload 0
aload 1
dup_x1
putfield jdk.internal.jimage.ImageReader$SharedImageReader.rootDir:Ljdk/internal/jimage/ImageReader$Directory;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
1 11 1 root Ljdk/internal/jimage/ImageReader$Directory;
void visitLocation(jdk.internal.jimage.ImageLocation, jdk.internal.jimage.ImageReader$SharedImageReader$LocationVisitor);
descriptor: (Ljdk/internal/jimage/ImageLocation;Ljdk/internal/jimage/ImageReader$SharedImageReader$LocationVisitor;)V
flags: (0x0000)
Code:
stack=3, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.getResource:(Ljdk/internal/jimage/ImageLocation;)[B
astore 3
start local 3 1: aload 3
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 4
start local 4 2: aload 4
aload 0
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.getByteOrder:()Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
pop
3: aload 4
invokevirtual java.nio.ByteBuffer.asIntBuffer:()Ljava/nio/IntBuffer;
astore 5
start local 5 4: iconst_0
istore 6
start local 6 5: goto 10
6: StackMap locals: jdk.internal.jimage.ImageReader$SharedImageReader jdk.internal.jimage.ImageLocation jdk.internal.jimage.ImageReader$SharedImageReader$LocationVisitor byte[] java.nio.ByteBuffer java.nio.IntBuffer int
StackMap stack:
aload 5
iload 6
invokevirtual java.nio.IntBuffer.get:(I)I
istore 7
start local 7 7: aload 0
iload 7
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.getLocation:(I)Ljdk/internal/jimage/ImageLocation;
astore 8
start local 8 8: aload 2
aload 8
invokeinterface jdk.internal.jimage.ImageReader$SharedImageReader$LocationVisitor.visit:(Ljdk/internal/jimage/ImageLocation;)V
end local 8 end local 7 9: iinc 6 1
StackMap locals:
StackMap stack:
10: iload 6
aload 3
arraylength
iconst_4
idiv
if_icmplt 6
end local 6 11: return
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 12 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 12 1 loc Ljdk/internal/jimage/ImageLocation;
0 12 2 visitor Ljdk/internal/jimage/ImageReader$SharedImageReader$LocationVisitor;
1 12 3 offsets [B
2 12 4 buffer Ljava/nio/ByteBuffer;
4 12 5 intBuffer Ljava/nio/IntBuffer;
5 11 6 i I
7 9 7 offset I
8 9 8 pkgLoc Ljdk/internal/jimage/ImageLocation;
MethodParameters:
Name Flags
loc
visitor
void visitPackageLocation(jdk.internal.jimage.ImageLocation);
descriptor: (Ljdk/internal/jimage/ImageLocation;)V
flags: (0x0000)
Code:
stack=5, locals=12, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.getBaseExt:(Ljdk/internal/jimage/ImageLocation;)Ljava/lang/String;
astore 2
start local 2 1: aload 0
aload 1
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.getResource:(Ljdk/internal/jimage/ImageLocation;)[B
astore 3
start local 3 2: aload 3
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 4
start local 4 3: aload 4
aload 0
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.getByteOrder:()Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
pop
4: aload 4
invokevirtual java.nio.ByteBuffer.asIntBuffer:()Ljava/nio/IntBuffer;
astore 5
start local 5 5: iconst_0
istore 6
start local 6 6: goto 17
7: StackMap locals: jdk.internal.jimage.ImageReader$SharedImageReader jdk.internal.jimage.ImageLocation java.lang.String byte[] java.nio.ByteBuffer java.nio.IntBuffer int
StackMap stack:
aload 5
iload 6
invokevirtual java.nio.IntBuffer.get:(I)I
pop
8: iinc 6 1
9: aload 5
iload 6
invokevirtual java.nio.IntBuffer.get:(I)I
istore 7
start local 7 10: aload 0
iload 7
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.getString:(I)Ljava/lang/String;
astore 8
start local 8 11: aload 0
new java.lang.StringBuilder
dup
ldc "/modules/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.findNode:(Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Node;
astore 9
start local 9 12: aload 9
ifnull 16
13: new java.lang.StringBuilder
dup
aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.packagesDir:Ljdk/internal/jimage/ImageReader$Directory;
invokevirtual jdk.internal.jimage.ImageReader$Directory.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 10
start local 10 14: aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.nodes:Ljava/util/HashMap;
aload 10
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.jimage.ImageReader$Directory
astore 11
start local 11 15: aload 0
aload 11
new java.lang.StringBuilder
dup
aload 11
invokevirtual jdk.internal.jimage.ImageReader$Directory.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 9
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.newLinkNode:(Ljdk/internal/jimage/ImageReader$Directory;Ljava/lang/String;Ljdk/internal/jimage/ImageReader$Node;)Ljdk/internal/jimage/ImageReader$LinkNode;
pop
end local 11 end local 10 end local 9 end local 8 end local 7 16: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
17: iload 6
aload 3
arraylength
iconst_4
idiv
if_icmplt 7
end local 6 18: return
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 Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 19 1 loc Ljdk/internal/jimage/ImageLocation;
1 19 2 pkgName Ljava/lang/String;
2 19 3 stringsOffsets [B
3 19 4 buffer Ljava/nio/ByteBuffer;
5 19 5 intBuffer Ljava/nio/IntBuffer;
6 18 6 i I
10 16 7 offset I
11 16 8 moduleName Ljava/lang/String;
12 16 9 targetNode Ljdk/internal/jimage/ImageReader$Node;
14 16 10 pkgDirName Ljava/lang/String;
15 16 11 pkgDir Ljdk/internal/jimage/ImageReader$Directory;
MethodParameters:
Name Flags
loc
jdk.internal.jimage.ImageReader$Node handlePackages(java.lang.String, jdk.internal.jimage.ImageLocation);
descriptor: (Ljava/lang/String;Ljdk/internal/jimage/ImageLocation;)Ljdk/internal/jimage/ImageReader$Node;
flags: (0x0000)
Code:
stack=5, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual jdk.internal.jimage.ImageLocation.getUncompressedSize:()J
lstore 3
start local 3 1: aconst_null
astore 5
start local 5 2: aload 1
ldc "/packages"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
3: aload 0
aload 2
aload 0
invokedynamic visit(Ljdk/internal/jimage/ImageReader$SharedImageReader;)Ljdk/internal/jimage/ImageReader$SharedImageReader$LocationVisitor;
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:
(Ljdk/internal/jimage/ImageLocation;)V
jdk/internal/jimage/ImageReader$SharedImageReader.lambda$0(Ljdk/internal/jimage/ImageLocation;)V (7)
(Ljdk/internal/jimage/ImageLocation;)V
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.visitLocation:(Ljdk/internal/jimage/ImageLocation;Ljdk/internal/jimage/ImageReader$SharedImageReader$LocationVisitor;)V
4: aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.packagesDir:Ljdk/internal/jimage/ImageReader$Directory;
iconst_1
invokevirtual jdk.internal.jimage.ImageReader$Directory.setCompleted:(Z)V
5: aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.packagesDir:Ljdk/internal/jimage/ImageReader$Directory;
astore 5
6: goto 22
7: StackMap locals: long jdk.internal.jimage.ImageReader$Node
StackMap stack:
lload 3
lconst_0
lcmp
ifeq 14
8: aload 0
aload 2
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.getBaseExt:(Ljdk/internal/jimage/ImageLocation;)Ljava/lang/String;
astore 6
start local 6 9: aload 0
aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.packagesDir:Ljdk/internal/jimage/ImageReader$Directory;
new java.lang.StringBuilder
dup
aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.packagesDir:Ljdk/internal/jimage/ImageReader$Directory;
invokevirtual jdk.internal.jimage.ImageReader$Directory.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.newDirectory:(Ljdk/internal/jimage/ImageReader$Directory;Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Directory;
astore 7
start local 7 10: aload 0
aload 2
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.visitPackageLocation:(Ljdk/internal/jimage/ImageLocation;)V
11: aload 7
iconst_1
invokevirtual jdk.internal.jimage.ImageReader$Directory.setCompleted:(Z)V
12: aload 7
astore 5
end local 7 end local 6 13: goto 22
14: StackMap locals:
StackMap stack:
aload 2
invokevirtual jdk.internal.jimage.ImageLocation.getParent:()Ljava/lang/String;
astore 6
start local 6 15: aload 0
aload 2
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.getBaseExt:(Ljdk/internal/jimage/ImageLocation;)Ljava/lang/String;
astore 7
start local 7 16: 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.jimage.ImageReader$SharedImageReader.findNode:(Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Node;
astore 8
start local 8 17: aload 8
ifnull 22
18: new java.lang.StringBuilder
dup
aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.packagesDir:Ljdk/internal/jimage/ImageReader$Directory;
invokevirtual jdk.internal.jimage.ImageReader$Directory.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
start local 9 19: aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.nodes:Ljava/util/HashMap;
aload 9
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.jimage.ImageReader$Directory
astore 10
start local 10 20: aload 0
aload 10
new java.lang.StringBuilder
dup
aload 10
invokevirtual jdk.internal.jimage.ImageReader$Directory.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 8
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.newLinkNode:(Ljdk/internal/jimage/ImageReader$Directory;Ljava/lang/String;Ljdk/internal/jimage/ImageReader$Node;)Ljdk/internal/jimage/ImageReader$LinkNode;
astore 11
start local 11 21: aload 11
astore 5
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 22: StackMap locals:
StackMap stack:
aload 5
areturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 23 1 name Ljava/lang/String;
0 23 2 loc Ljdk/internal/jimage/ImageLocation;
1 23 3 size J
2 23 5 n Ljdk/internal/jimage/ImageReader$Node;
9 13 6 pkgName Ljava/lang/String;
10 13 7 pkgDir Ljdk/internal/jimage/ImageReader$Directory;
15 22 6 pkgName Ljava/lang/String;
16 22 7 modName Ljava/lang/String;
17 22 8 targetNode Ljdk/internal/jimage/ImageReader$Node;
19 22 9 pkgDirName Ljava/lang/String;
20 22 10 pkgDir Ljdk/internal/jimage/ImageReader$Directory;
21 22 11 linkNode Ljdk/internal/jimage/ImageReader$Node;
MethodParameters:
Name Flags
name
loc
jdk.internal.jimage.ImageReader$Node handleModuleLink(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Node;
flags: (0x0000)
Code:
stack=3, locals=12, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: ldc "/packages/"
astore 3
start local 3 2: aload 1
astore 4
start local 4 3: aload 4
aload 3
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 16
4: aload 3
invokevirtual java.lang.String.length:()I
istore 5
start local 5 5: aload 4
bipush 47
iload 5
invokevirtual java.lang.String.indexOf:(II)I
istore 6
start local 6 6: iload 6
iconst_m1
if_icmpeq 16
7: aload 4
iload 5
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 7
start local 7 8: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
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;
astore 8
start local 8 9: aload 0
aload 8
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.findNode:(Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Node;
astore 9
start local 9 10: aload 9
invokevirtual jdk.internal.jimage.ImageReader$Node.getChildren:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 11
goto 15
StackMap locals: jdk.internal.jimage.ImageReader$SharedImageReader java.lang.String jdk.internal.jimage.ImageReader$Node java.lang.String java.lang.String int int java.lang.String java.lang.String jdk.internal.jimage.ImageReader$Node top java.util.Iterator
StackMap stack:
11: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.jimage.ImageReader$Node
astore 10
start local 10 12: aload 10
getfield jdk.internal.jimage.ImageReader$Node.name:Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
13: aload 10
astore 2
14: goto 16
end local 10 15: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
end local 9 end local 8 end local 7 end local 6 end local 5 16: StackMap locals: jdk.internal.jimage.ImageReader$SharedImageReader java.lang.String jdk.internal.jimage.ImageReader$Node java.lang.String java.lang.String
StackMap stack:
aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 17 1 name Ljava/lang/String;
1 17 2 ret Ljdk/internal/jimage/ImageReader$Node;
2 17 3 radical Ljava/lang/String;
3 17 4 path Ljava/lang/String;
5 16 5 start I
6 16 6 pkgEnd I
8 16 7 pkg Ljava/lang/String;
9 16 8 pkgPath Ljava/lang/String;
10 16 9 n Ljdk/internal/jimage/ImageReader$Node;
12 15 10 child Ljdk/internal/jimage/ImageReader$Node;
MethodParameters:
Name Flags
name
jdk.internal.jimage.ImageReader$Node handleModulesSubTree(java.lang.String, jdk.internal.jimage.ImageLocation);
descriptor: (Ljava/lang/String;Ljdk/internal/jimage/ImageLocation;)Ljdk/internal/jimage/ImageReader$Node;
flags: (0x0000)
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: getstatic jdk.internal.jimage.ImageReader$SharedImageReader.$assertionsDisabled:Z
ifne 1
aload 1
aload 2
invokevirtual jdk.internal.jimage.ImageLocation.getFullName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.makeDirectories:(Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Directory;
astore 4
start local 4 2: aload 0
aload 2
aload 0
aload 4
invokedynamic visit(Ljdk/internal/jimage/ImageReader$SharedImageReader;Ljdk/internal/jimage/ImageReader$Directory;)Ljdk/internal/jimage/ImageReader$SharedImageReader$LocationVisitor;
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:
(Ljdk/internal/jimage/ImageLocation;)V
jdk/internal/jimage/ImageReader$SharedImageReader.lambda$1(Ljdk/internal/jimage/ImageReader$Directory;Ljdk/internal/jimage/ImageLocation;)V (7)
(Ljdk/internal/jimage/ImageLocation;)V
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.visitLocation:(Ljdk/internal/jimage/ImageLocation;Ljdk/internal/jimage/ImageReader$SharedImageReader$LocationVisitor;)V
3: aload 4
iconst_1
invokevirtual jdk.internal.jimage.ImageReader$Directory.setCompleted:(Z)V
4: aload 4
astore 3
start local 3 5: 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 6 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 6 1 name Ljava/lang/String;
0 6 2 loc Ljdk/internal/jimage/ImageLocation;
5 6 3 n Ljdk/internal/jimage/ImageReader$Node;
2 6 4 dir Ljdk/internal/jimage/ImageReader$Directory;
MethodParameters:
Name Flags
name
loc
jdk.internal.jimage.ImageReader$Node handleResource(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Node;
flags: (0x0000)
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
ldc "/modules"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
start local 3 2: aload 0
aload 3
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.findLocation:(Ljava/lang/String;)Ljdk/internal/jimage/ImageLocation;
astore 4
start local 4 3: aload 4
ifnull 7
4: aload 0
aload 4
iconst_1
iconst_1
iconst_0
invokevirtual jdk.internal.jimage.ImageLocation.buildName:(ZZZ)Ljava/lang/String;
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.makeDirectories:(Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Directory;
astore 5
start local 5 5: aload 0
aload 5
aload 4
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.newResource:(Ljdk/internal/jimage/ImageReader$Directory;Ljdk/internal/jimage/ImageLocation;)Ljdk/internal/jimage/ImageReader$Resource;
astore 6
start local 6 6: aload 6
astore 2
end local 6 end local 5 7: StackMap locals: jdk.internal.jimage.ImageReader$Node java.lang.String jdk.internal.jimage.ImageLocation
StackMap stack:
aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 8 1 name Ljava/lang/String;
1 8 2 n Ljdk/internal/jimage/ImageReader$Node;
2 8 3 locationPath Ljava/lang/String;
3 8 4 resourceLoc Ljdk/internal/jimage/ImageLocation;
5 7 5 dir Ljdk/internal/jimage/ImageReader$Directory;
6 7 6 res Ljdk/internal/jimage/ImageReader$Resource;
MethodParameters:
Name Flags
name
java.lang.String getBaseExt(jdk.internal.jimage.ImageLocation);
descriptor: (Ljdk/internal/jimage/ImageLocation;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual jdk.internal.jimage.ImageLocation.getBase:()Ljava/lang/String;
astore 2
start local 2 1: aload 1
invokevirtual jdk.internal.jimage.ImageLocation.getExtension:()Ljava/lang/String;
astore 3
start local 3 2: aload 3
ifnull 4
aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifne 4
3: 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 "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
4: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 5 1 loc Ljdk/internal/jimage/ImageLocation;
1 5 2 base Ljava/lang/String;
2 5 3 ext Ljava/lang/String;
MethodParameters:
Name Flags
loc
synchronized jdk.internal.jimage.ImageReader$Node findNode(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Node;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.buildRootDirectory:()Ljdk/internal/jimage/ImageReader$Directory;
pop
1: aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.nodes:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.jimage.ImageReader$Node
astore 2
start local 2 2: aload 2
ifnull 3
aload 2
invokevirtual jdk.internal.jimage.ImageReader$Node.isCompleted:()Z
ifne 4
3: StackMap locals: jdk.internal.jimage.ImageReader$Node
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.buildNode:(Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Node;
astore 2
4: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 5 1 name Ljava/lang/String;
2 5 2 n Ljdk/internal/jimage/ImageReader$Node;
MethodParameters:
Name Flags
name
java.nio.file.attribute.BasicFileAttributes imageFileAttributes();
descriptor: ()Ljava/nio/file/attribute/BasicFileAttributes;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.imageFileAttributes:Ljava/nio/file/attribute/BasicFileAttributes;
astore 1
start local 1 1: aload 1
ifnonnull 8
2: aload 0
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.getImagePath:()Ljava/nio/file/Path;
astore 2
start local 2 3: aload 2
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 1
end local 2 4: goto 7
StackMap locals: jdk.internal.jimage.ImageReader$SharedImageReader java.nio.file.attribute.BasicFileAttributes
StackMap stack: java.io.IOException
5: astore 2
start local 2 6: new java.io.UncheckedIOException
dup
aload 2
invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 2 7: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jdk.internal.jimage.ImageReader$SharedImageReader.imageFileAttributes:Ljava/nio/file/attribute/BasicFileAttributes;
8: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
1 9 1 attrs Ljava/nio/file/attribute/BasicFileAttributes;
3 4 2 file Ljava/nio/file/Path;
6 7 2 ioe Ljava/io/IOException;
Exception table:
from to target type
2 4 5 Class java.io.IOException
jdk.internal.jimage.ImageReader$Directory newDirectory(jdk.internal.jimage.ImageReader$Directory, java.lang.String);
descriptor: (Ljdk/internal/jimage/ImageReader$Directory;Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Directory;
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
aload 0
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.imageFileAttributes:()Ljava/nio/file/attribute/BasicFileAttributes;
invokestatic jdk.internal.jimage.ImageReader$Directory.create:(Ljdk/internal/jimage/ImageReader$Directory;Ljava/lang/String;Ljava/nio/file/attribute/BasicFileAttributes;)Ljdk/internal/jimage/ImageReader$Directory;
astore 3
start local 3 1: aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.nodes:Ljava/util/HashMap;
aload 3
invokevirtual jdk.internal.jimage.ImageReader$Directory.getName:()Ljava/lang/String;
aload 3
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 3 1 parent Ljdk/internal/jimage/ImageReader$Directory;
0 3 2 name Ljava/lang/String;
1 3 3 dir Ljdk/internal/jimage/ImageReader$Directory;
MethodParameters:
Name Flags
parent
name
jdk.internal.jimage.ImageReader$Resource newResource(jdk.internal.jimage.ImageReader$Directory, jdk.internal.jimage.ImageLocation);
descriptor: (Ljdk/internal/jimage/ImageReader$Directory;Ljdk/internal/jimage/ImageLocation;)Ljdk/internal/jimage/ImageReader$Resource;
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
aload 0
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.imageFileAttributes:()Ljava/nio/file/attribute/BasicFileAttributes;
invokestatic jdk.internal.jimage.ImageReader$Resource.create:(Ljdk/internal/jimage/ImageReader$Directory;Ljdk/internal/jimage/ImageLocation;Ljava/nio/file/attribute/BasicFileAttributes;)Ljdk/internal/jimage/ImageReader$Resource;
astore 3
start local 3 1: aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.nodes:Ljava/util/HashMap;
aload 3
invokevirtual jdk.internal.jimage.ImageReader$Resource.getName:()Ljava/lang/String;
aload 3
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 3 1 parent Ljdk/internal/jimage/ImageReader$Directory;
0 3 2 loc Ljdk/internal/jimage/ImageLocation;
1 3 3 res Ljdk/internal/jimage/ImageReader$Resource;
MethodParameters:
Name Flags
parent
loc
jdk.internal.jimage.ImageReader$LinkNode newLinkNode(jdk.internal.jimage.ImageReader$Directory, java.lang.String, jdk.internal.jimage.ImageReader$Node);
descriptor: (Ljdk/internal/jimage/ImageReader$Directory;Ljava/lang/String;Ljdk/internal/jimage/ImageReader$Node;)Ljdk/internal/jimage/ImageReader$LinkNode;
flags: (0x0000)
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
aload 3
invokestatic jdk.internal.jimage.ImageReader$LinkNode.create:(Ljdk/internal/jimage/ImageReader$Directory;Ljava/lang/String;Ljdk/internal/jimage/ImageReader$Node;)Ljdk/internal/jimage/ImageReader$LinkNode;
astore 4
start local 4 1: aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.nodes:Ljava/util/HashMap;
aload 4
invokevirtual jdk.internal.jimage.ImageReader$LinkNode.getName:()Ljava/lang/String;
aload 4
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: 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 3 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 3 1 dir Ljdk/internal/jimage/ImageReader$Directory;
0 3 2 name Ljava/lang/String;
0 3 3 link Ljdk/internal/jimage/ImageReader$Node;
1 3 4 linkNode Ljdk/internal/jimage/ImageReader$LinkNode;
MethodParameters:
Name Flags
dir
name
link
jdk.internal.jimage.ImageReader$Directory makeDirectories(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Directory;
flags: (0x0000)
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.rootDir:Ljdk/internal/jimage/ImageReader$Directory;
astore 2
start local 2 1: aload 1
bipush 47
iconst_1
invokevirtual java.lang.String.indexOf:(II)I
istore 3
start local 3 2: goto 6
3: StackMap locals: jdk.internal.jimage.ImageReader$Directory int
StackMap stack:
aload 1
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
start local 4 4: aload 0
aload 4
aload 2
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.makeDirectory:(Ljava/lang/String;Ljdk/internal/jimage/ImageReader$Directory;)Ljdk/internal/jimage/ImageReader$Directory;
astore 2
end local 4 5: aload 1
bipush 47
iload 3
iconst_1
iadd
invokevirtual java.lang.String.indexOf:(II)I
istore 3
6: StackMap locals:
StackMap stack:
iload 3
iconst_m1
if_icmpne 3
end local 3 7: aload 0
aload 1
aload 2
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.makeDirectory:(Ljava/lang/String;Ljdk/internal/jimage/ImageReader$Directory;)Ljdk/internal/jimage/ImageReader$Directory;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 8 1 parent Ljava/lang/String;
1 8 2 last Ljdk/internal/jimage/ImageReader$Directory;
2 7 3 offset I
4 5 4 dir Ljava/lang/String;
MethodParameters:
Name Flags
parent
jdk.internal.jimage.ImageReader$Directory makeDirectory(java.lang.String, jdk.internal.jimage.ImageReader$Directory);
descriptor: (Ljava/lang/String;Ljdk/internal/jimage/ImageReader$Directory;)Ljdk/internal/jimage/ImageReader$Directory;
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.internal.jimage.ImageReader$SharedImageReader.nodes:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.jimage.ImageReader$Directory
astore 3
start local 3 1: aload 3
ifnonnull 3
2: aload 0
aload 2
aload 1
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.newDirectory:(Ljdk/internal/jimage/ImageReader$Directory;Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Directory;
astore 3
3: StackMap locals: jdk.internal.jimage.ImageReader$Directory
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 4 1 dir Ljava/lang/String;
0 4 2 last Ljdk/internal/jimage/ImageReader$Directory;
1 4 3 nextDir Ljdk/internal/jimage/ImageReader$Directory;
MethodParameters:
Name Flags
dir
last
byte[] getResource(jdk.internal.jimage.ImageReader$Node);
descriptor: (Ljdk/internal/jimage/ImageReader$Node;)[B
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual jdk.internal.jimage.ImageReader$Node.isResource:()Z
ifeq 2
1: aload 0
aload 1
invokevirtual jdk.internal.jimage.ImageReader$Node.getLocation:()Ljdk/internal/jimage/ImageLocation;
invokespecial jdk.internal.jimage.BasicImageReader.getResource:(Ljdk/internal/jimage/ImageLocation;)[B
areturn
2: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Not a resource: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 3 1 node Ljdk/internal/jimage/ImageReader$Node;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
node
byte[] getResource(jdk.internal.jimage.ImageReader$Resource);
descriptor: (Ljdk/internal/jimage/ImageReader$Resource;)[B
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.internal.jimage.ImageReader$Resource.getLocation:()Ljdk/internal/jimage/ImageLocation;
invokespecial jdk.internal.jimage.BasicImageReader.getResource:(Ljdk/internal/jimage/ImageLocation;)[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 1 1 rs Ljdk/internal/jimage/ImageReader$Resource;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
rs
private void lambda$0(jdk.internal.jimage.ImageLocation);
descriptor: (Ljdk/internal/jimage/ImageLocation;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.internal.jimage.ImageLocation.getFullName:()Ljava/lang/String;
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.findNode:(Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Node;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 2 1 childloc Ljdk/internal/jimage/ImageLocation;
private void lambda$1(jdk.internal.jimage.ImageReader$Directory, jdk.internal.jimage.ImageLocation);
descriptor: (Ljdk/internal/jimage/ImageReader$Directory;Ljdk/internal/jimage/ImageLocation;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 2 0: aload 2
invokevirtual jdk.internal.jimage.ImageLocation.getFullName:()Ljava/lang/String;
astore 3
start local 3 1: aload 3
ldc "/modules"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
2: aload 0
aload 3
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.makeDirectories:(Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Directory;
pop
3: goto 6
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 2
iconst_1
iconst_1
iconst_0
invokevirtual jdk.internal.jimage.ImageLocation.buildName:(ZZZ)Ljava/lang/String;
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.makeDirectories:(Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Directory;
pop
5: aload 0
aload 1
aload 2
invokevirtual jdk.internal.jimage.ImageReader$SharedImageReader.newResource:(Ljdk/internal/jimage/ImageReader$Directory;Ljdk/internal/jimage/ImageLocation;)Ljdk/internal/jimage/ImageReader$Resource;
pop
end local 3 6: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/jimage/ImageReader$SharedImageReader;
0 7 2 childloc Ljdk/internal/jimage/ImageLocation;
1 6 3 path Ljava/lang/String;
}
SourceFile: "ImageReader.java"
NestHost: jdk.internal.jimage.ImageReader
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
final Directory = jdk.internal.jimage.ImageReader$Directory of jdk.internal.jimage.ImageReader
LinkNode = jdk.internal.jimage.ImageReader$LinkNode of jdk.internal.jimage.ImageReader
public abstract Node = jdk.internal.jimage.ImageReader$Node of jdk.internal.jimage.ImageReader
Resource = jdk.internal.jimage.ImageReader$Resource of jdk.internal.jimage.ImageReader
private final SharedImageReader = jdk.internal.jimage.ImageReader$SharedImageReader of jdk.internal.jimage.ImageReader
abstract LocationVisitor = jdk.internal.jimage.ImageReader$SharedImageReader$LocationVisitor of jdk.internal.jimage.ImageReader$SharedImageReader