public final class java.net.URL implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: java.net.URL
super_class: java.lang.Object
{
static final java.lang.String BUILTIN_HANDLERS_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "sun.net.www.protocol"
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -7627629688361524110
private static final java.lang.String protocolPathProp;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "java.protocol.handler.pkgs"
private java.lang.String protocol;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String host;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int port;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String file;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private transient java.lang.String query;
descriptor: Ljava/lang/String;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private java.lang.String authority;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private transient java.lang.String path;
descriptor: Ljava/lang/String;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.lang.String userInfo;
descriptor: Ljava/lang/String;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private java.lang.String ref;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
transient java.net.InetAddress hostAddress;
descriptor: Ljava/net/InetAddress;
flags: (0x0080) ACC_TRANSIENT
transient java.net.URLStreamHandler handler;
descriptor: Ljava/net/URLStreamHandler;
flags: (0x0080) ACC_TRANSIENT
private int hashCode;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private transient java.net.UrlDeserializedState tempState;
descriptor: Ljava/net/UrlDeserializedState;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private static volatile java.net.URLStreamHandlerFactory factory;
descriptor: Ljava/net/URLStreamHandlerFactory;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static final java.net.URLStreamHandlerFactory defaultFactory;
descriptor: Ljava/net/URLStreamHandlerFactory;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static java.lang.ThreadLocal<java.lang.Object> gate;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/lang/ThreadLocal<Ljava/lang/Object;>;
static java.util.Hashtable<java.lang.String, java.net.URLStreamHandler> handlers;
descriptor: Ljava/util/Hashtable;
flags: (0x0008) ACC_STATIC
Signature: Ljava/util/Hashtable<Ljava/lang/String;Ljava/net/URLStreamHandler;>;
private static final java.lang.Object streamHandlerLock;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.io.ObjectStreamField[] serialPersistentFields;
descriptor: [Ljava/io/ObjectStreamField;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: new java.net.URL$DefaultFactory
dup
invokespecial java.net.URL$DefaultFactory.<init>:()V
putstatic java.net.URL.defaultFactory:Ljava/net/URLStreamHandlerFactory;
1: new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putstatic java.net.URL.gate:Ljava/lang/ThreadLocal;
2: new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putstatic java.net.URL.handlers:Ljava/util/Hashtable;
3: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic java.net.URL.streamHandlerLock:Ljava/lang/Object;
4: bipush 7
anewarray java.io.ObjectStreamField
dup
iconst_0
5: new java.io.ObjectStreamField
dup
ldc "protocol"
ldc Ljava/lang/String;
invokespecial java.io.ObjectStreamField.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
aastore
dup
iconst_1
6: new java.io.ObjectStreamField
dup
ldc "host"
ldc Ljava/lang/String;
invokespecial java.io.ObjectStreamField.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
aastore
dup
iconst_2
7: new java.io.ObjectStreamField
dup
ldc "port"
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
invokespecial java.io.ObjectStreamField.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
aastore
dup
iconst_3
8: new java.io.ObjectStreamField
dup
ldc "authority"
ldc Ljava/lang/String;
invokespecial java.io.ObjectStreamField.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
aastore
dup
iconst_4
9: new java.io.ObjectStreamField
dup
ldc "file"
ldc Ljava/lang/String;
invokespecial java.io.ObjectStreamField.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
aastore
dup
iconst_5
10: new java.io.ObjectStreamField
dup
ldc "ref"
ldc Ljava/lang/String;
invokespecial java.io.ObjectStreamField.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
aastore
dup
bipush 6
11: new java.io.ObjectStreamField
dup
ldc "hashCode"
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
invokespecial java.io.ObjectStreamField.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
aastore
12: putstatic java.net.URL.serialPersistentFields:[Ljava/io/ObjectStreamField;
13: new java.net.URL$1
dup
invokespecial java.net.URL$1.<init>:()V
14: invokestatic jdk.internal.misc.SharedSecrets.setJavaNetURLAccess:(Ljdk/internal/misc/JavaNetURLAccess;)V
15: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, java.lang.String, int, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
iload 3
aload 4
aconst_null
invokespecial java.net.URL.<init>:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/net/URLStreamHandler;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/net/URL;
0 2 1 protocol Ljava/lang/String;
0 2 2 host Ljava/lang/String;
0 2 3 port I
0 2 4 file Ljava/lang/String;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
protocol
host
port
file
public void <init>(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iconst_m1
aload 3
invokespecial java.net.URL.<init>:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/net/URL;
0 2 1 protocol Ljava/lang/String;
0 2 2 host Ljava/lang/String;
0 2 3 file Ljava/lang/String;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
protocol
host
file
public void <init>(java.lang.String, java.lang.String, int, java.lang.String, java.net.URLStreamHandler);
descriptor: (Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/net/URLStreamHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield java.net.URL.port:I
2: aload 0
iconst_m1
putfield java.net.URL.hashCode:I
3: aload 5
ifnull 7
4: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 6
start local 6 5: aload 6
ifnull 7
6: aload 0
aload 6
invokevirtual java.net.URL.checkSpecifyHandler:(Ljava/lang/SecurityManager;)V
end local 6 7: StackMap locals: java.net.URL java.lang.String java.lang.String int java.lang.String java.net.URLStreamHandler
StackMap stack:
aload 1
invokestatic java.net.URL.toLowerCase:(Ljava/lang/String;)Ljava/lang/String;
astore 1
8: aload 0
aload 1
putfield java.net.URL.protocol:Ljava/lang/String;
9: aload 2
ifnull 21
10: aload 2
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
iflt 12
aload 2
ldc "["
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 12
11: new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
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;
astore 2
12: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield java.net.URL.host:Ljava/lang/String;
13: iload 3
iconst_m1
if_icmpge 17
14: new java.net.MalformedURLException
dup
new java.lang.StringBuilder
dup
ldc "Invalid port number :"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield java.net.URL.port:I
18: aload 0
iload 3
iconst_m1
if_icmpne 19
aload 2
goto 20
StackMap locals:
StackMap stack: java.net.URL
19: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: java.net.URL java.lang.String java.lang.String int java.lang.String java.net.URLStreamHandler
StackMap stack: java.net.URL java.lang.String
20: putfield java.net.URL.authority:Ljava/lang/String;
21: StackMap locals:
StackMap stack:
aload 4
bipush 35
invokevirtual java.lang.String.indexOf:(I)I
istore 6
start local 6 22: aload 0
iload 6
ifge 23
aconst_null
goto 24
StackMap locals: java.net.URL java.lang.String java.lang.String int java.lang.String java.net.URLStreamHandler int
StackMap stack: java.net.URL
23: aload 4
iload 6
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
StackMap locals: java.net.URL java.lang.String java.lang.String int java.lang.String java.net.URLStreamHandler int
StackMap stack: java.net.URL java.lang.String
24: putfield java.net.URL.ref:Ljava/lang/String;
25: iload 6
ifge 26
aload 4
goto 27
StackMap locals:
StackMap stack:
26: aload 4
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
27: astore 4
28: aload 4
bipush 63
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 7
start local 7 29: iload 7
iconst_m1
if_icmpeq 34
30: aload 0
aload 4
iload 7
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield java.net.URL.query:Ljava/lang/String;
31: aload 0
aload 4
iconst_0
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield java.net.URL.path:Ljava/lang/String;
32: aload 0
new java.lang.StringBuilder
dup
aload 0
getfield java.net.URL.path:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.net.URL.query:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield java.net.URL.file:Ljava/lang/String;
33: goto 36
34: StackMap locals: int
StackMap stack:
aload 0
aload 4
putfield java.net.URL.path:Ljava/lang/String;
35: aload 0
aload 0
getfield java.net.URL.path:Ljava/lang/String;
putfield java.net.URL.file:Ljava/lang/String;
36: StackMap locals:
StackMap stack:
aload 5
ifnonnull 39
37: aload 1
invokestatic java.net.URL.getURLStreamHandler:(Ljava/lang/String;)Ljava/net/URLStreamHandler;
dup
astore 5
ifnonnull 39
38: new java.net.MalformedURLException
dup
new java.lang.StringBuilder
dup
ldc "unknown protocol: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
athrow
39: StackMap locals:
StackMap stack:
aload 0
aload 5
putfield java.net.URL.handler:Ljava/net/URLStreamHandler;
40: aload 2
ifnull 44
aload 0
aload 5
invokevirtual java.net.URL.isBuiltinStreamHandler:(Ljava/net/URLStreamHandler;)Z
ifeq 44
41: aload 0
invokestatic sun.net.util.IPAddressUtil.checkExternalForm:(Ljava/net/URL;)Ljava/lang/String;
astore 8
start local 8 42: aload 8
ifnull 44
43: new java.net.MalformedURLException
dup
aload 8
invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
athrow
end local 8 44: StackMap locals:
StackMap stack:
ldc "jar"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 49
45: aload 5
instanceof sun.net.www.protocol.jar.Handler
ifeq 49
46: aload 5
checkcast sun.net.www.protocol.jar.Handler
aload 4
invokevirtual sun.net.www.protocol.jar.Handler.checkNestedProtocol:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 47: aload 8
ifnull 49
48: new java.net.MalformedURLException
dup
aload 8
invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
athrow
end local 8 49: StackMap locals:
StackMap stack:
return
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 50 0 this Ljava/net/URL;
0 50 1 protocol Ljava/lang/String;
0 50 2 host Ljava/lang/String;
0 50 3 port I
0 50 4 file Ljava/lang/String;
0 50 5 handler Ljava/net/URLStreamHandler;
5 7 6 sm Ljava/lang/SecurityManager;
22 50 6 index I
29 50 7 q I
42 44 8 s Ljava/lang/String;
47 49 8 s Ljava/lang/String;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
protocol
host
port
file
handler
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/net/URL;
0 2 1 spec Ljava/lang/String;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
spec
public void <init>(java.net.URL, java.lang.String);
descriptor: (Ljava/net/URL;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;Ljava/net/URLStreamHandler;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/net/URL;
0 2 1 context Ljava/net/URL;
0 2 2 spec Ljava/lang/String;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
context
spec
public void <init>(java.net.URL, java.lang.String, java.net.URLStreamHandler);
descriptor: (Ljava/net/URL;Ljava/lang/String;Ljava/net/URLStreamHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=14, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield java.net.URL.port:I
2: aload 0
iconst_m1
putfield java.net.URL.hashCode:I
3: aload 2
astore 4
start local 4 4: iconst_0
istore 8
start local 8 5: aconst_null
astore 9
start local 9 6: iconst_0
istore 10
start local 10 7: iconst_0
istore 11
start local 11 8: aload 3
ifnull 12
9: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 12
start local 12 10: aload 12
ifnull 12
11: aload 0
aload 12
invokevirtual java.net.URL.checkSpecifyHandler:(Ljava/lang/SecurityManager;)V
end local 12 12: StackMap locals: java.net.URL java.net.URL java.lang.String java.net.URLStreamHandler java.lang.String top top top int java.lang.String int int
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
istore 6
start local 6 13: goto 15
14: StackMap locals: java.net.URL java.net.URL java.lang.String java.net.URLStreamHandler java.lang.String top int top int java.lang.String int int
StackMap stack:
iinc 6 -1
15: StackMap locals:
StackMap stack:
iload 6
ifle 18
aload 2
iload 6
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 32
if_icmple 14
16: goto 18
17: StackMap locals:
StackMap stack:
iinc 8 1
18: StackMap locals:
StackMap stack:
iload 8
iload 6
if_icmpge 19
aload 2
iload 8
invokevirtual java.lang.String.charAt:(I)C
bipush 32
if_icmple 17
19: StackMap locals:
StackMap stack:
aload 2
iconst_1
iload 8
ldc "url:"
iconst_0
iconst_4
invokevirtual java.lang.String.regionMatches:(ZILjava/lang/String;II)Z
ifeq 21
20: iinc 8 4
21: StackMap locals:
StackMap stack:
iload 8
aload 2
invokevirtual java.lang.String.length:()I
if_icmpge 23
aload 2
iload 8
invokevirtual java.lang.String.charAt:(I)C
bipush 35
if_icmpne 23
22: iconst_1
istore 10
23: StackMap locals:
StackMap stack:
iload 8
istore 5
start local 5 24: goto 32
start local 7 25: StackMap locals: java.net.URL java.net.URL java.lang.String java.net.URLStreamHandler java.lang.String int int int int java.lang.String int int
StackMap stack:
iload 7
bipush 58
if_icmpne 31
26: aload 2
iload 8
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.net.URL.toLowerCase:(Ljava/lang/String;)Ljava/lang/String;
astore 12
start local 12 27: aload 0
aload 12
invokevirtual java.net.URL.isValidProtocol:(Ljava/lang/String;)Z
ifeq 35
28: aload 12
astore 9
29: iload 5
iconst_1
iadd
istore 8
30: goto 35
end local 12 31: StackMap locals:
StackMap stack:
iinc 5 1
end local 7 32: StackMap locals: java.net.URL java.net.URL java.lang.String java.net.URLStreamHandler java.lang.String int int top int java.lang.String int int
StackMap stack:
iload 10
ifne 35
iload 5
iload 6
if_icmpge 35
33: aload 2
iload 5
invokevirtual java.lang.String.charAt:(I)C
dup
istore 7
start local 7 34: bipush 47
if_icmpne 25
end local 7 35: StackMap locals:
StackMap stack:
aload 0
aload 9
putfield java.net.URL.protocol:Ljava/lang/String;
36: aload 1
ifnull 51
aload 9
ifnull 38
37: aload 9
aload 1
getfield java.net.URL.protocol:Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 51
38: StackMap locals:
StackMap stack:
aload 3
ifnonnull 40
39: aload 1
getfield java.net.URL.handler:Ljava/net/URLStreamHandler;
astore 3
40: StackMap locals:
StackMap stack:
aload 1
getfield java.net.URL.path:Ljava/lang/String;
ifnull 42
aload 1
getfield java.net.URL.path:Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 42
41: aconst_null
astore 9
42: StackMap locals:
StackMap stack:
aload 9
ifnonnull 51
43: aload 0
aload 1
getfield java.net.URL.protocol:Ljava/lang/String;
putfield java.net.URL.protocol:Ljava/lang/String;
44: aload 0
aload 1
getfield java.net.URL.authority:Ljava/lang/String;
putfield java.net.URL.authority:Ljava/lang/String;
45: aload 0
aload 1
getfield java.net.URL.userInfo:Ljava/lang/String;
putfield java.net.URL.userInfo:Ljava/lang/String;
46: aload 0
aload 1
getfield java.net.URL.host:Ljava/lang/String;
putfield java.net.URL.host:Ljava/lang/String;
47: aload 0
aload 1
getfield java.net.URL.port:I
putfield java.net.URL.port:I
48: aload 0
aload 1
getfield java.net.URL.file:Ljava/lang/String;
putfield java.net.URL.file:Ljava/lang/String;
49: aload 0
aload 1
getfield java.net.URL.path:Ljava/lang/String;
putfield java.net.URL.path:Ljava/lang/String;
50: iconst_1
istore 11
51: StackMap locals:
StackMap stack:
aload 0
getfield java.net.URL.protocol:Ljava/lang/String;
ifnonnull 53
52: new java.net.MalformedURLException
dup
new java.lang.StringBuilder
dup
ldc "no protocol: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
athrow
53: StackMap locals:
StackMap stack:
aload 3
ifnonnull 56
54: aload 0
getfield java.net.URL.protocol:Ljava/lang/String;
invokestatic java.net.URL.getURLStreamHandler:(Ljava/lang/String;)Ljava/net/URLStreamHandler;
dup
astore 3
ifnonnull 56
55: new java.net.MalformedURLException
dup
new java.lang.StringBuilder
dup
ldc "unknown protocol: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield java.net.URL.protocol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
athrow
56: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield java.net.URL.handler:Ljava/net/URLStreamHandler;
57: aload 2
bipush 35
iload 8
invokevirtual java.lang.String.indexOf:(II)I
istore 5
58: iload 5
iflt 61
59: aload 0
aload 2
iload 5
iconst_1
iadd
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield java.net.URL.ref:Ljava/lang/String;
60: iload 5
istore 6
61: StackMap locals:
StackMap stack:
iload 11
ifeq 65
iload 8
iload 6
if_icmpne 65
62: aload 0
aload 1
getfield java.net.URL.query:Ljava/lang/String;
putfield java.net.URL.query:Ljava/lang/String;
63: aload 0
getfield java.net.URL.ref:Ljava/lang/String;
ifnonnull 65
64: aload 0
aload 1
getfield java.net.URL.ref:Ljava/lang/String;
putfield java.net.URL.ref:Ljava/lang/String;
65: StackMap locals:
StackMap stack:
aload 3
aload 0
aload 2
iload 8
iload 6
invokevirtual java.net.URLStreamHandler.parseURL:(Ljava/net/URL;Ljava/lang/String;II)V
66: goto 73
end local 6 end local 5 StackMap locals: java.net.URL java.net.URL java.lang.String java.net.URLStreamHandler java.lang.String top top top int java.lang.String int int
StackMap stack: java.net.MalformedURLException
67: astore 12
start local 12 68: aload 12
athrow
end local 12 69: StackMap locals:
StackMap stack: java.lang.Exception
astore 12
start local 12 70: new java.net.MalformedURLException
dup
aload 12
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
astore 13
start local 13 71: aload 13
aload 12
invokevirtual java.net.MalformedURLException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
72: aload 13
athrow
end local 13 end local 12 start local 5 start local 6 73: StackMap locals: java.net.URL java.net.URL java.lang.String java.net.URLStreamHandler java.lang.String int int top int java.lang.String int int
StackMap stack:
return
end local 11 end local 10 end local 9 end local 8 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 74 0 this Ljava/net/URL;
0 74 1 context Ljava/net/URL;
0 74 2 spec Ljava/lang/String;
0 74 3 handler Ljava/net/URLStreamHandler;
4 74 4 original Ljava/lang/String;
24 67 5 i I
73 74 5 i I
13 67 6 limit I
73 74 6 limit I
25 32 7 c I
34 35 7 c I
5 74 8 start I
6 74 9 newProtocol Ljava/lang/String;
7 74 10 aRef Z
8 74 11 isRelative Z
10 12 12 sm Ljava/lang/SecurityManager;
27 31 12 s Ljava/lang/String;
68 69 12 e Ljava/net/MalformedURLException;
70 73 12 e Ljava/lang/Exception;
71 73 13 exception Ljava/net/MalformedURLException;
Exception table:
from to target type
12 66 67 Class java.net.MalformedURLException
12 66 69 Class java.lang.Exception
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
context
spec
handler
static java.net.URL fromURI(java.net.URI);
descriptor: (Ljava/net/URI;)Ljava/net/URL;
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual java.net.URI.isAbsolute:()Z
ifne 2
1: new java.lang.IllegalArgumentException
dup
ldc "URI is not absolute"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
astore 1
start local 1 3: aload 1
ldc "jrt"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
aload 0
invokevirtual java.net.URI.isOpaque:()Z
ifne 15
4: aload 0
invokevirtual java.net.URI.getRawFragment:()Ljava/lang/String;
ifnonnull 15
5: aload 0
invokevirtual java.net.URI.getRawQuery:()Ljava/lang/String;
astore 2
start local 2 6: aload 0
invokevirtual java.net.URI.getRawPath:()Ljava/lang/String;
astore 3
start local 3 7: aload 2
ifnonnull 8
aload 3
goto 9
StackMap locals: java.lang.String java.lang.String java.lang.String
StackMap stack:
8: 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
ldc "?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
9: astore 4
start local 4 10: aload 0
invokevirtual java.net.URI.getHost:()Ljava/lang/String;
astore 5
start local 5 11: aload 5
ifnonnull 13
12: ldc ""
astore 5
13: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
invokevirtual java.net.URI.getPort:()I
istore 6
start local 6 14: new java.net.URL
dup
ldc "jrt"
aload 5
iload 6
aload 4
aconst_null
invokespecial java.net.URL.<init>:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/net/URLStreamHandler;)V
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 15: StackMap locals: java.net.URI java.lang.String
StackMap stack:
new java.net.URL
dup
aconst_null
aload 0
invokevirtual java.net.URI.toString:()Ljava/lang/String;
aconst_null
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;Ljava/net/URLStreamHandler;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 uri Ljava/net/URI;
3 16 1 protocol Ljava/lang/String;
6 15 2 query Ljava/lang/String;
7 15 3 path Ljava/lang/String;
10 15 4 file Ljava/lang/String;
11 15 5 host Ljava/lang/String;
14 15 6 port I
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
uri
private boolean isValidProtocol(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.length:()I
istore 2
start local 2 1: iload 2
iconst_1
if_icmpge 3
2: iconst_0
ireturn
3: StackMap locals: int
StackMap stack:
aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 4: iload 3
invokestatic java.lang.Character.isLetter:(C)Z
ifne 6
5: iconst_0
ireturn
6: StackMap locals: int
StackMap stack:
iconst_1
istore 4
start local 4 7: goto 13
8: StackMap locals: int
StackMap stack:
aload 1
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 3
9: iload 3
invokestatic java.lang.Character.isLetterOrDigit:(C)Z
ifne 12
iload 3
bipush 46
if_icmpeq 12
iload 3
bipush 43
if_icmpeq 12
10: iload 3
bipush 45
if_icmpeq 12
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
iload 2
if_icmplt 8
end local 4 14: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljava/net/URL;
0 15 1 protocol Ljava/lang/String;
1 15 2 len I
4 15 3 c C
7 14 4 i I
MethodParameters:
Name Flags
protocol
private void checkSpecifyHandler(java.lang.SecurityManager);
descriptor: (Ljava/lang/SecurityManager;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic sun.security.util.SecurityConstants.SPECIFY_HANDLER_PERMISSION:Ljava/net/NetPermission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/net/URL;
0 2 1 sm Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
sm
void set(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=4, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
dup
astore 6
monitorenter
1: aload 0
aload 1
putfield java.net.URL.protocol:Ljava/lang/String;
2: aload 0
aload 2
putfield java.net.URL.host:Ljava/lang/String;
3: aload 0
iload 3
iconst_m1
if_icmpne 4
aload 2
goto 5
StackMap locals: java.net.URL java.lang.String java.lang.String int java.lang.String java.lang.String java.net.URL
StackMap stack: java.net.URL
4: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: java.net.URL java.lang.String java.lang.String int java.lang.String java.lang.String java.net.URL
StackMap stack: java.net.URL java.lang.String
5: putfield java.net.URL.authority:Ljava/lang/String;
6: aload 0
iload 3
putfield java.net.URL.port:I
7: aload 0
aload 4
putfield java.net.URL.file:Ljava/lang/String;
8: aload 0
aload 5
putfield java.net.URL.ref:Ljava/lang/String;
9: aload 0
iconst_m1
putfield java.net.URL.hashCode:I
10: aload 0
aconst_null
putfield java.net.URL.hostAddress:Ljava/net/InetAddress;
11: aload 4
bipush 63
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 7
start local 7 12: iload 7
iconst_m1
if_icmpeq 16
13: aload 0
aload 4
iload 7
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield java.net.URL.query:Ljava/lang/String;
14: aload 0
aload 4
iconst_0
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield java.net.URL.path:Ljava/lang/String;
15: goto 17
16: StackMap locals: int
StackMap stack:
aload 0
aload 4
putfield java.net.URL.path:Ljava/lang/String;
end local 7 17: StackMap locals:
StackMap stack:
aload 6
monitorexit
18: goto 21
StackMap locals:
StackMap stack: java.lang.Throwable
19: aload 6
monitorexit
20: athrow
21: StackMap locals:
StackMap stack:
return
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 Ljava/net/URL;
0 22 1 protocol Ljava/lang/String;
0 22 2 host Ljava/lang/String;
0 22 3 port I
0 22 4 file Ljava/lang/String;
0 22 5 ref Ljava/lang/String;
12 17 7 q I
Exception table:
from to target type
1 18 19 any
19 20 19 any
MethodParameters:
Name Flags
protocol
host
port
file
ref
void set(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=4, locals=10, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
dup
astore 9
monitorenter
1: aload 0
aload 1
putfield java.net.URL.protocol:Ljava/lang/String;
2: aload 0
aload 2
putfield java.net.URL.host:Ljava/lang/String;
3: aload 0
iload 3
putfield java.net.URL.port:I
4: aload 0
aload 7
ifnonnull 5
aload 6
goto 6
StackMap locals: java.net.URL java.lang.String java.lang.String int java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.net.URL
StackMap stack: java.net.URL
5: new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: java.net.URL java.lang.String java.lang.String int java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.net.URL
StackMap stack: java.net.URL java.lang.String
6: putfield java.net.URL.file:Ljava/lang/String;
7: aload 0
aload 5
putfield java.net.URL.userInfo:Ljava/lang/String;
8: aload 0
aload 6
putfield java.net.URL.path:Ljava/lang/String;
9: aload 0
aload 8
putfield java.net.URL.ref:Ljava/lang/String;
10: aload 0
iconst_m1
putfield java.net.URL.hashCode:I
11: aload 0
aconst_null
putfield java.net.URL.hostAddress:Ljava/net/InetAddress;
12: aload 0
aload 7
putfield java.net.URL.query:Ljava/lang/String;
13: aload 0
aload 4
putfield java.net.URL.authority:Ljava/lang/String;
14: aload 9
monitorexit
15: goto 18
StackMap locals:
StackMap stack: java.lang.Throwable
16: aload 9
monitorexit
17: athrow
18: StackMap locals:
StackMap stack:
return
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 19 0 this Ljava/net/URL;
0 19 1 protocol Ljava/lang/String;
0 19 2 host Ljava/lang/String;
0 19 3 port I
0 19 4 authority Ljava/lang/String;
0 19 5 userInfo Ljava/lang/String;
0 19 6 path Ljava/lang/String;
0 19 7 query Ljava/lang/String;
0 19 8 ref Ljava/lang/String;
Exception table:
from to target type
1 15 16 any
16 17 16 any
MethodParameters:
Name Flags
protocol
host
port
authority
userInfo
path
query
ref
public java.lang.String getQuery();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.URL.query:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URL;
public java.lang.String getPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.URL.path:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URL;
public java.lang.String getUserInfo();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.URL.userInfo:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URL;
public java.lang.String getAuthority();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.URL.authority:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URL;
public int getPort();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.URL.port:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URL;
public int getDefaultPort();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.URL.handler:Ljava/net/URLStreamHandler;
invokevirtual java.net.URLStreamHandler.getDefaultPort:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URL;
public java.lang.String getProtocol();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.URL.protocol:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URL;
public java.lang.String getHost();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.URL.host:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URL;
public java.lang.String getFile();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.URL.file:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URL;
public java.lang.String getRef();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.URL.ref:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URL;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.net.URL
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast java.net.URL
astore 2
start local 2 3: aload 0
getfield java.net.URL.handler:Ljava/net/URLStreamHandler;
aload 0
aload 2
invokevirtual java.net.URLStreamHandler.equals:(Ljava/net/URL;Ljava/net/URL;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/net/URL;
0 4 1 obj Ljava/lang/Object;
3 4 2 u2 Ljava/net/URL;
MethodParameters:
Name Flags
obj
public synchronized int hashCode();
descriptor: ()I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.URL.hashCode:I
iconst_m1
if_icmpeq 2
1: aload 0
getfield java.net.URL.hashCode:I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield java.net.URL.handler:Ljava/net/URLStreamHandler;
aload 0
invokevirtual java.net.URLStreamHandler.hashCode:(Ljava/net/URL;)I
putfield java.net.URL.hashCode:I
3: aload 0
getfield java.net.URL.hashCode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/net/URL;
public boolean sameFile(java.net.URL);
descriptor: (Ljava/net/URL;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.net.URL.handler:Ljava/net/URLStreamHandler;
aload 0
aload 1
invokevirtual java.net.URLStreamHandler.sameFile:(Ljava/net/URL;Ljava/net/URL;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URL;
0 1 1 other Ljava/net/URL;
MethodParameters:
Name Flags
other
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URL;
public java.lang.String toExternalForm();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.URL.handler:Ljava/net/URLStreamHandler;
aload 0
invokevirtual java.net.URLStreamHandler.toExternalForm:(Ljava/net/URL;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URL;
public java.net.URI toURI();
descriptor: ()Ljava/net/URI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: new java.net.URI
dup
aload 0
invokevirtual java.net.URL.toString:()Ljava/lang/String;
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 0
getfield java.net.URL.authority:Ljava/lang/String;
ifnull 4
aload 0
aload 0
getfield java.net.URL.handler:Ljava/net/URLStreamHandler;
invokevirtual java.net.URL.isBuiltinStreamHandler:(Ljava/net/URLStreamHandler;)Z
ifeq 4
2: aload 0
invokestatic sun.net.util.IPAddressUtil.checkAuthority:(Ljava/net/URL;)Ljava/lang/String;
astore 2
start local 2 3: aload 2
ifnull 4
new java.net.URISyntaxException
dup
aload 0
getfield java.net.URL.authority:Ljava/lang/String;
aload 2
invokespecial java.net.URISyntaxException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
athrow
end local 2 4: StackMap locals: java.net.URI
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/net/URL;
1 5 1 uri Ljava/net/URI;
3 4 2 s Ljava/lang/String;
Exceptions:
throws java.net.URISyntaxException
public java.net.URLConnection openConnection();
descriptor: ()Ljava/net/URLConnection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.net.URL.handler:Ljava/net/URLStreamHandler;
aload 0
invokevirtual java.net.URLStreamHandler.openConnection:(Ljava/net/URL;)Ljava/net/URLConnection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URL;
Exceptions:
throws java.io.IOException
public java.net.URLConnection openConnection(java.net.Proxy);
descriptor: (Ljava/net/Proxy;)Ljava/net/URLConnection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "proxy can not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
getstatic java.net.Proxy.NO_PROXY:Ljava/net/Proxy;
if_acmpne 3
getstatic java.net.Proxy.NO_PROXY:Ljava/net/Proxy;
goto 4
StackMap locals:
StackMap stack:
3: aload 1
invokestatic sun.net.ApplicationProxy.create:(Ljava/net/Proxy;)Lsun/net/ApplicationProxy;
StackMap locals:
StackMap stack: java.net.Proxy
4: astore 2
start local 2 5: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 3
start local 3 6: aload 2
invokevirtual java.net.Proxy.type:()Ljava/net/Proxy$Type;
getstatic java.net.Proxy$Type.DIRECT:Ljava/net/Proxy$Type;
if_acmpeq 13
aload 3
ifnull 13
7: aload 2
invokevirtual java.net.Proxy.address:()Ljava/net/SocketAddress;
checkcast java.net.InetSocketAddress
astore 4
start local 4 8: aload 4
invokevirtual java.net.InetSocketAddress.isUnresolved:()Z
ifeq 10
9: aload 3
aload 4
invokevirtual java.net.InetSocketAddress.getHostName:()Ljava/lang/String;
aload 4
invokevirtual java.net.InetSocketAddress.getPort:()I
invokevirtual java.lang.SecurityManager.checkConnect:(Ljava/lang/String;I)V
goto 13
10: StackMap locals: java.net.Proxy java.lang.SecurityManager java.net.InetSocketAddress
StackMap stack:
aload 3
aload 4
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
11: aload 4
invokevirtual java.net.InetSocketAddress.getPort:()I
12: invokevirtual java.lang.SecurityManager.checkConnect:(Ljava/lang/String;I)V
end local 4 13: StackMap locals:
StackMap stack:
aload 0
getfield java.net.URL.handler:Ljava/net/URLStreamHandler;
aload 0
aload 2
invokevirtual java.net.URLStreamHandler.openConnection:(Ljava/net/URL;Ljava/net/Proxy;)Ljava/net/URLConnection;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljava/net/URL;
0 14 1 proxy Ljava/net/Proxy;
5 14 2 p Ljava/net/Proxy;
6 14 3 sm Ljava/lang/SecurityManager;
8 13 4 epoint Ljava/net/InetSocketAddress;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
proxy
public final java.io.InputStream openStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
invokevirtual java.net.URLConnection.getInputStream:()Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URL;
Exceptions:
throws java.io.IOException
public final java.lang.Object getContent();
descriptor: ()Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
invokevirtual java.net.URLConnection.getContent:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URL;
Exceptions:
throws java.io.IOException
public final getContent(java.lang.Class<?>[]);
descriptor: ([Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
aload 1
invokevirtual java.net.URLConnection.getContent:([Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URL;
0 1 1 classes [Ljava/lang/Class;
Exceptions:
throws java.io.IOException
Signature: ([Ljava/lang/Class<*>;)Ljava/lang/Object;
MethodParameters:
Name Flags
classes
public static void setURLStreamHandlerFactory(java.net.URLStreamHandlerFactory);
descriptor: (Ljava/net/URLStreamHandlerFactory;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: getstatic java.net.URL.streamHandlerLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: getstatic java.net.URL.factory:Ljava/net/URLStreamHandlerFactory;
ifnull 3
2: new java.lang.Error
dup
ldc "factory already defined"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.Object
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2
start local 2 4: aload 2
ifnull 6
5: aload 2
invokevirtual java.lang.SecurityManager.checkSetFactory:()V
6: StackMap locals: java.lang.SecurityManager
StackMap stack:
getstatic java.net.URL.handlers:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.clear:()V
7: aload 0
putstatic java.net.URL.factory:Ljava/net/URLStreamHandlerFactory;
end local 2 8: aload 1
monitorexit
9: goto 12
StackMap locals: java.net.URLStreamHandlerFactory java.lang.Object
StackMap stack: java.lang.Throwable
10: aload 1
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 fac Ljava/net/URLStreamHandlerFactory;
4 8 2 security Ljava/lang/SecurityManager;
Exception table:
from to target type
1 9 10 any
10 11 10 any
MethodParameters:
Name Flags
fac
private static java.net.URLStreamHandler lookupViaProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URLStreamHandler;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=9, args_size=1
start local 0 0: ldc "java.protocol.handler.pkgs"
invokestatic sun.security.action.GetPropertyAction.privilegedGetProperty:(Ljava/lang/String;)Ljava/lang/String;
1: astore 1
start local 1 2: aload 1
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals: java.lang.String
StackMap stack:
aload 1
ldc "\\|"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 5: aconst_null
astore 3
start local 3 6: iconst_0
istore 4
start local 4 7: goto 23
8: StackMap locals: java.lang.String[] java.net.URLStreamHandler int
StackMap stack:
aload 2
iload 4
aaload
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 5
start local 5 9: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".Handler"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
start local 6 10: aconst_null
astore 7
start local 7 11: aload 6
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 7
12: goto 17
StackMap locals: java.lang.String java.lang.String java.lang.String[] java.net.URLStreamHandler int java.lang.String java.lang.String java.lang.Class
StackMap stack: java.lang.ClassNotFoundException
13: pop
14: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
astore 8
start local 8 15: aload 8
ifnull 17
16: aload 8
aload 6
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 7
end local 8 17: StackMap locals:
StackMap stack:
aload 7
ifnull 22
18: aload 7
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
astore 8
start local 8 19: aload 8
checkcast java.net.URLStreamHandler
astore 3
end local 8 end local 7 end local 6 20: goto 22
StackMap locals: java.lang.String java.lang.String java.lang.String[] java.net.URLStreamHandler int java.lang.String
StackMap stack: java.lang.Exception
21: pop
end local 5 22: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
23: aload 3
ifnonnull 24
iload 4
aload 2
arraylength
if_icmplt 8
end local 4 24: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 protocol Ljava/lang/String;
2 25 1 packagePrefixList Ljava/lang/String;
5 25 2 packagePrefixes [Ljava/lang/String;
6 25 3 handler Ljava/net/URLStreamHandler;
7 24 4 i I
9 22 5 packagePrefix Ljava/lang/String;
10 20 6 clsName Ljava/lang/String;
11 20 7 cls Ljava/lang/Class<*>;
15 17 8 cl Ljava/lang/ClassLoader;
19 20 8 tmp Ljava/lang/Object;
Exception table:
from to target type
11 12 13 Class java.lang.ClassNotFoundException
9 20 21 Class java.lang.Exception
MethodParameters:
Name Flags
protocol
private static java.util.Iterator<java.net.spi.URLStreamHandlerProvider> providers();
descriptor: ()Ljava/util/Iterator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.net.URL$2
dup
invokespecial java.net.URL$2.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Iterator<Ljava/net/spi/URLStreamHandlerProvider;>;
private static java.net.URLStreamHandler lookupViaProviders(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URLStreamHandler;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: getstatic java.net.URL.gate:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
ifnull 2
1: new java.lang.Error
dup
ldc "Circular loading of URL stream handler providers detected"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic java.net.URL.gate:Ljava/lang/ThreadLocal;
getstatic java.net.URL.gate:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
3: new java.net.URL$3
dup
aload 0
invokespecial java.net.URL$3.<init>:(Ljava/lang/String;)V
4: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.net.URLStreamHandler
astore 2
5: getstatic java.net.URL.gate:Ljava/lang/ThreadLocal;
aconst_null
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
6: aload 2
areturn
7: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
8: getstatic java.net.URL.gate:Ljava/lang/ThreadLocal;
aconst_null
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
9: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 protocol Ljava/lang/String;
Exception table:
from to target type
3 5 7 any
MethodParameters:
Name Flags
protocol final
static java.lang.String toLowerCase(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "jrt"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 1
aload 0
ldc "file"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 1
aload 0
ldc "jar"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 protocol Ljava/lang/String;
MethodParameters:
Name Flags
protocol
static boolean isOverrideable(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
iconst_3
if_icmpne 5
1: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.toLowerCase:(C)C
bipush 106
if_icmpne 11
2: aload 0
iconst_1
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.toLowerCase:(C)C
bipush 114
if_icmpne 11
3: aload 0
iconst_2
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.toLowerCase:(C)C
bipush 116
if_icmpne 11
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
iconst_4
if_icmpne 11
6: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.toLowerCase:(C)C
bipush 102
if_icmpne 11
7: aload 0
iconst_1
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.toLowerCase:(C)C
bipush 105
if_icmpne 11
8: aload 0
iconst_2
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.toLowerCase:(C)C
bipush 108
if_icmpne 11
9: aload 0
iconst_3
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.toLowerCase:(C)C
bipush 101
if_icmpne 11
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 protocol Ljava/lang/String;
MethodParameters:
Name Flags
protocol
static java.net.URLStreamHandler getURLStreamHandler(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URLStreamHandler;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: getstatic java.net.URL.handlers:Ljava/util/Hashtable;
aload 0
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.URLStreamHandler
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
areturn
3: StackMap locals: java.net.URLStreamHandler
StackMap stack:
iconst_0
istore 3
start local 3 4: aload 0
invokestatic java.net.URL.isOverrideable:(Ljava/lang/String;)Z
istore 4
start local 4 5: iload 4
ifeq 14
invokestatic jdk.internal.misc.VM.isBooted:()Z
ifeq 14
6: getstatic java.net.URL.factory:Ljava/net/URLStreamHandlerFactory;
astore 2
start local 2 7: aload 2
ifnull 10
8: aload 2
aload 0
invokeinterface java.net.URLStreamHandlerFactory.createURLStreamHandler:(Ljava/lang/String;)Ljava/net/URLStreamHandler;
astore 1
9: iconst_1
istore 3
10: StackMap locals: java.net.URLStreamHandlerFactory int int
StackMap stack:
aload 1
ifnonnull 12
aload 0
ldc "jar"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 12
11: aload 0
invokestatic java.net.URL.lookupViaProviders:(Ljava/lang/String;)Ljava/net/URLStreamHandler;
astore 1
12: StackMap locals:
StackMap stack:
aload 1
ifnonnull 14
13: aload 0
invokestatic java.net.URL.lookupViaProperty:(Ljava/lang/String;)Ljava/net/URLStreamHandler;
astore 1
end local 2 14: StackMap locals: java.lang.String java.net.URLStreamHandler top int int
StackMap stack:
aload 1
ifnonnull 16
15: getstatic java.net.URL.defaultFactory:Ljava/net/URLStreamHandlerFactory;
aload 0
invokeinterface java.net.URLStreamHandlerFactory.createURLStreamHandler:(Ljava/lang/String;)Ljava/net/URLStreamHandler;
astore 1
16: StackMap locals:
StackMap stack:
getstatic java.net.URL.streamHandlerLock:Ljava/lang/Object;
dup
astore 5
monitorenter
17: aconst_null
astore 6
start local 6 18: getstatic java.net.URL.handlers:Ljava/util/Hashtable;
aload 0
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.URLStreamHandler
astore 6
19: aload 6
ifnull 22
20: aload 6
aload 5
monitorexit
21: areturn
22: StackMap locals: java.lang.Object java.net.URLStreamHandler
StackMap stack:
iload 4
ifeq 26
iload 3
ifne 26
23: getstatic java.net.URL.factory:Ljava/net/URLStreamHandlerFactory;
dup
astore 2
start local 2 24: ifnull 26
25: aload 2
aload 0
invokeinterface java.net.URLStreamHandlerFactory.createURLStreamHandler:(Ljava/lang/String;)Ljava/net/URLStreamHandler;
astore 6
end local 2 26: StackMap locals:
StackMap stack:
aload 6
ifnull 28
27: aload 6
astore 1
28: StackMap locals:
StackMap stack:
aload 1
ifnull 30
29: getstatic java.net.URL.handlers:Ljava/util/Hashtable;
aload 0
aload 1
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 30: StackMap locals:
StackMap stack:
aload 5
monitorexit
31: goto 34
StackMap locals:
StackMap stack: java.lang.Throwable
32: aload 5
monitorexit
33: athrow
34: StackMap locals:
StackMap stack:
aload 1
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 protocol Ljava/lang/String;
1 35 1 handler Ljava/net/URLStreamHandler;
7 14 2 fac Ljava/net/URLStreamHandlerFactory;
24 26 2 fac Ljava/net/URLStreamHandlerFactory;
4 35 3 checkedWithFactory Z
5 35 4 overrideableProtocol Z
18 30 6 handler2 Ljava/net/URLStreamHandler;
Exception table:
from to target type
17 21 32 any
22 31 32 any
32 33 32 any
MethodParameters:
Name Flags
protocol
private synchronized void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/net/URL;
0 2 1 s Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
private synchronized void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=10, locals=10, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.readFields:()Ljava/io/ObjectInputStream$GetField;
astore 2
start local 2 1: aload 2
ldc "protocol"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 2: aload 3
invokestatic java.net.URL.getURLStreamHandler:(Ljava/lang/String;)Ljava/net/URLStreamHandler;
ifnonnull 4
3: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "unknown protocol: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.io.ObjectInputStream$GetField java.lang.String
StackMap stack:
aload 2
ldc "host"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 5: aload 2
ldc "port"
iconst_m1
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;I)I
istore 5
start local 5 6: aload 2
ldc "authority"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 7: aload 2
ldc "file"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 8: aload 2
ldc "ref"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 9: aload 2
ldc "hashCode"
iconst_m1
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;I)I
istore 9
start local 9 10: aload 6
ifnonnull 18
11: aload 4
ifnull 12
aload 4
invokevirtual java.lang.String.isEmpty:()Z
ifeq 13
StackMap locals: java.net.URL java.io.ObjectInputStream java.io.ObjectInputStream$GetField java.lang.String java.lang.String int java.lang.String java.lang.String java.lang.String int
StackMap stack:
12: iload 5
iconst_m1
if_icmpeq 18
13: StackMap locals:
StackMap stack:
aload 4
ifnonnull 15
14: ldc ""
astore 4
15: StackMap locals:
StackMap stack:
iload 5
iconst_m1
if_icmpne 16
aload 4
goto 17
StackMap locals:
StackMap stack:
16: new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
17: astore 6
18: StackMap locals:
StackMap stack:
aload 0
new java.net.UrlDeserializedState
dup
aload 3
aload 4
iload 5
aload 6
19: aload 7
aload 8
iload 9
invokespecial java.net.UrlDeserializedState.<init>:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V
20: putfield java.net.URL.tempState:Ljava/net/UrlDeserializedState;
21: return
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 Ljava/net/URL;
0 22 1 s Ljava/io/ObjectInputStream;
1 22 2 gf Ljava/io/ObjectInputStream$GetField;
2 22 3 protocol Ljava/lang/String;
5 22 4 host Ljava/lang/String;
6 22 5 port I
7 22 6 authority Ljava/lang/String;
8 22 7 file Ljava/lang/String;
9 22 8 ref Ljava/lang/String;
10 22 9 hashCode I
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
private java.lang.Object readResolve();
descriptor: ()Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield java.net.URL.tempState:Ljava/net/UrlDeserializedState;
invokevirtual java.net.UrlDeserializedState.getProtocol:()Ljava/lang/String;
invokestatic java.net.URL.getURLStreamHandler:(Ljava/lang/String;)Ljava/net/URLStreamHandler;
astore 1
2: aconst_null
astore 2
start local 2 3: aload 0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.net.URL.isBuiltinStreamHandler:(Ljava/lang/String;)Z
ifeq 6
4: aload 0
invokevirtual java.net.URL.fabricateNewURL:()Ljava/net/URL;
astore 2
5: goto 7
6: StackMap locals: java.net.URLStreamHandler java.net.URL
StackMap stack:
aload 0
aload 1
invokevirtual java.net.URL.setDeserializedFields:(Ljava/net/URLStreamHandler;)Ljava/net/URL;
astore 2
7: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/net/URL;
1 8 1 handler Ljava/net/URLStreamHandler;
3 8 2 replacementURL Ljava/net/URL;
Exceptions:
throws java.io.ObjectStreamException
private java.net.URL setDeserializedFields(java.net.URLStreamHandler);
descriptor: (Ljava/net/URLStreamHandler;)Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=14, args_size=2
start local 0 start local 1 0: aconst_null
astore 3
start local 3 1: aload 0
getfield java.net.URL.tempState:Ljava/net/UrlDeserializedState;
invokevirtual java.net.UrlDeserializedState.getProtocol:()Ljava/lang/String;
astore 4
start local 4 2: aload 0
getfield java.net.URL.tempState:Ljava/net/UrlDeserializedState;
invokevirtual java.net.UrlDeserializedState.getHost:()Ljava/lang/String;
astore 5
start local 5 3: aload 0
getfield java.net.URL.tempState:Ljava/net/UrlDeserializedState;
invokevirtual java.net.UrlDeserializedState.getPort:()I
istore 6
start local 6 4: aload 0
getfield java.net.URL.tempState:Ljava/net/UrlDeserializedState;
invokevirtual java.net.UrlDeserializedState.getAuthority:()Ljava/lang/String;
astore 7
start local 7 5: aload 0
getfield java.net.URL.tempState:Ljava/net/UrlDeserializedState;
invokevirtual java.net.UrlDeserializedState.getFile:()Ljava/lang/String;
astore 8
start local 8 6: aload 0
getfield java.net.URL.tempState:Ljava/net/UrlDeserializedState;
invokevirtual java.net.UrlDeserializedState.getRef:()Ljava/lang/String;
astore 9
start local 9 7: aload 0
getfield java.net.URL.tempState:Ljava/net/UrlDeserializedState;
invokevirtual java.net.UrlDeserializedState.getHashCode:()I
istore 10
start local 10 8: aload 7
ifnonnull 21
9: aload 5
ifnull 10
aload 5
invokevirtual java.lang.String.isEmpty:()Z
ifeq 11
StackMap locals: java.net.URL java.net.URLStreamHandler top java.lang.String java.lang.String java.lang.String int java.lang.String java.lang.String java.lang.String int
StackMap stack:
10: iload 6
iconst_m1
if_icmpeq 21
11: StackMap locals:
StackMap stack:
aload 5
ifnonnull 13
12: ldc ""
astore 5
13: StackMap locals:
StackMap stack:
iload 6
iconst_m1
if_icmpne 14
aload 5
goto 15
StackMap locals:
StackMap stack:
14: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 6
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
15: astore 7
16: aload 5
bipush 64
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 11
start local 11 17: iload 11
iconst_m1
if_icmpeq 25
18: aload 5
iconst_0
iload 11
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
19: aload 5
iload 11
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
end local 11 20: goto 25
StackMap locals:
StackMap stack:
21: aload 7
ifnull 25
22: aload 7
bipush 64
invokevirtual java.lang.String.indexOf:(I)I
istore 11
start local 11 23: iload 11
iconst_m1
if_icmpeq 25
24: aload 7
iconst_0
iload 11
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
end local 11 25: StackMap locals:
StackMap stack:
aconst_null
astore 11
start local 11 26: aconst_null
astore 12
start local 12 27: aload 8
ifnull 34
28: aload 8
bipush 63
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 13
start local 13 29: iload 13
iconst_m1
if_icmpeq 33
30: aload 8
iload 13
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 12
31: aload 8
iconst_0
iload 13
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 11
32: goto 34
33: StackMap locals: java.lang.String java.lang.String int
StackMap stack:
aload 8
astore 11
end local 13 34: StackMap locals:
StackMap stack:
aload 0
aload 4
putfield java.net.URL.protocol:Ljava/lang/String;
35: aload 0
aload 5
putfield java.net.URL.host:Ljava/lang/String;
36: aload 0
iload 6
putfield java.net.URL.port:I
37: aload 0
aload 8
putfield java.net.URL.file:Ljava/lang/String;
38: aload 0
aload 7
putfield java.net.URL.authority:Ljava/lang/String;
39: aload 0
aload 9
putfield java.net.URL.ref:Ljava/lang/String;
40: aload 0
iload 10
putfield java.net.URL.hashCode:I
41: aload 0
aload 1
putfield java.net.URL.handler:Ljava/net/URLStreamHandler;
42: aload 0
aload 12
putfield java.net.URL.query:Ljava/lang/String;
43: aload 0
aload 11
putfield java.net.URL.path:Ljava/lang/String;
44: aload 0
aload 3
putfield java.net.URL.userInfo:Ljava/lang/String;
45: aload 0
astore 2
start local 2 46: aload 2
areturn
end local 12 end local 11 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 47 0 this Ljava/net/URL;
0 47 1 handler Ljava/net/URLStreamHandler;
46 47 2 replacementURL Ljava/net/URL;
1 47 3 userInfo Ljava/lang/String;
2 47 4 protocol Ljava/lang/String;
3 47 5 host Ljava/lang/String;
4 47 6 port I
5 47 7 authority Ljava/lang/String;
6 47 8 file Ljava/lang/String;
7 47 9 ref Ljava/lang/String;
8 47 10 hashCode I
17 20 11 at I
23 25 11 ind I
26 47 11 path Ljava/lang/String;
27 47 12 query Ljava/lang/String;
29 34 13 q I
MethodParameters:
Name Flags
handler
private java.net.URL fabricateNewURL();
descriptor: ()Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield java.net.URL.tempState:Ljava/net/UrlDeserializedState;
invokevirtual java.net.UrlDeserializedState.reconstituteUrlString:()Ljava/lang/String;
astore 2
start local 2 2: new java.net.URL
dup
aload 2
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 1
3: goto 11
StackMap locals: java.net.URL java.net.URL java.lang.String
StackMap stack: java.net.MalformedURLException
4: astore 3
start local 3 5: aload 0
invokevirtual java.net.URL.resetState:()V
6: new java.io.InvalidObjectException
dup
7: new java.lang.StringBuilder
dup
ldc "Malformed URL: "
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;
8: invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
astore 4
start local 4 9: aload 4
aload 3
invokevirtual java.io.InvalidObjectException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
10: aload 4
athrow
end local 4 end local 3 11: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield java.net.URL.tempState:Ljava/net/UrlDeserializedState;
invokevirtual java.net.UrlDeserializedState.getHashCode:()I
invokevirtual java.net.URL.setSerializedHashCode:(I)V
12: aload 0
invokevirtual java.net.URL.resetState:()V
13: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljava/net/URL;
1 14 1 replacementURL Ljava/net/URL;
2 14 2 urlString Ljava/lang/String;
5 11 3 mEx Ljava/net/MalformedURLException;
9 11 4 invoEx Ljava/io/InvalidObjectException;
Exception table:
from to target type
2 3 4 Class java.net.MalformedURLException
Exceptions:
throws java.io.InvalidObjectException
boolean isBuiltinStreamHandler(java.net.URLStreamHandler);
descriptor: (Ljava/net/URLStreamHandler;)Z
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 2
start local 2 1: aload 0
aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.net.URL.isBuiltinStreamHandler:(Ljava/lang/String;)Z
ifne 4
2: aload 2
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic jdk.internal.misc.VM.isSystemDomainLoader:(Ljava/lang/ClassLoader;)Z
ifne 4
3: iconst_0
ireturn
StackMap locals: java.lang.Class
StackMap stack:
4: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/net/URL;
0 5 1 handler Ljava/net/URLStreamHandler;
1 5 2 handlerClass Ljava/lang/Class<*>;
MethodParameters:
Name Flags
handler
private boolean isBuiltinStreamHandler(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "sun.net.www.protocol"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/net/URL;
0 1 1 handlerClassName Ljava/lang/String;
MethodParameters:
Name Flags
handlerClassName
private void resetState();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield java.net.URL.protocol:Ljava/lang/String;
1: aload 0
aconst_null
putfield java.net.URL.host:Ljava/lang/String;
2: aload 0
iconst_m1
putfield java.net.URL.port:I
3: aload 0
aconst_null
putfield java.net.URL.file:Ljava/lang/String;
4: aload 0
aconst_null
putfield java.net.URL.authority:Ljava/lang/String;
5: aload 0
aconst_null
putfield java.net.URL.ref:Ljava/lang/String;
6: aload 0
iconst_m1
putfield java.net.URL.hashCode:I
7: aload 0
aconst_null
putfield java.net.URL.handler:Ljava/net/URLStreamHandler;
8: aload 0
aconst_null
putfield java.net.URL.query:Ljava/lang/String;
9: aload 0
aconst_null
putfield java.net.URL.path:Ljava/lang/String;
10: aload 0
aconst_null
putfield java.net.URL.userInfo:Ljava/lang/String;
11: aload 0
aconst_null
putfield java.net.URL.tempState:Ljava/net/UrlDeserializedState;
12: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/net/URL;
private void setSerializedHashCode(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield java.net.URL.hashCode:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/net/URL;
0 2 1 hc I
MethodParameters:
Name Flags
hc
}
SourceFile: "URL.java"
NestMembers:
java.net.URL$1 java.net.URL$2 java.net.URL$3 java.net.URL$DefaultFactory
InnerClasses:
public abstract GetField = java.io.ObjectInputStream$GetField of java.io.ObjectInputStream
public final Type = java.net.Proxy$Type of java.net.Proxy
java.net.URL$1
java.net.URL$2
java.net.URL$3
private DefaultFactory = java.net.URL$DefaultFactory of java.net.URL