public class jdk.internal.jimage.ImageReaderFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.jimage.ImageReaderFactory
super_class: java.lang.Object
{
private static final java.lang.String JAVA_HOME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.nio.file.Path BOOT_MODULES_JIMAGE;
descriptor: Ljava/nio/file/Path;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Map<java.nio.file.Path, jdk.internal.jimage.ImageReader> readers;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/nio/file/Path;Ljdk/internal/jimage/ImageReader;>;
private static java.util.function.Function<java.nio.file.Path, jdk.internal.jimage.ImageReader> OPENER;
descriptor: Ljava/util/function/Function;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/function/Function<Ljava/nio/file/Path;Ljdk/internal/jimage/ImageReader;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: ldc "java.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic jdk.internal.jimage.ImageReaderFactory.JAVA_HOME:Ljava/lang/String;
1: getstatic jdk.internal.jimage.ImageReaderFactory.JAVA_HOME:Ljava/lang/String;
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "lib"
aastore
dup
iconst_1
ldc "modules"
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
2: putstatic jdk.internal.jimage.ImageReaderFactory.BOOT_MODULES_JIMAGE:Ljava/nio/file/Path;
3: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putstatic jdk.internal.jimage.ImageReaderFactory.readers:Ljava/util/Map;
4: new jdk.internal.jimage.ImageReaderFactory$1
dup
invokespecial jdk.internal.jimage.ImageReaderFactory$1.<init>:()V
putstatic jdk.internal.jimage.ImageReaderFactory.OPENER:Ljava/util/function/Function;
5: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
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/jimage/ImageReaderFactory;
public static jdk.internal.jimage.ImageReader get(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljdk/internal/jimage/ImageReader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: getstatic jdk.internal.jimage.ImageReaderFactory.readers:Ljava/util/Map;
aload 0
getstatic jdk.internal.jimage.ImageReaderFactory.OPENER:Ljava/util/function/Function;
invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast jdk.internal.jimage.ImageReader
2: areturn
3: StackMap locals:
StackMap stack: java.io.UncheckedIOException
astore 1
start local 1 4: aload 1
invokevirtual java.io.UncheckedIOException.getCause:()Ljava/io/IOException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 jimage Ljava/nio/file/Path;
4 5 1 io Ljava/io/UncheckedIOException;
Exception table:
from to target type
1 2 3 Class java.io.UncheckedIOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
jimage
public static jdk.internal.jimage.ImageReader getImageReader();
descriptor: ()Ljdk/internal/jimage/ImageReader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: getstatic jdk.internal.jimage.ImageReaderFactory.BOOT_MODULES_JIMAGE:Ljava/nio/file/Path;
invokestatic jdk.internal.jimage.ImageReaderFactory.get:(Ljava/nio/file/Path;)Ljdk/internal/jimage/ImageReader;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 0
start local 0 3: new java.io.UncheckedIOException
dup
aload 0
invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
3 4 0 ioe Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
}
SourceFile: "ImageReaderFactory.java"
NestMembers:
jdk.internal.jimage.ImageReaderFactory$1
InnerClasses:
jdk.internal.jimage.ImageReaderFactory$1