public class sun.net.www.protocol.jar.Handler extends java.net.URLStreamHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.net.www.protocol.jar.Handler
super_class: java.net.URLStreamHandler
{
private static final java.lang.String separator;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "!/"
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.net.URLStreamHandler.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/jar/Handler;
protected java.net.URLConnection openConnection(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/net/URLConnection;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new sun.net.www.protocol.jar.JarURLConnection
dup
aload 1
aload 0
invokespecial sun.net.www.protocol.jar.JarURLConnection.<init>:(Ljava/net/URL;Lsun/net/www/protocol/jar/Handler;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/www/protocol/jar/Handler;
0 1 1 u Ljava/net/URL;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
u
private static int indexOfBangSlash(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
istore 1
start local 1 1: goto 6
2: StackMap locals: int
StackMap stack:
iload 1
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
if_icmpeq 5
3: aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 5
4: iload 1
iconst_1
iadd
ireturn
5: StackMap locals:
StackMap stack:
iinc 1 -1
6: StackMap locals:
StackMap stack:
aload 0
bipush 33
iload 1
invokevirtual java.lang.String.lastIndexOf:(II)I
dup
istore 1
iconst_m1
if_icmpne 2
7: iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 spec Ljava/lang/String;
1 8 1 indexOfBang I
MethodParameters:
Name Flags
spec
protected boolean sameFile(java.net.URL, java.net.URL);
descriptor: (Ljava/net/URL;Ljava/net/URL;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
ldc "jar"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 1
aload 2
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
ldc "jar"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
astore 3
start local 3 3: aload 2
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
astore 4
start local 4 4: aload 3
ldc "!/"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 5
start local 5 5: aload 4
ldc "!/"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 6
start local 6 6: iload 5
iconst_m1
if_icmpeq 7
iload 6
iconst_m1
if_icmpne 8
7: StackMap locals: sun.net.www.protocol.jar.Handler java.net.URL java.net.URL java.lang.String java.lang.String int int
StackMap stack:
aload 0
aload 1
aload 2
invokespecial java.net.URLStreamHandler.sameFile:(Ljava/net/URL;Ljava/net/URL;)Z
ireturn
8: StackMap locals:
StackMap stack:
aload 3
iload 5
iconst_2
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 7
start local 7 9: aload 4
iload 6
iconst_2
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 8
start local 8 10: aload 7
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
11: iconst_0
ireturn
12: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aconst_null
astore 9
start local 9 13: aconst_null
astore 10
start local 10 14: new java.net.URL
dup
aload 3
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 9
15: new java.net.URL
dup
aload 4
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 10
16: goto 19
StackMap locals: sun.net.www.protocol.jar.Handler java.net.URL java.net.URL java.lang.String java.lang.String int int java.lang.String java.lang.String java.net.URL java.net.URL
StackMap stack: java.net.MalformedURLException
17: pop
18: aload 0
aload 1
aload 2
invokespecial java.net.URLStreamHandler.sameFile:(Ljava/net/URL;Ljava/net/URL;)Z
ireturn
19: StackMap locals:
StackMap stack:
aload 0
aload 9
aload 10
invokespecial java.net.URLStreamHandler.sameFile:(Ljava/net/URL;Ljava/net/URL;)Z
ifne 21
20: iconst_0
ireturn
21: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/net/www/protocol/jar/Handler;
0 22 1 u1 Ljava/net/URL;
0 22 2 u2 Ljava/net/URL;
3 22 3 file1 Ljava/lang/String;
4 22 4 file2 Ljava/lang/String;
5 22 5 sep1 I
6 22 6 sep2 I
9 22 7 entry1 Ljava/lang/String;
10 22 8 entry2 Ljava/lang/String;
13 22 9 enclosedURL1 Ljava/net/URL;
14 22 10 enclosedURL2 Ljava/net/URL;
Exception table:
from to target type
14 16 17 Class java.net.MalformedURLException
MethodParameters:
Name Flags
u1
u2
protected int hashCode(java.net.URL);
descriptor: (Ljava/net/URL;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
astore 3
start local 3 2: aload 3
ifnull 4
3: iload 2
aload 3
invokevirtual java.lang.String.hashCode:()I
iadd
istore 2
4: StackMap locals: int java.lang.String
StackMap stack:
aload 1
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
astore 4
start local 4 5: aload 4
ldc "!/"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 5
start local 5 6: iload 5
iconst_m1
if_icmpne 8
7: iload 2
aload 4
invokevirtual java.lang.String.hashCode:()I
iadd
ireturn
8: StackMap locals: java.lang.String int
StackMap stack:
aconst_null
astore 6
start local 6 9: aload 4
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 7
start local 7 10: new java.net.URL
dup
aload 7
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 6
11: iload 2
aload 6
invokevirtual java.net.URL.hashCode:()I
iadd
istore 2
12: goto 15
StackMap locals: sun.net.www.protocol.jar.Handler java.net.URL int java.lang.String java.lang.String int java.net.URL java.lang.String
StackMap stack: java.net.MalformedURLException
13: pop
14: iload 2
aload 7
invokevirtual java.lang.String.hashCode:()I
iadd
istore 2
15: StackMap locals:
StackMap stack:
aload 4
iload 5
iconst_2
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 8
start local 8 16: iload 2
aload 8
invokevirtual java.lang.String.hashCode:()I
iadd
istore 2
17: iload 2
ireturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/net/www/protocol/jar/Handler;
0 18 1 u Ljava/net/URL;
1 18 2 h I
2 18 3 protocol Ljava/lang/String;
5 18 4 file Ljava/lang/String;
6 18 5 sep I
9 18 6 enclosedURL Ljava/net/URL;
10 18 7 fileWithoutEntry Ljava/lang/String;
16 18 8 entry Ljava/lang/String;
Exception table:
from to target type
10 12 13 Class java.net.MalformedURLException
MethodParameters:
Name Flags
u
public java.lang.String checkNestedProtocol(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
iconst_1
iconst_0
ldc "jar:"
iconst_0
iconst_4
invokevirtual java.lang.String.regionMatches:(ZILjava/lang/String;II)Z
ifeq 2
1: ldc "Nested JAR URLs are not supported"
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/www/protocol/jar/Handler;
0 3 1 spec Ljava/lang/String;
MethodParameters:
Name Flags
spec
protected void parseURL(java.net.URL, java.lang.String, int, int);
descriptor: (Ljava/net/URL;Ljava/lang/String;II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=14, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aconst_null
astore 5
start local 5 1: aconst_null
astore 6
start local 6 2: aload 2
bipush 35
iload 4
invokevirtual java.lang.String.indexOf:(II)I
istore 7
start local 7 3: iload 7
iload 3
if_icmpne 4
iconst_1
goto 5
StackMap locals: java.lang.String java.lang.String int
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 8
start local 8 6: iload 7
iconst_m1
if_icmple 10
7: aload 2
iload 7
iconst_1
iadd
aload 2
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
8: iload 8
ifeq 10
9: aload 1
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
astore 5
10: StackMap locals: int
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
iconst_4
if_icmplt 12
11: aload 2
iconst_1
iconst_0
ldc "jar:"
iconst_0
iconst_4
invokevirtual java.lang.String.regionMatches:(ZILjava/lang/String;II)Z
goto 13
12: StackMap locals:
StackMap stack:
iconst_0
13: StackMap locals:
StackMap stack: int
istore 9
start local 9 14: aload 2
iload 3
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
15: aload 0
aload 2
invokevirtual sun.net.www.protocol.jar.Handler.checkNestedProtocol:(Ljava/lang/String;)Ljava/lang/String;
astore 10
start local 10 16: aload 10
ifnull 18
17: new java.lang.NullPointerException
dup
aload 10
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals: int java.lang.String
StackMap stack:
iload 9
ifeq 21
19: aload 0
aload 2
invokevirtual sun.net.www.protocol.jar.Handler.parseAbsoluteSpec:(Ljava/lang/String;)Ljava/lang/String;
astore 5
20: goto 28
StackMap locals:
StackMap stack:
21: iload 8
ifne 28
22: aload 0
aload 1
aload 2
invokevirtual sun.net.www.protocol.jar.Handler.parseContextSpec:(Ljava/net/URL;Ljava/lang/String;)Ljava/lang/String;
astore 5
23: aload 5
invokestatic sun.net.www.protocol.jar.Handler.indexOfBangSlash:(Ljava/lang/String;)I
istore 11
start local 11 24: aload 5
iconst_0
iload 11
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 12
start local 12 25: aload 5
iload 11
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 13
start local 13 26: aload 13
invokestatic sun.net.www.ParseUtil.canonizeString:(Ljava/lang/String;)Ljava/lang/String;
astore 13
27: new java.lang.StringBuilder
dup
aload 12
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 13
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
end local 13 end local 12 end local 11 28: StackMap locals:
StackMap stack:
aload 0
aload 1
ldc "jar"
ldc ""
iconst_m1
aload 5
aload 6
invokevirtual sun.net.www.protocol.jar.Handler.setURL:(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
29: return
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lsun/net/www/protocol/jar/Handler;
0 30 1 url Ljava/net/URL;
0 30 2 spec Ljava/lang/String;
0 30 3 start I
0 30 4 limit I
1 30 5 file Ljava/lang/String;
2 30 6 ref Ljava/lang/String;
3 30 7 refPos I
6 30 8 refOnly Z
14 30 9 absoluteSpec Z
16 30 10 exceptionMessage Ljava/lang/String;
24 28 11 bangSlash I
25 28 12 toBangSlash Ljava/lang/String;
26 28 13 afterBangSlash Ljava/lang/String;
MethodParameters:
Name Flags
url
spec
start
limit
private java.lang.String parseAbsoluteSpec(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.net.www.protocol.jar.Handler.indexOfBangSlash:(Ljava/lang/String;)I
dup
istore 2
start local 2 1: iconst_m1
if_icmpne 3
2: new java.lang.NullPointerException
dup
ldc "no !/ in spec"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
aload 1
iconst_0
iload 2
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
start local 3 4: new java.net.URL
aload 3
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
end local 3 5: goto 10
StackMap locals:
StackMap stack: java.net.MalformedURLException
6: astore 3
start local 3 7: new java.lang.NullPointerException
dup
new java.lang.StringBuilder
dup
ldc "invalid url: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: 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;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
end local 3 10: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/net/www/protocol/jar/Handler;
0 11 1 spec Ljava/lang/String;
1 11 2 index I
4 5 3 innerSpec Ljava/lang/String;
7 10 3 e Ljava/net/MalformedURLException;
Exception table:
from to target type
3 5 6 Class java.net.MalformedURLException
MethodParameters:
Name Flags
spec
private java.lang.String parseContextSpec(java.net.URL, java.lang.String);
descriptor: (Ljava/net/URL;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
astore 3
start local 3 1: aload 2
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 10
2: aload 3
invokestatic sun.net.www.protocol.jar.Handler.indexOfBangSlash:(Ljava/lang/String;)I
istore 4
start local 4 3: iload 4
iconst_m1
if_icmpne 8
4: new java.lang.NullPointerException
dup
new java.lang.StringBuilder
dup
ldc "malformed context url:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
5: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
6: ldc ": no !/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: java.lang.String int
StackMap stack:
aload 3
iconst_0
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
end local 4 9: goto 17
10: StackMap locals:
StackMap stack:
aload 3
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 4
start local 4 11: iload 4
iconst_m1
if_icmpne 15
12: new java.lang.NullPointerException
dup
new java.lang.StringBuilder
dup
ldc "malformed context url:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
13: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals: int
StackMap stack:
iload 4
aload 3
invokevirtual java.lang.String.length:()I
iconst_1
isub
if_icmpge 17
16: aload 3
iconst_0
iload 4
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
end local 4 17: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/net/www/protocol/jar/Handler;
0 18 1 url Ljava/net/URL;
0 18 2 spec Ljava/lang/String;
1 18 3 ctxFile Ljava/lang/String;
3 9 4 bangSlash I
11 17 4 lastSlash I
MethodParameters:
Name Flags
url
spec
}
SourceFile: "Handler.java"