public final class sun.reflect.misc.MethodUtil extends java.security.SecureClassLoader
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.reflect.misc.MethodUtil
super_class: java.security.SecureClassLoader
{
private static java.lang.String MISC_PKG;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String TRAMPOLINE;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.reflect.Method bounce;
descriptor: Ljava/lang/reflect/Method;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc "sun.reflect.misc."
putstatic sun.reflect.misc.MethodUtil.MISC_PKG:Ljava/lang/String;
1: new java.lang.StringBuilder
dup
getstatic sun.reflect.misc.MethodUtil.MISC_PKG:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "Trampoline"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putstatic sun.reflect.misc.MethodUtil.TRAMPOLINE:Ljava/lang/String;
2: invokestatic sun.reflect.misc.MethodUtil.getTrampoline:()Ljava/lang/reflect/Method;
putstatic sun.reflect.misc.MethodUtil.bounce:Ljava/lang/reflect/Method;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.security.SecureClassLoader.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/reflect/misc/MethodUtil;
public static java.lang.reflect.Method getMethod(java.lang.Class<?>, java.lang.String, java.lang.Class[]);
descriptor: (Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic sun.reflect.misc.ReflectUtil.checkPackageAccess:(Ljava/lang/Class;)V
1: aload 0
aload 1
aload 2
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 cls Ljava/lang/Class<*>;
0 2 1 name Ljava/lang/String;
0 2 2 args [Ljava/lang/Class;
Exceptions:
throws java.lang.NoSuchMethodException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
cls
name
args
public static java.lang.reflect.Method[] getMethods(java.lang.Class);
descriptor: (Ljava/lang/Class;)[Ljava/lang/reflect/Method;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic sun.reflect.misc.ReflectUtil.checkPackageAccess:(Ljava/lang/Class;)V
1: aload 0
invokevirtual java.lang.Class.getMethods:()[Ljava/lang/reflect/Method;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 cls Ljava/lang/Class;
MethodParameters:
Name Flags
cls
public static java.lang.reflect.Method[] getPublicMethods(java.lang.Class);
descriptor: (Ljava/lang/Class;)[Ljava/lang/reflect/Method;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnonnull 2
1: aload 0
invokevirtual java.lang.Class.getMethods:()[Ljava/lang/reflect/Method;
areturn
2: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 3: goto 9
4: StackMap locals: java.util.Map
StackMap stack:
aload 0
aload 1
invokestatic sun.reflect.misc.MethodUtil.getInternalPublicMethods:(Ljava/lang/Class;Ljava/util/Map;)Z
istore 2
start local 2 5: iload 2
ifeq 7
6: goto 10
7: StackMap locals: int
StackMap stack:
aload 0
aload 1
invokestatic sun.reflect.misc.MethodUtil.getInterfaceMethods:(Ljava/lang/Class;Ljava/util/Map;)V
8: aload 0
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 0
end local 2 9: StackMap locals:
StackMap stack:
aload 0
ifnonnull 4
10: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aload 1
invokeinterface java.util.Map.size:()I
anewarray java.lang.reflect.Method
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.reflect.Method[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 cls Ljava/lang/Class;
3 11 1 sigs Ljava/util/Map<Lsun/reflect/misc/MethodUtil$Signature;Ljava/lang/reflect/Method;>;
5 9 2 done Z
MethodParameters:
Name Flags
cls
private static void getInterfaceMethods(java.lang.Class, java.util.Map<sun.reflect.misc.MethodUtil$Signature, java.lang.reflect.Method>);
descriptor: (Ljava/lang/Class;Ljava/util/Map;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Class.getInterfaces:()[Ljava/lang/Class;
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 8
3: StackMap locals: java.lang.Class[] int
StackMap stack:
aload 2
iload 3
aaload
astore 4
start local 4 4: aload 4
aload 1
invokestatic sun.reflect.misc.MethodUtil.getInternalPublicMethods:(Ljava/lang/Class;Ljava/util/Map;)Z
istore 5
start local 5 5: iload 5
ifne 7
6: aload 4
aload 1
invokestatic sun.reflect.misc.MethodUtil.getInterfaceMethods:(Ljava/lang/Class;Ljava/util/Map;)V
end local 5 end local 4 7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 2
arraylength
if_icmplt 3
end local 3 9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 cls Ljava/lang/Class;
0 10 1 sigs Ljava/util/Map<Lsun/reflect/misc/MethodUtil$Signature;Ljava/lang/reflect/Method;>;
1 10 2 intfs [Ljava/lang/Class;
2 9 3 i I
4 7 4 intf Ljava/lang/Class;
5 7 5 done Z
Signature: (Ljava/lang/Class;Ljava/util/Map<Lsun/reflect/misc/MethodUtil$Signature;Ljava/lang/reflect/Method;>;)V
MethodParameters:
Name Flags
cls
sigs
private static boolean getInternalPublicMethods(java.lang.Class, java.util.Map<sun.reflect.misc.MethodUtil$Signature, java.lang.reflect.Method>);
descriptor: (Ljava/lang/Class;Ljava/util/Map;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
invokevirtual java.lang.Class.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifne 3
2: iconst_0
ireturn
3: StackMap locals: java.lang.reflect.Method[]
StackMap stack:
aload 0
invokestatic sun.reflect.misc.ReflectUtil.isPackageAccessible:(Ljava/lang/Class;)Z
ifne 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.getMethods:()[Ljava/lang/reflect/Method;
astore 2
6: goto 9
StackMap locals:
StackMap stack: java.lang.SecurityException
7: pop
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iconst_1
istore 3
start local 3 10: iconst_0
istore 4
start local 4 11: goto 17
12: StackMap locals: int int
StackMap stack:
aload 2
iload 4
aaload
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
astore 5
start local 5 13: aload 5
invokevirtual java.lang.Class.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifne 16
14: iconst_0
istore 3
15: goto 18
end local 5 16: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
17: iload 4
aload 2
arraylength
if_icmplt 12
end local 4 18: StackMap locals:
StackMap stack:
iload 3
ifeq 25
19: iconst_0
istore 4
start local 4 20: goto 23
21: StackMap locals: int
StackMap stack:
aload 1
aload 2
iload 4
aaload
invokestatic sun.reflect.misc.MethodUtil.addMethod:(Ljava/util/Map;Ljava/lang/reflect/Method;)V
22: iinc 4 1
StackMap locals:
StackMap stack:
23: iload 4
aload 2
arraylength
if_icmplt 21
end local 4 24: goto 32
25: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 26: goto 31
27: StackMap locals: int
StackMap stack:
aload 2
iload 4
aaload
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
astore 5
start local 5 28: aload 0
aload 5
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 30
29: aload 1
aload 2
iload 4
aaload
invokestatic sun.reflect.misc.MethodUtil.addMethod:(Ljava/util/Map;Ljava/lang/reflect/Method;)V
end local 5 30: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
31: iload 4
aload 2
arraylength
if_icmplt 27
end local 4 32: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 cls Ljava/lang/Class;
0 33 1 sigs Ljava/util/Map<Lsun/reflect/misc/MethodUtil$Signature;Ljava/lang/reflect/Method;>;
1 33 2 methods [Ljava/lang/reflect/Method;
10 33 3 done Z
11 18 4 i I
13 16 5 dc Ljava/lang/Class;
20 24 4 i I
26 32 4 i I
28 30 5 dc Ljava/lang/Class;
Exception table:
from to target type
1 2 7 Class java.lang.SecurityException
3 4 7 Class java.lang.SecurityException
5 6 7 Class java.lang.SecurityException
Signature: (Ljava/lang/Class;Ljava/util/Map<Lsun/reflect/misc/MethodUtil$Signature;Ljava/lang/reflect/Method;>;)Z
MethodParameters:
Name Flags
cls
sigs
private static void addMethod(java.util.Map<sun.reflect.misc.MethodUtil$Signature, java.lang.reflect.Method>, java.lang.reflect.Method);
descriptor: (Ljava/util/Map;Ljava/lang/reflect/Method;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new sun.reflect.misc.MethodUtil$Signature
dup
aload 1
invokespecial sun.reflect.misc.MethodUtil$Signature.<init>:(Ljava/lang/reflect/Method;)V
astore 2
start local 2 1: aload 0
aload 2
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 4
2: aload 0
aload 2
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: goto 8
StackMap locals: sun.reflect.misc.MethodUtil$Signature
StackMap stack:
4: aload 1
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isInterface:()Z
ifne 8
5: aload 0
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.reflect.Method
astore 3
start local 3 6: aload 3
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isInterface:()Z
ifeq 8
7: aload 0
aload 2
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 sigs Ljava/util/Map<Lsun/reflect/misc/MethodUtil$Signature;Ljava/lang/reflect/Method;>;
0 9 1 method Ljava/lang/reflect/Method;
1 9 2 signature Lsun/reflect/misc/MethodUtil$Signature;
6 8 3 old Ljava/lang/reflect/Method;
Signature: (Ljava/util/Map<Lsun/reflect/misc/MethodUtil$Signature;Ljava/lang/reflect/Method;>;Ljava/lang/reflect/Method;)V
MethodParameters:
Name Flags
sigs
method
public static java.lang.Object invoke(java.lang.reflect.Method, java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.reflect.misc.MethodUtil.bounce:Ljava/lang/reflect/Method;
aconst_null
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
aload 2
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 3
start local 3 3: aload 3
invokevirtual java.lang.reflect.InvocationTargetException.getCause:()Ljava/lang/Throwable;
astore 4
start local 4 4: aload 4
instanceof java.lang.reflect.InvocationTargetException
ifeq 6
5: aload 4
checkcast java.lang.reflect.InvocationTargetException
athrow
6: StackMap locals: java.lang.reflect.InvocationTargetException java.lang.Throwable
StackMap stack:
aload 4
instanceof java.lang.IllegalAccessException
ifeq 8
7: aload 4
checkcast java.lang.IllegalAccessException
athrow
8: StackMap locals:
StackMap stack:
aload 4
instanceof java.lang.RuntimeException
ifeq 10
9: aload 4
checkcast java.lang.RuntimeException
athrow
10: StackMap locals:
StackMap stack:
aload 4
instanceof java.lang.Error
ifeq 12
11: aload 4
checkcast java.lang.Error
athrow
12: StackMap locals:
StackMap stack:
new java.lang.Error
dup
ldc "Unexpected invocation error"
aload 4
invokespecial java.lang.Error.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 13: StackMap locals: java.lang.reflect.Method java.lang.Object java.lang.Object[]
StackMap stack: java.lang.IllegalAccessException
astore 3
start local 3 14: new java.lang.Error
dup
ldc "Unexpected invocation error"
aload 3
invokespecial java.lang.Error.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 m Ljava/lang/reflect/Method;
0 15 1 obj Ljava/lang/Object;
0 15 2 params [Ljava/lang/Object;
3 13 3 ie Ljava/lang/reflect/InvocationTargetException;
4 13 4 t Ljava/lang/Throwable;
14 15 3 iae Ljava/lang/IllegalAccessException;
Exception table:
from to target type
0 1 2 Class java.lang.reflect.InvocationTargetException
0 1 13 Class java.lang.IllegalAccessException
Exceptions:
throws java.lang.reflect.InvocationTargetException, java.lang.IllegalAccessException
MethodParameters:
Name Flags
m
obj
params
private static java.lang.reflect.Method getTrampoline();
descriptor: ()Ljava/lang/reflect/Method;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new sun.reflect.misc.MethodUtil$1
dup
invokespecial sun.reflect.misc.MethodUtil$1.<init>:()V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.reflect.Method
2: areturn
3: StackMap locals:
StackMap stack: java.lang.Exception
pop
4: new java.lang.InternalError
dup
ldc "bouncer cannot be found"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
0 2 3 Class java.lang.Exception
protected synchronized java.lang.Class loadClass(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/lang/Class;
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic sun.reflect.misc.ReflectUtil.checkPackageAccess:(Ljava/lang/String;)V
1: aload 0
aload 1
invokevirtual sun.reflect.misc.MethodUtil.findLoadedClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
start local 3 2: aload 3
ifnonnull 8
3: aload 0
aload 1
invokevirtual sun.reflect.misc.MethodUtil.findClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
4: goto 6
StackMap locals: sun.reflect.misc.MethodUtil java.lang.String int java.lang.Class
StackMap stack: java.lang.ClassNotFoundException
5: pop
6: StackMap locals:
StackMap stack:
aload 3
ifnonnull 8
7: aload 0
invokevirtual sun.reflect.misc.MethodUtil.getParent:()Ljava/lang/ClassLoader;
aload 1
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
8: StackMap locals:
StackMap stack:
iload 2
ifeq 10
9: aload 0
aload 3
invokevirtual sun.reflect.misc.MethodUtil.resolveClass:(Ljava/lang/Class;)V
10: 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 11 0 this Lsun/reflect/misc/MethodUtil;
0 11 1 name Ljava/lang/String;
0 11 2 resolve Z
2 11 3 c Ljava/lang/Class;
Exception table:
from to target type
3 4 5 Class java.lang.ClassNotFoundException
Exceptions:
throws java.lang.ClassNotFoundException
MethodParameters:
Name Flags
name
resolve
protected java.lang.Class findClass(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
getstatic sun.reflect.misc.MethodUtil.MISC_PKG:Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 2
1: new java.lang.ClassNotFoundException
dup
aload 1
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
ldc ".class"
invokevirtual java.lang.String.concat:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 3: aload 0
aload 2
invokevirtual sun.reflect.misc.MethodUtil.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 3
start local 3 4: aload 3
ifnull 9
5: aload 0
aload 1
aload 3
invokevirtual sun.reflect.misc.MethodUtil.defineClass:(Ljava/lang/String;Ljava/net/URL;)Ljava/lang/Class;
6: areturn
7: StackMap locals: sun.reflect.misc.MethodUtil java.lang.String java.lang.String java.net.URL
StackMap stack: java.io.IOException
astore 4
start local 4 8: new java.lang.ClassNotFoundException
dup
aload 1
aload 4
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 9: StackMap locals:
StackMap stack:
new java.lang.ClassNotFoundException
dup
aload 1
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/reflect/misc/MethodUtil;
0 10 1 name Ljava/lang/String;
3 10 2 path Ljava/lang/String;
4 10 3 res Ljava/net/URL;
8 9 4 e Ljava/io/IOException;
Exception table:
from to target type
5 6 7 Class java.io.IOException
Exceptions:
throws java.lang.ClassNotFoundException
MethodParameters:
Name Flags
name final
private java.lang.Class defineClass(java.lang.String, java.net.URL);
descriptor: (Ljava/lang/String;Ljava/net/URL;)Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic sun.reflect.misc.MethodUtil.getBytes:(Ljava/net/URL;)[B
astore 3
start local 3 1: new java.security.CodeSource
dup
aconst_null
aconst_null
invokespecial java.security.CodeSource.<init>:(Ljava/net/URL;[Ljava/security/cert/Certificate;)V
astore 4
start local 4 2: aload 1
getstatic sun.reflect.misc.MethodUtil.TRAMPOLINE:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
3: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "MethodUtil: bad name "
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.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: byte[] java.security.CodeSource
StackMap stack:
aload 0
aload 1
aload 3
iconst_0
aload 3
arraylength
aload 4
invokevirtual sun.reflect.misc.MethodUtil.defineClass:(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/reflect/misc/MethodUtil;
0 5 1 name Ljava/lang/String;
0 5 2 url Ljava/net/URL;
1 5 3 b [B
2 5 4 cs Ljava/security/CodeSource;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
url
private static byte[] getBytes(java.net.URL);
descriptor: (Ljava/net/URL;)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
astore 1
start local 1 1: aload 1
instanceof java.net.HttpURLConnection
ifeq 6
2: aload 1
checkcast java.net.HttpURLConnection
astore 2
start local 2 3: aload 2
invokevirtual java.net.HttpURLConnection.getResponseCode:()I
istore 3
start local 3 4: iload 3
sipush 400
if_icmplt 6
5: new java.io.IOException
dup
ldc "open HTTP connection failed."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 6: StackMap locals: java.net.URLConnection
StackMap stack:
aload 1
invokevirtual java.net.URLConnection.getContentLength:()I
istore 2
start local 2 7: new java.io.BufferedInputStream
dup
aload 1
invokevirtual java.net.URLConnection.getInputStream:()Ljava/io/InputStream;
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
astore 3
start local 3 8: aload 3
iload 2
iconst_1
invokestatic sun.misc.IOUtils.readFully:(Ljava/io/InputStream;IZ)[B
astore 4
start local 4 9: goto 13
end local 4 StackMap locals: java.net.URL java.net.URLConnection int java.io.InputStream
StackMap stack: java.lang.Throwable
10: astore 5
11: aload 3
invokevirtual java.io.InputStream.close:()V
12: aload 5
athrow
start local 4 13: StackMap locals: byte[]
StackMap stack:
aload 3
invokevirtual java.io.InputStream.close:()V
14: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 url Ljava/net/URL;
1 15 1 uc Ljava/net/URLConnection;
3 6 2 huc Ljava/net/HttpURLConnection;
4 6 3 code I
7 15 2 len I
8 15 3 in Ljava/io/InputStream;
9 10 4 b [B
13 15 4 b [B
Exception table:
from to target type
8 10 10 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
protected java.security.PermissionCollection getPermissions(java.security.CodeSource);
descriptor: (Ljava/security/CodeSource;)Ljava/security/PermissionCollection;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.security.SecureClassLoader.getPermissions:(Ljava/security/CodeSource;)Ljava/security/PermissionCollection;
astore 2
start local 2 1: aload 2
new java.security.AllPermission
dup
invokespecial java.security.AllPermission.<init>:()V
invokevirtual java.security.PermissionCollection.add:(Ljava/security/Permission;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/reflect/misc/MethodUtil;
0 3 1 codesource Ljava/security/CodeSource;
1 3 2 perms Ljava/security/PermissionCollection;
MethodParameters:
Name Flags
codesource
private static java.lang.Class getTrampolineClass();
descriptor: ()Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: getstatic sun.reflect.misc.MethodUtil.TRAMPOLINE:Ljava/lang/String;
iconst_1
new sun.reflect.misc.MethodUtil
dup
invokespecial sun.reflect.misc.MethodUtil.<init>:()V
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
pop
3: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
0 1 2 Class java.lang.ClassNotFoundException
}
SourceFile: "MethodUtil.java"
NestMembers:
sun.reflect.misc.MethodUtil$1 sun.reflect.misc.MethodUtil$Signature
InnerClasses:
sun.reflect.misc.MethodUtil$1
private Signature = sun.reflect.misc.MethodUtil$Signature of sun.reflect.misc.MethodUtil