class jdk.nio.zipfs.JarFileSystemProvider extends jdk.nio.zipfs.ZipFileSystemProvider
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.nio.zipfs.JarFileSystemProvider
super_class: jdk.nio.zipfs.ZipFileSystemProvider
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial jdk.nio.zipfs.ZipFileSystemProvider.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nio/zipfs/JarFileSystemProvider;
public java.lang.String getScheme();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "jar"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nio/zipfs/JarFileSystemProvider;
protected java.nio.file.Path uriToPath(java.net.URI);
descriptor: (Ljava/net/URI;)Ljava/nio/file/Path;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
aload 0
invokevirtual jdk.nio.zipfs.JarFileSystemProvider.getScheme:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 3
2: StackMap locals: java.lang.String
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "URI scheme is not '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual jdk.nio.zipfs.JarFileSystemProvider.getScheme:()Ljava/lang/String;
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.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.net.URI.toString:()Ljava/lang/String;
astore 3
start local 3 4: aload 3
ldc "!/"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 4
start local 4 5: aload 3
iconst_4
iload 4
iconst_m1
if_icmpne 6
aload 3
invokevirtual java.lang.String.length:()I
goto 7
StackMap locals: jdk.nio.zipfs.JarFileSystemProvider java.net.URI java.lang.String java.lang.String int
StackMap stack: java.lang.String int
6: iload 4
StackMap locals: jdk.nio.zipfs.JarFileSystemProvider java.net.URI java.lang.String java.lang.String int
StackMap stack: java.lang.String int int
7: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
8: new java.net.URI
dup
aload 3
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
astore 1
9: new java.net.URI
dup
ldc "file"
aload 1
invokevirtual java.net.URI.getHost:()Ljava/lang/String;
aload 1
invokevirtual java.net.URI.getPath:()Ljava/lang/String;
aconst_null
invokespecial java.net.URI.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
invokestatic java.nio.file.Paths.get:(Ljava/net/URI;)Ljava/nio/file/Path;
10: invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
11: areturn
end local 4 end local 3 12: StackMap locals: jdk.nio.zipfs.JarFileSystemProvider java.net.URI java.lang.String
StackMap stack: java.net.URISyntaxException
astore 3
start local 3 13: new java.lang.AssertionError
dup
aload 3
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/nio/zipfs/JarFileSystemProvider;
0 14 1 uri Ljava/net/URI;
1 14 2 scheme Ljava/lang/String;
4 12 3 uristr Ljava/lang/String;
5 12 4 end I
13 14 3 e Ljava/net/URISyntaxException;
Exception table:
from to target type
3 11 12 Class java.net.URISyntaxException
MethodParameters:
Name Flags
uri
public java.nio.file.Path getPath(java.net.URI);
descriptor: (Ljava/net/URI;)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.nio.zipfs.JarFileSystemProvider.getFileSystem:(Ljava/net/URI;)Ljava/nio/file/FileSystem;
astore 2
start local 2 1: aload 1
invokevirtual java.net.URI.getFragment:()Ljava/lang/String;
astore 3
start local 3 2: aload 3
ifnonnull 7
3: aload 1
invokevirtual java.net.URI.toString:()Ljava/lang/String;
astore 4
start local 4 4: aload 4
ldc "!/"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 5
start local 5 5: iload 5
iconst_m1
if_icmpeq 7
6: aload 4
iload 5
iconst_2
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
end local 5 end local 4 7: StackMap locals: java.nio.file.FileSystem java.lang.String
StackMap stack:
aload 3
ifnull 9
8: aload 2
aload 3
iconst_0
anewarray java.lang.String
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
areturn
9: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "URI: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
10: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
11: ldc " does not contain path fragment ex. jar:///c:/foo.zip!/BAR"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/nio/zipfs/JarFileSystemProvider;
0 13 1 uri Ljava/net/URI;
1 13 2 fs Ljava/nio/file/FileSystem;
2 13 3 path Ljava/lang/String;
4 7 4 uristr Ljava/lang/String;
5 7 5 off I
MethodParameters:
Name Flags
uri
}
SourceFile: "JarFileSystemProvider.java"