public final class com.sun.webkit.network.URLs
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.webkit.network.URLs
super_class: java.lang.Object
{
private static final java.util.Map<java.lang.String, java.net.URLStreamHandler> handlerMap;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/net/URLStreamHandler;>;
private static final java.security.Permission streamHandlerPermission;
descriptor: Ljava/security/Permission;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: new java.util.HashMap
dup
iconst_2
invokespecial java.util.HashMap.<init>:(I)V
1: astore 0
start local 0 2: aload 0
ldc "about"
new com.sun.webkit.network.about.Handler
dup
invokespecial com.sun.webkit.network.about.Handler.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
ldc "data"
new com.sun.webkit.network.data.Handler
dup
invokespecial com.sun.webkit.network.data.Handler.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putstatic com.sun.webkit.network.URLs.handlerMap:Ljava/util/Map;
end local 0 5: new java.net.NetPermission
dup
ldc "specifyStreamHandler"
invokespecial java.net.NetPermission.<init>:(Ljava/lang/String;)V
6: putstatic com.sun.webkit.network.URLs.streamHandlerPermission:Ljava/security/Permission;
7: return
LocalVariableTable:
Start End Slot Name Signature
2 5 0 map Ljava/util/Map<Ljava/lang/String;Ljava/net/URLStreamHandler;>;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/webkit/network/URLs;
public static java.net.URL newURL(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URL;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aconst_null
aload 0
invokestatic com.sun.webkit.network.URLs.newURL:(Ljava/net/URL;Ljava/lang/String;)Ljava/net/URL;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 spec Ljava/lang/String;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
spec
public static java.net.URL newURL(java.net.URL, java.lang.String);
descriptor: (Ljava/net/URL;Ljava/lang/String;)Ljava/net/URL;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: new java.net.URL
dup
aload 0
aload 1
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;)V
1: areturn
2: StackMap locals:
StackMap stack: java.net.MalformedURLException
astore 2
start local 2 3: aload 1
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 3
start local 3 4: iload 3
iconst_m1
if_icmpeq 6
5: getstatic com.sun.webkit.network.URLs.handlerMap:Ljava/util/Map;
aload 1
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.URLStreamHandler
goto 7
6: StackMap locals: java.net.MalformedURLException int
StackMap stack:
aconst_null
7: StackMap locals:
StackMap stack: java.net.URLStreamHandler
astore 4
start local 4 8: aload 4
ifnonnull 9
aload 2
athrow
9: StackMap locals: java.net.URLStreamHandler
StackMap stack:
aload 0
aload 1
aload 4
invokedynamic run(Ljava/net/URL;Ljava/lang/String;Ljava/net/URLStreamHandler;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/webkit/network/URLs.lambda$0(Ljava/net/URL;Ljava/lang/String;Ljava/net/URLStreamHandler;)Ljava/net/URL; (6)
()Ljava/net/URL;
10: aconst_null
iconst_1
anewarray java.security.Permission
dup
iconst_0
getstatic com.sun.webkit.network.URLs.streamHandlerPermission:Ljava/security/Permission;
aastore
11: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;[Ljava/security/Permission;)Ljava/lang/Object;
checkcast java.net.URL
12: areturn
13: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 5
start local 5 14: aload 5
invokevirtual java.lang.RuntimeException.getCause:()Ljava/lang/Throwable;
instanceof java.net.MalformedURLException
ifeq 16
15: aload 5
invokevirtual java.lang.RuntimeException.getCause:()Ljava/lang/Throwable;
checkcast java.net.MalformedURLException
athrow
16: StackMap locals: java.lang.RuntimeException
StackMap stack:
aload 5
athrow
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 17 0 context Ljava/net/URL;
0 17 1 spec Ljava/lang/String;
3 17 2 ex Ljava/net/MalformedURLException;
4 17 3 colonPosition I
8 17 4 handler Ljava/net/URLStreamHandler;
14 17 5 re Ljava/lang/RuntimeException;
Exception table:
from to target type
0 1 2 Class java.net.MalformedURLException
9 12 13 Class java.lang.RuntimeException
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
context final
spec final
private static java.net.URL lambda$0(java.net.URL, java.lang.String, java.net.URLStreamHandler);
descriptor: (Ljava/net/URL;Ljava/lang/String;Ljava/net/URLStreamHandler;)Ljava/net/URL;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=4, args_size=3
0: new java.net.URL
dup
aload 0
aload 1
aload 2
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;Ljava/net/URLStreamHandler;)V
1: areturn
2: StackMap locals:
StackMap stack: java.net.MalformedURLException
astore 3
start local 3 3: new java.lang.RuntimeException
dup
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 LocalVariableTable:
Start End Slot Name Signature
3 4 3 muex Ljava/net/MalformedURLException;
Exception table:
from to target type
0 1 2 Class java.net.MalformedURLException
}
SourceFile: "URLs.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles