public class sun.net.www.protocol.netdoc.Handler extends java.net.URLStreamHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.net.www.protocol.netdoc.Handler
super_class: java.net.URLStreamHandler
{
static java.net.URL base;
descriptor: Ljava/net/URL;
flags: (0x0008) ACC_STATIC
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/netdoc/Handler;
public synchronized java.net.URLConnection openConnection(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/net/URLConnection;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: new sun.security.action.GetBooleanAction
dup
ldc "newdoc.localonly"
invokespecial sun.security.action.GetBooleanAction.<init>:(Ljava/lang/String;)V
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 4
start local 4 3: aload 4
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 5
start local 5 4: new sun.security.action.GetPropertyAction
dup
ldc "doc.url"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
5: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 6: aload 1
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
astore 7
start local 7 7: iload 5
ifne 16
8: getstatic sun.net.www.protocol.netdoc.Handler.base:Ljava/net/URL;
ifnonnull 10
9: new java.net.URL
dup
aload 6
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
putstatic sun.net.www.protocol.netdoc.Handler.base:Ljava/net/URL;
10: StackMap locals: sun.net.www.protocol.netdoc.Handler java.net.URL java.net.URLConnection top java.lang.Boolean int java.lang.String java.lang.String
StackMap stack:
new java.net.URL
dup
getstatic sun.net.www.protocol.netdoc.Handler.base:Ljava/net/URL;
aload 7
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;)V
astore 3
start local 3 11: goto 14
end local 3 StackMap locals:
StackMap stack: java.net.MalformedURLException
12: pop
13: aconst_null
astore 3
start local 3 14: StackMap locals: sun.net.www.protocol.netdoc.Handler java.net.URL java.net.URLConnection java.net.URL java.lang.Boolean int java.lang.String java.lang.String
StackMap stack:
aload 3
ifnull 16
15: aload 3
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
astore 2
end local 3 16: StackMap locals: sun.net.www.protocol.netdoc.Handler java.net.URL java.net.URLConnection top java.lang.Boolean int java.lang.String java.lang.String
StackMap stack:
aload 2
ifnonnull 25
17: new java.net.URL
dup
ldc "file"
ldc "~"
aload 7
invokespecial java.net.URL.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
astore 3
start local 3 18: aload 3
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
astore 2
19: aload 2
invokevirtual java.net.URLConnection.getInputStream:()Ljava/io/InputStream;
pop
20: goto 25
end local 3 StackMap locals:
StackMap stack: java.net.MalformedURLException
21: pop
22: aconst_null
astore 2
goto 25
23: StackMap locals:
StackMap stack: java.io.IOException
pop
24: aconst_null
astore 2
25: StackMap locals:
StackMap stack:
aload 2
ifnonnull 29
26: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Can't find file for URL: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
27: aload 1
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
28: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
29: StackMap locals:
StackMap stack:
aload 2
areturn
end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lsun/net/www/protocol/netdoc/Handler;
0 30 1 u Ljava/net/URL;
1 30 2 uc Ljava/net/URLConnection;
11 12 3 ru Ljava/net/URL;
14 16 3 ru Ljava/net/URL;
18 21 3 ru Ljava/net/URL;
3 30 4 tmp Ljava/lang/Boolean;
4 30 5 localonly Z
6 30 6 docurl Ljava/lang/String;
7 30 7 file Ljava/lang/String;
Exception table:
from to target type
8 11 12 Class java.net.MalformedURLException
17 20 21 Class java.net.MalformedURLException
17 20 23 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
u
}
SourceFile: "Handler.java"