abstract class jdk.internal.jrtfs.SystemImage
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: jdk.internal.jrtfs.SystemImage
super_class: java.lang.Object
{
static final java.lang.String RUNTIME_HOME;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.nio.file.Path moduleImageFile;
descriptor: Ljava/nio/file/Path;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final boolean modulesImageExists;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.nio.file.Path explodedModulesDir;
descriptor: Ljava/nio/file/Path;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=2, args_size=0
0: invokedynamic run()Ljava/security/PrivilegedAction;
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;
jdk/internal/jrtfs/SystemImage.findHome()Ljava/lang/String; (6)
()Ljava/lang/String;
astore 0
start local 0 1: aload 0
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
putstatic jdk.internal.jrtfs.SystemImage.RUNTIME_HOME:Ljava/lang/String;
2: invokestatic java.nio.file.FileSystems.getDefault:()Ljava/nio/file/FileSystem;
astore 1
start local 1 3: aload 1
getstatic jdk.internal.jrtfs.SystemImage.RUNTIME_HOME:Ljava/lang/String;
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "lib"
aastore
dup
iconst_1
ldc "modules"
aastore
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
putstatic jdk.internal.jrtfs.SystemImage.moduleImageFile:Ljava/nio/file/Path;
4: aload 1
getstatic jdk.internal.jrtfs.SystemImage.RUNTIME_HOME:Ljava/lang/String;
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "modules"
aastore
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
putstatic jdk.internal.jrtfs.SystemImage.explodedModulesDir:Ljava/nio/file/Path;
5: new jdk.internal.jrtfs.SystemImage$1
dup
invokespecial jdk.internal.jrtfs.SystemImage$1.<init>:()V
6: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
putstatic jdk.internal.jrtfs.SystemImage.modulesImageExists:Z
end local 1 end local 0 7: return
LocalVariableTable:
Start End Slot Name Signature
1 7 0 pa Ljava/security/PrivilegedAction<Ljava/lang/String;>;
3 7 1 fs Ljava/nio/file/FileSystem;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jrtfs/SystemImage;
abstract jdk.internal.jimage.ImageReader$Node findNode(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Node;
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
abstract byte[] getResource(jdk.internal.jimage.ImageReader$Node);
descriptor: (Ljdk/internal/jimage/ImageReader$Node;)[B
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
node
abstract void close();
descriptor: ()V
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws java.io.IOException
static jdk.internal.jrtfs.SystemImage open();
descriptor: ()Ljdk/internal/jrtfs/SystemImage;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: getstatic jdk.internal.jrtfs.SystemImage.modulesImageExists:Z
ifeq 4
1: getstatic jdk.internal.jrtfs.SystemImage.moduleImageFile:Ljava/nio/file/Path;
invokestatic jdk.internal.jimage.ImageReader.open:(Ljava/nio/file/Path;)Ljdk/internal/jimage/ImageReader;
astore 0
start local 0 2: aload 0
invokevirtual jdk.internal.jimage.ImageReader.getRootDirectory:()Ljdk/internal/jimage/ImageReader$Directory;
pop
3: new jdk.internal.jrtfs.SystemImage$2
dup
aload 0
invokespecial jdk.internal.jrtfs.SystemImage$2.<init>:(Ljdk/internal/jimage/ImageReader;)V
areturn
end local 0 4: StackMap locals:
StackMap stack:
getstatic jdk.internal.jrtfs.SystemImage.explodedModulesDir:Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.notExists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 6
5: new java.nio.file.FileSystemNotFoundException
dup
getstatic jdk.internal.jrtfs.SystemImage.explodedModulesDir:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokespecial java.nio.file.FileSystemNotFoundException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
new jdk.internal.jrtfs.ExplodedImage
dup
getstatic jdk.internal.jrtfs.SystemImage.explodedModulesDir:Ljava/nio/file/Path;
invokespecial jdk.internal.jrtfs.ExplodedImage.<init>:(Ljava/nio/file/Path;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
2 4 0 image Ljdk/internal/jimage/ImageReader;
Exceptions:
throws java.io.IOException
private static java.lang.String findHome();
descriptor: ()Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=0
0: ldc Ljdk/internal/jrtfs/SystemImage;
invokevirtual java.lang.Class.getProtectionDomain:()Ljava/security/ProtectionDomain;
invokevirtual java.security.ProtectionDomain.getCodeSource:()Ljava/security/CodeSource;
astore 0
start local 0 1: aload 0
ifnonnull 3
2: ldc "java.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
areturn
3: StackMap locals: java.security.CodeSource
StackMap stack:
aload 0
invokevirtual java.security.CodeSource.getLocation:()Ljava/net/URL;
astore 1
start local 1 4: aload 1
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
ldc "file"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 6
5: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " loaded in unexpected way"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: java.net.URL
StackMap stack:
aload 1
invokevirtual java.net.URL.toURI:()Ljava/net/URI;
invokestatic java.nio.file.Paths.get:(Ljava/net/URI;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
astore 2
start local 2 7: aload 2
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
ldc "lib"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
8: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " unexpected path"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: java.nio.file.Path
StackMap stack:
aload 2
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
10: areturn
end local 2 11: StackMap locals: java.security.CodeSource java.net.URL
StackMap stack: java.net.URISyntaxException
astore 2
start local 2 12: new java.lang.InternalError
dup
aload 2
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 13 0 cs Ljava/security/CodeSource;
4 13 1 url Ljava/net/URL;
7 11 2 lib Ljava/nio/file/Path;
12 13 2 e Ljava/net/URISyntaxException;
Exception table:
from to target type
6 10 11 Class java.net.URISyntaxException
}
SourceFile: "SystemImage.java"
NestMembers:
jdk.internal.jrtfs.SystemImage$1 jdk.internal.jrtfs.SystemImage$2
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Node = jdk.internal.jimage.ImageReader$Node of jdk.internal.jimage.ImageReader
jdk.internal.jrtfs.SystemImage$1
jdk.internal.jrtfs.SystemImage$2
final Directory = jdk.internal.jimage.ImageReader$Directory of jdk.internal.jimage.ImageReader