public class jdk.tools.jaotc.collect.FileSupport
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.tools.jaotc.collect.FileSupport
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/tools/jaotc/collect/FileSupport;
public boolean exists(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/collect/FileSupport;
0 1 1 path Ljava/nio/file/Path;
MethodParameters:
Name Flags
path
public boolean isDirectory(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
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 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/collect/FileSupport;
0 1 1 path Ljava/nio/file/Path;
MethodParameters:
Name Flags
path
private static java.nio.file.FileSystem makeJarFileSystem(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/FileSystem;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokestatic jdk.tools.jaotc.collect.FileSupport.makeJarFileURI:(Ljava/nio/file/Path;)Ljava/net/URI;
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
invokestatic java.nio.file.FileSystems.newFileSystem:(Ljava/net/URI;Ljava/util/Map;)Ljava/nio/file/FileSystem;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 3: new java.lang.InternalError
dup
aload 1
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 path Ljava/nio/file/Path;
3 4 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
path
private static java.net.URI makeJarFileURI(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/net/URI;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
bipush 92
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 1
2: new java.net.URI
dup
new java.lang.StringBuilder
dup
ldc "jar:file:///"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "!/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
3: areturn
end local 1 4: StackMap locals:
StackMap stack: java.net.URISyntaxException
astore 1
start local 1 5: new java.lang.InternalError
dup
aload 1
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 path Ljava/nio/file/Path;
1 4 1 name Ljava/lang/String;
5 6 1 e Ljava/net/URISyntaxException;
Exception table:
from to target type
0 3 4 Class java.net.URISyntaxException
MethodParameters:
Name Flags
path
public java.lang.ClassLoader createClassLoader(java.nio.file.Path, java.lang.ClassLoader);
descriptor: (Ljava/nio/file/Path;Ljava/lang/ClassLoader;)Ljava/lang/ClassLoader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic jdk.tools.jaotc.collect.FileSupport.buildUrls:(Ljava/nio/file/Path;)[Ljava/net/URL;
aload 2
invokestatic java.net.URLClassLoader.newInstance:([Ljava/net/URL;Ljava/lang/ClassLoader;)Ljava/net/URLClassLoader;
1: areturn
2: StackMap locals:
StackMap stack: java.net.MalformedURLException
astore 3
start local 3 3: new java.lang.InternalError
dup
aload 3
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jaotc/collect/FileSupport;
0 4 1 path Ljava/nio/file/Path;
0 4 2 parent Ljava/lang/ClassLoader;
3 4 3 e Ljava/net/MalformedURLException;
Exception table:
from to target type
0 1 2 Class java.net.MalformedURLException
MethodParameters:
Name Flags
path
parent
public java.lang.ClassLoader createClassLoader(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/lang/ClassLoader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.tools.jaotc.collect.FileSupport.buildUrls:(Ljava/nio/file/Path;)[Ljava/net/URL;
invokestatic java.net.URLClassLoader.newInstance:([Ljava/net/URL;)Ljava/net/URLClassLoader;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/collect/FileSupport;
0 1 1 path Ljava/nio/file/Path;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
path
private static java.net.URL[] buildUrls(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)[Ljava/net/URL;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_1
anewarray java.net.URL
dup
iconst_0
aload 0
invokeinterface java.nio.file.Path.toUri:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
aastore
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
path
public java.nio.file.Path getJarFileSystemRoot(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.tools.jaotc.collect.FileSupport.makeJarFileSystem:(Ljava/nio/file/Path;)Ljava/nio/file/FileSystem;
astore 2
start local 2 1: aload 2
ldc "/"
iconst_0
anewarray java.lang.String
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jaotc/collect/FileSupport;
0 2 1 jarFile Ljava/nio/file/Path;
1 2 2 fileSystem Ljava/nio/file/FileSystem;
MethodParameters:
Name Flags
jarFile
public boolean isAbsolute(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.nio.file.Path.isAbsolute:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/collect/FileSupport;
0 1 1 entry Ljava/nio/file/Path;
MethodParameters:
Name Flags
entry
public java.nio.file.Path getSubDirectory(java.nio.file.FileSystem, java.nio.file.Path, java.nio.file.Path);
descriptor: (Ljava/nio/file/FileSystem;Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual java.nio.file.FileSystem.provider:()Ljava/nio/file/spi/FileSystemProvider;
aload 2
aconst_null
invokevirtual java.nio.file.spi.FileSystemProvider.newDirectoryStream:(Ljava/nio/file/Path;Ljava/nio/file/DirectoryStream$Filter;)Ljava/nio/file/DirectoryStream;
astore 4
start local 4 1: aload 4
invokeinterface java.nio.file.DirectoryStream.iterator:()Ljava/util/Iterator;
astore 6
goto 6
StackMap locals: jdk.tools.jaotc.collect.FileSupport java.nio.file.FileSystem java.nio.file.Path java.nio.file.Path java.nio.file.DirectoryStream top java.util.Iterator
StackMap stack:
2: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 5
start local 5 3: aload 2
aload 5
invokeinterface java.nio.file.Path.relativize:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
astore 7
start local 7 4: aload 7
aload 3
invokeinterface java.nio.file.Path.equals:(Ljava/lang/Object;)Z
ifeq 6
5: aload 5
areturn
end local 7 end local 5 6: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: aconst_null
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/tools/jaotc/collect/FileSupport;
0 8 1 fileSystem Ljava/nio/file/FileSystem;
0 8 2 root Ljava/nio/file/Path;
0 8 3 path Ljava/nio/file/Path;
1 8 4 paths Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
3 6 5 entry Ljava/nio/file/Path;
4 6 7 relative Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fileSystem
root
path
}
SourceFile: "FileSupport.java"
InnerClasses:
public abstract Filter = java.nio.file.DirectoryStream$Filter of java.nio.file.DirectoryStream