public class com.sun.org.apache.bcel.internal.util.ModularRuntimeImage implements java.io.Closeable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.bcel.internal.util.ModularRuntimeImage
super_class: java.lang.Object
{
static final java.lang.String MODULES_PATH;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.lang.String PACKAGES_PATH;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private final java.net.URLClassLoader classLoader;
descriptor: Ljava/net/URLClassLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.file.FileSystem fileSystem;
descriptor: Ljava/nio/file/FileSystem;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.StringBuilder
dup
getstatic java.io.File.separator:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "modules"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putstatic com.sun.org.apache.bcel.internal.util.ModularRuntimeImage.MODULES_PATH:Ljava/lang/String;
1: new java.lang.StringBuilder
dup
getstatic java.io.File.separator:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "packages"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putstatic com.sun.org.apache.bcel.internal.util.ModularRuntimeImage.PACKAGES_PATH:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
ldc "jrt:/"
invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
invokestatic java.nio.file.FileSystems.getFileSystem:(Ljava/net/URI;)Ljava/nio/file/FileSystem;
invokespecial com.sun.org.apache.bcel.internal.util.ModularRuntimeImage.<init>:(Ljava/net/URLClassLoader;Ljava/nio/file/FileSystem;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/bcel/internal/util/ModularRuntimeImage;
Exceptions:
throws java.io.IOException
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
astore 2
start local 2 2: aload 1
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 3
start local 3 3: aload 3
ldc "lib"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
ldc "jrt-fs.jar"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 4
start local 4 4: aload 0
new java.net.URLClassLoader
dup
iconst_1
anewarray java.net.URL
dup
iconst_0
aload 4
invokeinterface java.nio.file.Path.toUri:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
aastore
invokespecial java.net.URLClassLoader.<init>:([Ljava/net/URL;)V
putfield com.sun.org.apache.bcel.internal.util.ModularRuntimeImage.classLoader:Ljava/net/URLClassLoader;
5: aload 0
ldc "jrt:/"
invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
aload 2
aload 0
getfield com.sun.org.apache.bcel.internal.util.ModularRuntimeImage.classLoader:Ljava/net/URLClassLoader;
invokestatic java.nio.file.FileSystems.newFileSystem:(Ljava/net/URI;Ljava/util/Map;Ljava/lang/ClassLoader;)Ljava/nio/file/FileSystem;
putfield com.sun.org.apache.bcel.internal.util.ModularRuntimeImage.fileSystem:Ljava/nio/file/FileSystem;
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/org/apache/bcel/internal/util/ModularRuntimeImage;
0 7 1 javaHome Ljava/lang/String;
2 7 2 emptyMap Ljava/util/Map<Ljava/lang/String;*>;
3 7 3 jrePath Ljava/nio/file/Path;
4 7 4 jrtFsPath Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
javaHome final
private void <init>(java.net.URLClassLoader, java.nio.file.FileSystem);
descriptor: (Ljava/net/URLClassLoader;Ljava/nio/file/FileSystem;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.org.apache.bcel.internal.util.ModularRuntimeImage.classLoader:Ljava/net/URLClassLoader;
2: aload 0
aload 2
putfield com.sun.org.apache.bcel.internal.util.ModularRuntimeImage.fileSystem:Ljava/nio/file/FileSystem;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/util/ModularRuntimeImage;
0 4 1 cl Ljava/net/URLClassLoader;
0 4 2 fs Ljava/nio/file/FileSystem;
MethodParameters:
Name Flags
cl final
fs final
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.util.ModularRuntimeImage.classLoader:Ljava/net/URLClassLoader;
ifnull 2
1: aload 0
getfield com.sun.org.apache.bcel.internal.util.ModularRuntimeImage.classLoader:Ljava/net/URLClassLoader;
invokevirtual java.net.URLClassLoader.close:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.bcel.internal.util.ModularRuntimeImage.fileSystem:Ljava/nio/file/FileSystem;
ifnull 4
3: aload 0
getfield com.sun.org.apache.bcel.internal.util.ModularRuntimeImage.fileSystem:Ljava/nio/file/FileSystem;
invokevirtual java.nio.file.FileSystem.close:()V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/bcel/internal/util/ModularRuntimeImage;
Exceptions:
throws java.io.IOException
public java.util.List<java.nio.file.Path> list(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aconst_null
astore 3
aconst_null
astore 4
2: aload 1
invokestatic java.nio.file.Files.newDirectoryStream:(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
astore 5
start local 5 3: aload 5
invokeinterface java.nio.file.DirectoryStream.iterator:()Ljava/util/Iterator;
astore 6
start local 6 4: goto 6
5: StackMap locals: com.sun.org.apache.bcel.internal.util.ModularRuntimeImage java.nio.file.Path java.util.List java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.util.Iterator
StackMap stack:
aload 2
aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 6 7: aload 5
ifnull 13
aload 5
invokeinterface java.nio.file.DirectoryStream.close:()V
goto 13
StackMap locals: com.sun.org.apache.bcel.internal.util.ModularRuntimeImage java.nio.file.Path java.util.List java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream
StackMap stack: java.lang.Throwable
8: astore 3
aload 5
ifnull 9
aload 5
invokeinterface java.nio.file.DirectoryStream.close:()V
end local 5 StackMap locals:
StackMap stack:
9: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 4
aload 3
ifnonnull 11
aload 4
astore 3
goto 12
StackMap locals:
StackMap stack:
11: aload 3
aload 4
if_acmpeq 12
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 3
athrow
13: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/org/apache/bcel/internal/util/ModularRuntimeImage;
0 14 1 dirPath Ljava/nio/file/Path;
1 14 2 list Ljava/util/List<Ljava/nio/file/Path;>;
3 9 5 ds Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
4 7 6 iterator Ljava/util/Iterator<Ljava/nio/file/Path;>;
Exception table:
from to target type
3 7 8 any
2 10 10 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;)Ljava/util/List<Ljava/nio/file/Path;>;
MethodParameters:
Name Flags
dirPath final
public java.util.List<java.nio.file.Path> list(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield com.sun.org.apache.bcel.internal.util.ModularRuntimeImage.fileSystem:Ljava/nio/file/FileSystem;
aload 1
iconst_0
anewarray java.lang.String
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokevirtual com.sun.org.apache.bcel.internal.util.ModularRuntimeImage.list:(Ljava/nio/file/Path;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/util/ModularRuntimeImage;
0 1 1 dirName Ljava/lang/String;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/nio/file/Path;>;
MethodParameters:
Name Flags
dirName final
public java.util.List<java.nio.file.Path> modules();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic com.sun.org.apache.bcel.internal.util.ModularRuntimeImage.MODULES_PATH:Ljava/lang/String;
invokevirtual com.sun.org.apache.bcel.internal.util.ModularRuntimeImage.list:(Ljava/lang/String;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/util/ModularRuntimeImage;
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/List<Ljava/nio/file/Path;>;
public java.util.List<java.nio.file.Path> packages();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic com.sun.org.apache.bcel.internal.util.ModularRuntimeImage.PACKAGES_PATH:Ljava/lang/String;
invokevirtual com.sun.org.apache.bcel.internal.util.ModularRuntimeImage.list:(Ljava/lang/String;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/util/ModularRuntimeImage;
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/List<Ljava/nio/file/Path;>;
public java.nio.file.FileSystem getFileSystem();
descriptor: ()Ljava/nio/file/FileSystem;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.util.ModularRuntimeImage.fileSystem:Ljava/nio/file/FileSystem;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/util/ModularRuntimeImage;
}
SourceFile: "ModularRuntimeImage.java"