public class com.sun.jmx.mbeanserver.MBeanInstantiator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.jmx.mbeanserver.MBeanInstantiator
super_class: java.lang.Object
{
private final com.sun.jmx.mbeanserver.ModifiableClassLoaderRepository clr;
descriptor: Lcom/sun/jmx/mbeanserver/ModifiableClassLoaderRepository;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.util.Map<java.lang.String, java.lang.Class<?>> primitiveClasses;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Class<*>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=0
0: invokestatic com.sun.jmx.mbeanserver.Util.newMap:()Ljava/util/Map;
putstatic com.sun.jmx.mbeanserver.MBeanInstantiator.primitiveClasses:Ljava/util/Map;
1: bipush 8
anewarray java.lang.Class
dup
iconst_0
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
aastore
dup
iconst_1
getstatic java.lang.Short.TYPE:Ljava/lang/Class;
aastore
dup
iconst_2
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
dup
iconst_3
2: getstatic java.lang.Long.TYPE:Ljava/lang/Class;
aastore
dup
iconst_4
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
aastore
dup
iconst_5
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
aastore
dup
bipush 6
3: getstatic java.lang.Character.TYPE:Ljava/lang/Class;
aastore
dup
bipush 7
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
aastore
dup
astore 3
arraylength
istore 2
iconst_0
istore 1
goto 7
StackMap locals: top int int java.lang.Class[]
StackMap stack:
4: aload 3
iload 1
aaload
astore 0
start local 0 5: getstatic com.sun.jmx.mbeanserver.MBeanInstantiator.primitiveClasses:Ljava/util/Map;
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 0
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 0 6: iinc 1 1
StackMap locals:
StackMap stack:
7: iload 1
iload 2
if_icmplt 4
8: return
LocalVariableTable:
Start End Slot Name Signature
5 6 0 c Ljava/lang/Class<*>;
void <init>(com.sun.jmx.mbeanserver.ModifiableClassLoaderRepository);
descriptor: (Lcom/sun/jmx/mbeanserver/ModifiableClassLoaderRepository;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.jmx.mbeanserver.MBeanInstantiator.clr:Lcom/sun/jmx/mbeanserver/ModifiableClassLoaderRepository;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
0 3 1 clr Lcom/sun/jmx/mbeanserver/ModifiableClassLoaderRepository;
MethodParameters:
Name Flags
clr
public void testCreation(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.sun.jmx.mbeanserver.Introspector.testCreation:(Ljava/lang/Class;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
0 2 1 c Ljava/lang/Class<*>;
Exceptions:
throws javax.management.NotCompliantMBeanException
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
c
public java.lang.Class<?> findClassWithDefaultLoaderRepository(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 6
1: new javax.management.RuntimeOperationsException
dup
2: new java.lang.IllegalArgumentException
dup
ldc "The class name cannot be null"
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
4: ldc "Exception occurred during object instantiation"
5: invokespecial javax.management.RuntimeOperationsException.<init>:(Ljava/lang/RuntimeException;Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.reflect.misc.ReflectUtil.checkPackageAccess:(Ljava/lang/String;)V
7: aload 0
getfield com.sun.jmx.mbeanserver.MBeanInstantiator.clr:Lcom/sun/jmx/mbeanserver/ModifiableClassLoaderRepository;
ifnonnull 8
new java.lang.ClassNotFoundException
dup
aload 1
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.jmx.mbeanserver.MBeanInstantiator.clr:Lcom/sun/jmx/mbeanserver/ModifiableClassLoaderRepository;
aload 1
invokeinterface com.sun.jmx.mbeanserver.ModifiableClassLoaderRepository.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 2
start local 2 9: goto 14
end local 2 10: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
astore 3
start local 3 11: new javax.management.ReflectionException
dup
aload 3
12: ldc "The MBean class could not be loaded by the default loader repository"
13: invokespecial javax.management.ReflectionException.<init>:(Ljava/lang/Exception;Ljava/lang/String;)V
athrow
end local 3 start local 2 14: StackMap locals: java.lang.Class
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
0 15 1 className Ljava/lang/String;
9 10 2 theClass Ljava/lang/Class<*>;
14 15 2 theClass Ljava/lang/Class<*>;
11 14 3 ee Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
7 9 10 Class java.lang.ClassNotFoundException
Exceptions:
throws javax.management.ReflectionException
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
className
public java.lang.Class<?> findClass(java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic com.sun.jmx.mbeanserver.MBeanInstantiator.loadClass:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
0 1 1 className Ljava/lang/String;
0 1 2 loader Ljava/lang/ClassLoader;
Exceptions:
throws javax.management.ReflectionException
Signature: (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
className
loader
public java.lang.Class<?> findClass(java.lang.String, javax.management.ObjectName);
descriptor: (Ljava/lang/String;Ljavax/management/ObjectName;)Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 6
1: new javax.management.RuntimeOperationsException
dup
2: new java.lang.IllegalArgumentException
dup
3: invokespecial java.lang.IllegalArgumentException.<init>:()V
4: ldc "Null loader passed in parameter"
5: invokespecial javax.management.RuntimeOperationsException.<init>:(Ljava/lang/RuntimeException;Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 7: aload 0
dup
astore 4
monitorenter
8: aload 0
aload 2
invokevirtual com.sun.jmx.mbeanserver.MBeanInstantiator.getClassLoader:(Ljavax/management/ObjectName;)Ljava/lang/ClassLoader;
astore 3
9: aload 4
monitorexit
10: goto 13
StackMap locals: com.sun.jmx.mbeanserver.MBeanInstantiator java.lang.String javax.management.ObjectName java.lang.ClassLoader com.sun.jmx.mbeanserver.MBeanInstantiator
StackMap stack: java.lang.Throwable
11: aload 4
monitorexit
12: athrow
13: StackMap locals:
StackMap stack:
aload 3
ifnonnull 17
14: new javax.management.InstanceNotFoundException
dup
new java.lang.StringBuilder
dup
ldc "The loader named "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " is not registered in the MBeanServer"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokespecial javax.management.InstanceNotFoundException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 3
invokevirtual com.sun.jmx.mbeanserver.MBeanInstantiator.findClass:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
0 18 1 className Ljava/lang/String;
0 18 2 aLoader Ljavax/management/ObjectName;
7 18 3 loader Ljava/lang/ClassLoader;
Exception table:
from to target type
8 10 11 any
11 12 11 any
Exceptions:
throws javax.management.ReflectionException, javax.management.InstanceNotFoundException
Signature: (Ljava/lang/String;Ljavax/management/ObjectName;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
className
aLoader
public java.lang.Class<?>[] findSignatureClasses(java.lang.String[], java.lang.ClassLoader);
descriptor: ([Ljava/lang/String;Ljava/lang/ClassLoader;)[Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 2
astore 3
start local 3 2: aload 1
arraylength
istore 4
start local 4 3: iload 4
anewarray java.lang.Class
astore 5
start local 5 4: iload 4
ifne 5
aload 5
areturn
5: StackMap locals: java.lang.ClassLoader int java.lang.Class[]
StackMap stack:
iconst_0
istore 6
start local 6 6: goto 19
7: StackMap locals: int
StackMap stack:
getstatic com.sun.jmx.mbeanserver.MBeanInstantiator.primitiveClasses:Ljava/util/Map;
aload 1
iload 6
aaload
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
astore 7
start local 7 8: aload 7
ifnull 11
9: aload 5
iload 6
aload 7
aastore
10: goto 18
11: StackMap locals: java.lang.Class
StackMap stack:
aload 1
iload 6
aaload
invokestatic sun.reflect.misc.ReflectUtil.checkPackageAccess:(Ljava/lang/String;)V
12: aload 3
ifnull 15
13: aload 5
iload 6
aload 1
iload 6
aaload
iconst_0
aload 3
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
aastore
14: goto 18
15: StackMap locals:
StackMap stack:
aload 5
iload 6
aload 0
aload 1
iload 6
aaload
16: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
17: invokevirtual com.sun.jmx.mbeanserver.MBeanInstantiator.findClass:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
aastore
end local 7 18: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
19: iload 6
iload 4
if_icmplt 7
end local 6 20: goto 39
StackMap locals: com.sun.jmx.mbeanserver.MBeanInstantiator java.lang.String[] java.lang.ClassLoader java.lang.ClassLoader int java.lang.Class[]
StackMap stack: java.lang.ClassNotFoundException
21: astore 6
start local 6 22: getstatic com.sun.jmx.defaults.JmxProperties.MBEANSERVER_LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 28
23: getstatic com.sun.jmx.defaults.JmxProperties.MBEANSERVER_LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
24: ldc Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
25: ldc "findSignatureClasses"
26: ldc "The parameter class could not be found"
aload 6
27: invokevirtual java.util.logging.Logger.logp:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
28: StackMap locals: java.lang.ClassNotFoundException
StackMap stack:
new javax.management.ReflectionException
dup
aload 6
29: ldc "The parameter class could not be found"
30: invokespecial javax.management.ReflectionException.<init>:(Ljava/lang/Exception;Ljava/lang/String;)V
athrow
end local 6 31: StackMap locals: com.sun.jmx.mbeanserver.MBeanInstantiator java.lang.String[] java.lang.ClassLoader java.lang.ClassLoader int java.lang.Class[]
StackMap stack: java.lang.RuntimeException
astore 6
start local 6 32: getstatic com.sun.jmx.defaults.JmxProperties.MBEANSERVER_LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 38
33: getstatic com.sun.jmx.defaults.JmxProperties.MBEANSERVER_LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
34: ldc Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
35: ldc "findSignatureClasses"
36: ldc "Unexpected exception"
aload 6
37: invokevirtual java.util.logging.Logger.logp:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
38: StackMap locals: java.lang.RuntimeException
StackMap stack:
aload 6
athrow
end local 6 39: StackMap locals:
StackMap stack:
aload 5
areturn
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 40 0 this Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
0 40 1 signature [Ljava/lang/String;
0 40 2 loader Ljava/lang/ClassLoader;
2 40 3 aLoader Ljava/lang/ClassLoader;
3 40 4 length I
4 40 5 tab [Ljava/lang/Class;
6 20 6 i I
8 18 7 primCla Ljava/lang/Class<*>;
22 31 6 e Ljava/lang/ClassNotFoundException;
32 39 6 e Ljava/lang/RuntimeException;
Exception table:
from to target type
5 20 21 Class java.lang.ClassNotFoundException
5 20 31 Class java.lang.RuntimeException
Exceptions:
throws javax.management.ReflectionException
Signature: ([Ljava/lang/String;Ljava/lang/ClassLoader;)[Ljava/lang/Class<*>;
MethodParameters:
Name Flags
signature
loader
public instantiate(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
aconst_null
aconst_null
ldc "instantiate"
invokestatic com.sun.jmx.mbeanserver.MBeanInstantiator.checkMBeanPermission:(Ljava/lang/Class;Ljava/lang/String;Ljavax/management/ObjectName;Ljava/lang/String;)V
1: aload 0
aload 1
aconst_null
invokevirtual com.sun.jmx.mbeanserver.MBeanInstantiator.findConstructor:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 3
start local 3 2: aload 3
ifnonnull 6
3: new javax.management.ReflectionException
dup
4: new java.lang.NoSuchMethodException
dup
ldc "No such constructor"
5: invokespecial java.lang.NoSuchMethodException.<init>:(Ljava/lang/String;)V
invokespecial javax.management.ReflectionException.<init>:(Ljava/lang/Exception;)V
athrow
6: StackMap locals: com.sun.jmx.mbeanserver.MBeanInstantiator java.lang.Class top java.lang.reflect.Constructor
StackMap stack:
aload 1
invokestatic sun.reflect.misc.ReflectUtil.checkPackageAccess:(Ljava/lang/Class;)V
7: aload 1
invokestatic com.sun.jmx.mbeanserver.MBeanInstantiator.ensureClassAccess:(Ljava/lang/Class;)V
8: aload 3
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 9: goto 41
end local 2 StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
10: astore 4
start local 4 11: aload 4
invokevirtual java.lang.reflect.InvocationTargetException.getTargetException:()Ljava/lang/Throwable;
astore 5
start local 5 12: aload 5
instanceof java.lang.RuntimeException
ifeq 16
13: new javax.management.RuntimeMBeanException
dup
aload 5
checkcast java.lang.RuntimeException
14: ldc "RuntimeException thrown in the MBean's empty constructor"
15: invokespecial javax.management.RuntimeMBeanException.<init>:(Ljava/lang/RuntimeException;Ljava/lang/String;)V
athrow
16: StackMap locals: java.lang.reflect.InvocationTargetException java.lang.Throwable
StackMap stack:
aload 5
instanceof java.lang.Error
ifeq 20
17: new javax.management.RuntimeErrorException
dup
aload 5
checkcast java.lang.Error
18: ldc "Error thrown in the MBean's empty constructor"
19: invokespecial javax.management.RuntimeErrorException.<init>:(Ljava/lang/Error;Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
new javax.management.MBeanException
dup
aload 5
checkcast java.lang.Exception
21: ldc "Exception thrown in the MBean's empty constructor"
22: invokespecial javax.management.MBeanException.<init>:(Ljava/lang/Exception;Ljava/lang/String;)V
athrow
end local 5 end local 4 23: StackMap locals: com.sun.jmx.mbeanserver.MBeanInstantiator java.lang.Class top java.lang.reflect.Constructor
StackMap stack: java.lang.NoSuchMethodError
pop
24: new javax.management.ReflectionException
dup
25: new java.lang.NoSuchMethodException
dup
ldc "No constructor"
26: invokespecial java.lang.NoSuchMethodException.<init>:(Ljava/lang/String;)V
27: ldc "No such constructor"
28: invokespecial javax.management.ReflectionException.<init>:(Ljava/lang/Exception;Ljava/lang/String;)V
athrow
29: StackMap locals:
StackMap stack: java.lang.InstantiationException
astore 4
start local 4 30: new javax.management.ReflectionException
dup
aload 4
31: ldc "Exception thrown trying to invoke the MBean's empty constructor"
32: invokespecial javax.management.ReflectionException.<init>:(Ljava/lang/Exception;Ljava/lang/String;)V
athrow
end local 4 33: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 4
start local 4 34: new javax.management.ReflectionException
dup
aload 4
35: ldc "Exception thrown trying to invoke the MBean's empty constructor"
36: invokespecial javax.management.ReflectionException.<init>:(Ljava/lang/Exception;Ljava/lang/String;)V
athrow
end local 4 37: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 4
start local 4 38: new javax.management.ReflectionException
dup
aload 4
39: ldc "Exception thrown trying to invoke the MBean's empty constructor"
40: invokespecial javax.management.ReflectionException.<init>:(Ljava/lang/Exception;Ljava/lang/String;)V
athrow
end local 4 start local 2 41: StackMap locals: com.sun.jmx.mbeanserver.MBeanInstantiator java.lang.Class java.lang.Object java.lang.reflect.Constructor
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
0 42 1 theClass Ljava/lang/Class<*>;
9 10 2 moi Ljava/lang/Object;
41 42 2 moi Ljava/lang/Object;
2 42 3 cons Ljava/lang/reflect/Constructor<*>;
11 23 4 e Ljava/lang/reflect/InvocationTargetException;
12 23 5 t Ljava/lang/Throwable;
30 33 4 e Ljava/lang/InstantiationException;
34 37 4 e Ljava/lang/IllegalAccessException;
38 41 4 e Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
6 9 10 Class java.lang.reflect.InvocationTargetException
6 9 23 Class java.lang.NoSuchMethodError
6 9 29 Class java.lang.InstantiationException
6 9 33 Class java.lang.IllegalAccessException
6 9 37 Class java.lang.IllegalArgumentException
Exceptions:
throws javax.management.ReflectionException, javax.management.MBeanException
Signature: (Ljava/lang/Class<*>;)Ljava/lang/Object;
MethodParameters:
Name Flags
theClass
public instantiate(java.lang.Class<?>, [], java.lang.String[], java.lang.ClassLoader);
descriptor: (Ljava/lang/Class;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
aconst_null
aconst_null
ldc "instantiate"
invokestatic com.sun.jmx.mbeanserver.MBeanInstantiator.checkMBeanPermission:(Ljava/lang/Class;Ljava/lang/String;Ljavax/management/ObjectName;Ljava/lang/String;)V
1: aload 1
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 7
start local 7 2: aload 3
ifnonnull 3
aconst_null
goto 4
3: StackMap locals: com.sun.jmx.mbeanserver.MBeanInstantiator java.lang.Class java.lang.Object[] java.lang.String[] java.lang.ClassLoader top top java.lang.ClassLoader
StackMap stack:
aload 0
aload 3
aload 7
invokevirtual com.sun.jmx.mbeanserver.MBeanInstantiator.findSignatureClasses:([Ljava/lang/String;Ljava/lang/ClassLoader;)[Ljava/lang/Class;
4: StackMap locals:
StackMap stack: java.lang.Class[]
astore 5
end local 7 start local 5 5: goto 10
end local 5 6: StackMap locals: com.sun.jmx.mbeanserver.MBeanInstantiator java.lang.Class java.lang.Object[] java.lang.String[] java.lang.ClassLoader
StackMap stack: java.lang.IllegalArgumentException
astore 7
start local 7 7: new javax.management.ReflectionException
dup
aload 7
8: ldc "The constructor parameter classes could not be loaded"
9: invokespecial javax.management.ReflectionException.<init>:(Ljava/lang/Exception;Ljava/lang/String;)V
athrow
end local 7 start local 5 10: StackMap locals: java.lang.Class[]
StackMap stack:
aload 0
aload 1
aload 5
invokevirtual com.sun.jmx.mbeanserver.MBeanInstantiator.findConstructor:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 7
start local 7 11: aload 7
ifnonnull 15
12: new javax.management.ReflectionException
dup
13: new java.lang.NoSuchMethodException
dup
ldc "No such constructor"
14: invokespecial java.lang.NoSuchMethodException.<init>:(Ljava/lang/String;)V
invokespecial javax.management.ReflectionException.<init>:(Ljava/lang/Exception;)V
athrow
15: StackMap locals: com.sun.jmx.mbeanserver.MBeanInstantiator java.lang.Class java.lang.Object[] java.lang.String[] java.lang.ClassLoader java.lang.Class[] top java.lang.reflect.Constructor
StackMap stack:
aload 1
invokestatic sun.reflect.misc.ReflectUtil.checkPackageAccess:(Ljava/lang/Class;)V
16: aload 1
invokestatic com.sun.jmx.mbeanserver.MBeanInstantiator.ensureClassAccess:(Ljava/lang/Class;)V
17: aload 7
aload 2
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 18: goto 46
end local 6 19: StackMap locals:
StackMap stack: java.lang.NoSuchMethodError
pop
20: new javax.management.ReflectionException
dup
21: new java.lang.NoSuchMethodException
dup
ldc "No such constructor found"
22: invokespecial java.lang.NoSuchMethodException.<init>:(Ljava/lang/String;)V
23: ldc "No such constructor"
24: invokespecial javax.management.ReflectionException.<init>:(Ljava/lang/Exception;Ljava/lang/String;)V
athrow
25: StackMap locals:
StackMap stack: java.lang.InstantiationException
astore 8
start local 8 26: new javax.management.ReflectionException
dup
aload 8
27: ldc "Exception thrown trying to invoke the MBean's constructor"
28: invokespecial javax.management.ReflectionException.<init>:(Ljava/lang/Exception;Ljava/lang/String;)V
athrow
end local 8 29: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 8
start local 8 30: new javax.management.ReflectionException
dup
aload 8
31: ldc "Exception thrown trying to invoke the MBean's constructor"
32: invokespecial javax.management.ReflectionException.<init>:(Ljava/lang/Exception;Ljava/lang/String;)V
athrow
end local 8 33: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 8
start local 8 34: aload 8
invokevirtual java.lang.reflect.InvocationTargetException.getTargetException:()Ljava/lang/Throwable;
astore 9
start local 9 35: aload 9
instanceof java.lang.RuntimeException
ifeq 39
36: new javax.management.RuntimeMBeanException
dup
aload 9
checkcast java.lang.RuntimeException
37: ldc "RuntimeException thrown in the MBean's constructor"
38: invokespecial javax.management.RuntimeMBeanException.<init>:(Ljava/lang/RuntimeException;Ljava/lang/String;)V
athrow
39: StackMap locals: java.lang.reflect.InvocationTargetException java.lang.Throwable
StackMap stack:
aload 9
instanceof java.lang.Error
ifeq 43
40: new javax.management.RuntimeErrorException
dup
aload 9
checkcast java.lang.Error
41: ldc "Error thrown in the MBean's constructor"
42: invokespecial javax.management.RuntimeErrorException.<init>:(Ljava/lang/Error;Ljava/lang/String;)V
athrow
43: StackMap locals:
StackMap stack:
new javax.management.MBeanException
dup
aload 9
checkcast java.lang.Exception
44: ldc "Exception thrown in the MBean's constructor"
45: invokespecial javax.management.MBeanException.<init>:(Ljava/lang/Exception;Ljava/lang/String;)V
athrow
end local 9 end local 8 start local 6 46: StackMap locals: com.sun.jmx.mbeanserver.MBeanInstantiator java.lang.Class java.lang.Object[] java.lang.String[] java.lang.ClassLoader java.lang.Class[] java.lang.Object java.lang.reflect.Constructor
StackMap stack:
aload 6
areturn
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 Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
0 47 1 theClass Ljava/lang/Class<*>;
0 47 2 params [Ljava/lang/Object;
0 47 3 signature [Ljava/lang/String;
0 47 4 loader Ljava/lang/ClassLoader;
5 6 5 tab [Ljava/lang/Class;
10 47 5 tab [Ljava/lang/Class;
18 19 6 moi Ljava/lang/Object;
46 47 6 moi Ljava/lang/Object;
2 5 7 aLoader Ljava/lang/ClassLoader;
7 10 7 e Ljava/lang/IllegalArgumentException;
11 47 7 cons Ljava/lang/reflect/Constructor<*>;
26 29 8 e Ljava/lang/InstantiationException;
30 33 8 e Ljava/lang/IllegalAccessException;
34 46 8 e Ljava/lang/reflect/InvocationTargetException;
35 46 9 th Ljava/lang/Throwable;
Exception table:
from to target type
1 5 6 Class java.lang.IllegalArgumentException
15 18 19 Class java.lang.NoSuchMethodError
15 18 25 Class java.lang.InstantiationException
15 18 29 Class java.lang.IllegalAccessException
15 18 33 Class java.lang.reflect.InvocationTargetException
Exceptions:
throws javax.management.ReflectionException, javax.management.MBeanException
Signature: (Ljava/lang/Class<*>;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Object;
MethodParameters:
Name Flags
theClass
params
signature
loader
public java.io.ObjectInputStream deserialize(java.lang.ClassLoader, byte[]);
descriptor: (Ljava/lang/ClassLoader;[B)Ljava/io/ObjectInputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 6
1: new javax.management.RuntimeOperationsException
dup
2: new java.lang.IllegalArgumentException
dup
3: invokespecial java.lang.IllegalArgumentException.<init>:()V
4: ldc "Null data passed in parameter"
5: invokespecial javax.management.RuntimeOperationsException.<init>:(Ljava/lang/RuntimeException;Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 2
arraylength
ifne 12
7: new javax.management.RuntimeOperationsException
dup
8: new java.lang.IllegalArgumentException
dup
9: invokespecial java.lang.IllegalArgumentException.<init>:()V
10: ldc "Empty data passed in parameter"
11: invokespecial javax.management.RuntimeOperationsException.<init>:(Ljava/lang/RuntimeException;Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
new java.io.ByteArrayInputStream
dup
aload 2
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
astore 3
start local 3 13: new com.sun.jmx.mbeanserver.ObjectInputStreamWithLoader
dup
aload 3
aload 1
invokespecial com.sun.jmx.mbeanserver.ObjectInputStreamWithLoader.<init>:(Ljava/io/InputStream;Ljava/lang/ClassLoader;)V
astore 4
start local 4 14: goto 19
end local 4 StackMap locals: com.sun.jmx.mbeanserver.MBeanInstantiator java.lang.ClassLoader byte[] java.io.ByteArrayInputStream
StackMap stack: java.io.IOException
15: pop
16: new javax.management.OperationsException
dup
17: ldc "An IOException occurred trying to de-serialize the data"
18: invokespecial javax.management.OperationsException.<init>:(Ljava/lang/String;)V
athrow
start local 4 19: StackMap locals: java.io.ObjectInputStream
StackMap stack:
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 20 0 this Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
0 20 1 loader Ljava/lang/ClassLoader;
0 20 2 data [B
13 20 3 bIn Ljava/io/ByteArrayInputStream;
14 15 4 objIn Ljava/io/ObjectInputStream;
19 20 4 objIn Ljava/io/ObjectInputStream;
Exception table:
from to target type
13 14 15 Class java.io.IOException
Exceptions:
throws javax.management.OperationsException
MethodParameters:
Name Flags
loader
data
public java.io.ObjectInputStream deserialize(java.lang.String, javax.management.ObjectName, byte[], java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljavax/management/ObjectName;[BLjava/lang/ClassLoader;)Ljava/io/ObjectInputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
ifnonnull 6
1: new javax.management.RuntimeOperationsException
dup
2: new java.lang.IllegalArgumentException
dup
3: invokespecial java.lang.IllegalArgumentException.<init>:()V
4: ldc "Null data passed in parameter"
5: invokespecial javax.management.RuntimeOperationsException.<init>:(Ljava/lang/RuntimeException;Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 3
arraylength
ifne 12
7: new javax.management.RuntimeOperationsException
dup
8: new java.lang.IllegalArgumentException
dup
9: invokespecial java.lang.IllegalArgumentException.<init>:()V
10: ldc "Empty data passed in parameter"
11: invokespecial javax.management.RuntimeOperationsException.<init>:(Ljava/lang/RuntimeException;Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 1
ifnonnull 18
13: new javax.management.RuntimeOperationsException
dup
14: new java.lang.IllegalArgumentException
dup
15: invokespecial java.lang.IllegalArgumentException.<init>:()V
16: ldc "Null className passed in parameter"
17: invokespecial javax.management.RuntimeOperationsException.<init>:(Ljava/lang/RuntimeException;Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.reflect.misc.ReflectUtil.checkPackageAccess:(Ljava/lang/String;)V
19: aload 2
ifnonnull 22
20: aload 0
aload 1
aload 4
invokevirtual com.sun.jmx.mbeanserver.MBeanInstantiator.findClass:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
astore 5
start local 5 21: goto 34
end local 5 22: StackMap locals:
StackMap stack:
aconst_null
astore 6
start local 6 23: aload 0
aload 2
invokevirtual com.sun.jmx.mbeanserver.MBeanInstantiator.getClassLoader:(Ljavax/management/ObjectName;)Ljava/lang/ClassLoader;
astore 6
24: aload 6
ifnonnull 26
25: new java.lang.ClassNotFoundException
dup
aload 1
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
26: StackMap locals: com.sun.jmx.mbeanserver.MBeanInstantiator java.lang.String javax.management.ObjectName byte[] java.lang.ClassLoader top java.lang.ClassLoader
StackMap stack:
aload 1
iconst_0
aload 6
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 5
end local 6 start local 5 27: goto 34
end local 5 28: StackMap locals: com.sun.jmx.mbeanserver.MBeanInstantiator java.lang.String javax.management.ObjectName byte[] java.lang.ClassLoader
StackMap stack: java.lang.ClassNotFoundException
astore 6
start local 6 29: new javax.management.ReflectionException
dup
aload 6
30: new java.lang.StringBuilder
dup
ldc "The MBean class could not be loaded by the "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
31: aload 2
invokevirtual javax.management.ObjectName.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " class loader"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
32: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
33: invokespecial javax.management.ReflectionException.<init>:(Ljava/lang/Exception;Ljava/lang/String;)V
athrow
end local 6 start local 5 34: StackMap locals: java.lang.Class
StackMap stack:
new java.io.ByteArrayInputStream
dup
aload 3
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
astore 6
start local 6 35: new com.sun.jmx.mbeanserver.ObjectInputStreamWithLoader
dup
aload 6
36: aload 5
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
37: invokespecial com.sun.jmx.mbeanserver.ObjectInputStreamWithLoader.<init>:(Ljava/io/InputStream;Ljava/lang/ClassLoader;)V
astore 7
start local 7 38: goto 43
end local 7 StackMap locals: com.sun.jmx.mbeanserver.MBeanInstantiator java.lang.String javax.management.ObjectName byte[] java.lang.ClassLoader java.lang.Class java.io.ByteArrayInputStream
StackMap stack: java.io.IOException
39: pop
40: new javax.management.OperationsException
dup
41: ldc "An IOException occurred trying to de-serialize the data"
42: invokespecial javax.management.OperationsException.<init>:(Ljava/lang/String;)V
athrow
start local 7 43: StackMap locals: java.io.ObjectInputStream
StackMap stack:
aload 7
areturn
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 44 0 this Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
0 44 1 className Ljava/lang/String;
0 44 2 loaderName Ljavax/management/ObjectName;
0 44 3 data [B
0 44 4 loader Ljava/lang/ClassLoader;
21 22 5 theClass Ljava/lang/Class<*>;
27 28 5 theClass Ljava/lang/Class<*>;
34 44 5 theClass Ljava/lang/Class<*>;
23 27 6 instance Ljava/lang/ClassLoader;
29 34 6 e Ljava/lang/ClassNotFoundException;
35 44 6 bIn Ljava/io/ByteArrayInputStream;
38 39 7 objIn Ljava/io/ObjectInputStream;
43 44 7 objIn Ljava/io/ObjectInputStream;
Exception table:
from to target type
22 27 28 Class java.lang.ClassNotFoundException
35 38 39 Class java.io.IOException
Exceptions:
throws javax.management.InstanceNotFoundException, javax.management.OperationsException, javax.management.ReflectionException
MethodParameters:
Name Flags
className
loaderName
data
loader
public java.lang.Object instantiate(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
aconst_null
aconst_null
invokevirtual com.sun.jmx.mbeanserver.MBeanInstantiator.instantiate:(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
0 1 1 className Ljava/lang/String;
Exceptions:
throws javax.management.ReflectionException, javax.management.MBeanException
MethodParameters:
Name Flags
className
public java.lang.Object instantiate(java.lang.String, javax.management.ObjectName, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljavax/management/ObjectName;Ljava/lang/ClassLoader;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aconst_null
1: aconst_null
aload 3
2: invokevirtual com.sun.jmx.mbeanserver.MBeanInstantiator.instantiate:(Ljava/lang/String;Ljavax/management/ObjectName;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
0 3 1 className Ljava/lang/String;
0 3 2 loaderName Ljavax/management/ObjectName;
0 3 3 loader Ljava/lang/ClassLoader;
Exceptions:
throws javax.management.ReflectionException, javax.management.MBeanException, javax.management.InstanceNotFoundException
MethodParameters:
Name Flags
className
loaderName
loader
public java.lang.Object instantiate(java.lang.String, java.lang.Object[], java.lang.String[], java.lang.ClassLoader);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokevirtual com.sun.jmx.mbeanserver.MBeanInstantiator.findClassWithDefaultLoaderRepository:(Ljava/lang/String;)Ljava/lang/Class;
astore 5
start local 5 1: aload 0
aload 5
aload 2
aload 3
aload 4
invokevirtual com.sun.jmx.mbeanserver.MBeanInstantiator.instantiate:(Ljava/lang/Class;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Object;
areturn
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 2 0 this Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
0 2 1 className Ljava/lang/String;
0 2 2 params [Ljava/lang/Object;
0 2 3 signature [Ljava/lang/String;
0 2 4 loader Ljava/lang/ClassLoader;
1 2 5 theClass Ljava/lang/Class<*>;
Exceptions:
throws javax.management.ReflectionException, javax.management.MBeanException
MethodParameters:
Name Flags
className
params
signature
loader
public java.lang.Object instantiate(java.lang.String, javax.management.ObjectName, java.lang.Object[], java.lang.String[], java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljavax/management/ObjectName;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
ifnonnull 3
1: aload 0
aload 1
aload 5
invokevirtual com.sun.jmx.mbeanserver.MBeanInstantiator.findClass:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
astore 6
start local 6 2: goto 4
end local 6 3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual com.sun.jmx.mbeanserver.MBeanInstantiator.findClass:(Ljava/lang/String;Ljavax/management/ObjectName;)Ljava/lang/Class;
astore 6
start local 6 4: StackMap locals: java.lang.Class
StackMap stack:
aload 0
aload 6
aload 3
aload 4
aload 5
invokevirtual com.sun.jmx.mbeanserver.MBeanInstantiator.instantiate:(Ljava/lang/Class;[Ljava/lang/Object;[Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Object;
areturn
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 5 0 this Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
0 5 1 className Ljava/lang/String;
0 5 2 loaderName Ljavax/management/ObjectName;
0 5 3 params [Ljava/lang/Object;
0 5 4 signature [Ljava/lang/String;
0 5 5 loader Ljava/lang/ClassLoader;
2 3 6 theClass Ljava/lang/Class<*>;
4 5 6 theClass Ljava/lang/Class<*>;
Exceptions:
throws javax.management.ReflectionException, javax.management.MBeanException, javax.management.InstanceNotFoundException
MethodParameters:
Name Flags
className
loaderName
params
signature
loader
public com.sun.jmx.mbeanserver.ModifiableClassLoaderRepository getClassLoaderRepository();
descriptor: ()Lcom/sun/jmx/mbeanserver/ModifiableClassLoaderRepository;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aconst_null
aconst_null
aconst_null
ldc "getClassLoaderRepository"
invokestatic com.sun.jmx.mbeanserver.MBeanInstantiator.checkMBeanPermission:(Ljava/lang/String;Ljava/lang/String;Ljavax/management/ObjectName;Ljava/lang/String;)V
1: aload 0
getfield com.sun.jmx.mbeanserver.MBeanInstantiator.clr:Lcom/sun/jmx/mbeanserver/ModifiableClassLoaderRepository;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
static java.lang.Class<?> loadClass(java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 6
1: new javax.management.RuntimeOperationsException
dup
2: new java.lang.IllegalArgumentException
dup
ldc "The class name cannot be null"
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
4: ldc "Exception occurred during object instantiation"
5: invokespecial javax.management.RuntimeOperationsException.<init>:(Ljava/lang/RuntimeException;Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.reflect.misc.ReflectUtil.checkPackageAccess:(Ljava/lang/String;)V
7: aload 1
ifnonnull 9
8: ldc Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 1
9: StackMap locals:
StackMap stack:
aload 1
ifnull 12
10: aload 0
iconst_0
aload 1
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 2
start local 2 11: goto 18
end local 2 12: StackMap locals:
StackMap stack:
aload 0
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 2
start local 2 13: goto 18
end local 2 StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
14: astore 3
start local 3 15: new javax.management.ReflectionException
dup
aload 3
16: ldc "The MBean class could not be loaded"
17: invokespecial javax.management.ReflectionException.<init>:(Ljava/lang/Exception;Ljava/lang/String;)V
athrow
end local 3 start local 2 18: StackMap locals: java.lang.Class
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 className Ljava/lang/String;
0 19 1 loader Ljava/lang/ClassLoader;
11 12 2 theClass Ljava/lang/Class<*>;
13 14 2 theClass Ljava/lang/Class<*>;
18 19 2 theClass Ljava/lang/Class<*>;
15 18 3 e Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
7 13 14 Class java.lang.ClassNotFoundException
Exceptions:
throws javax.management.ReflectionException
Signature: (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
className
loader
static java.lang.Class<?>[] loadSignatureClasses(java.lang.String[], java.lang.ClassLoader);
descriptor: ([Ljava/lang/String;Ljava/lang/ClassLoader;)[Ljava/lang/Class;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 1
ifnonnull 2
ldc Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
goto 3
StackMap locals:
StackMap stack:
2: aload 1
3: StackMap locals:
StackMap stack: java.lang.ClassLoader
astore 2
start local 2 4: aload 0
arraylength
istore 3
start local 3 5: iload 3
anewarray java.lang.Class
astore 4
start local 4 6: iload 3
ifne 7
aload 4
areturn
7: StackMap locals: java.lang.ClassLoader int java.lang.Class[]
StackMap stack:
iconst_0
istore 5
start local 5 8: goto 16
9: StackMap locals: int
StackMap stack:
getstatic com.sun.jmx.mbeanserver.MBeanInstantiator.primitiveClasses:Ljava/util/Map;
aload 0
iload 5
aaload
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
astore 6
start local 6 10: aload 6
ifnull 13
11: aload 4
iload 5
aload 6
aastore
12: goto 15
13: StackMap locals: java.lang.Class
StackMap stack:
aload 0
iload 5
aaload
invokestatic sun.reflect.misc.ReflectUtil.checkPackageAccess:(Ljava/lang/String;)V
14: aload 4
iload 5
aload 0
iload 5
aaload
iconst_0
aload 2
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
aastore
end local 6 15: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
16: iload 5
iload 3
if_icmplt 9
end local 5 17: goto 36
StackMap locals: java.lang.String[] java.lang.ClassLoader java.lang.ClassLoader int java.lang.Class[]
StackMap stack: java.lang.ClassNotFoundException
18: astore 5
start local 5 19: getstatic com.sun.jmx.defaults.JmxProperties.MBEANSERVER_LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 25
20: getstatic com.sun.jmx.defaults.JmxProperties.MBEANSERVER_LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
21: ldc Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
22: ldc "findSignatureClasses"
23: ldc "The parameter class could not be found"
aload 5
24: invokevirtual java.util.logging.Logger.logp:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
25: StackMap locals: java.lang.ClassNotFoundException
StackMap stack:
new javax.management.ReflectionException
dup
aload 5
26: ldc "The parameter class could not be found"
27: invokespecial javax.management.ReflectionException.<init>:(Ljava/lang/Exception;Ljava/lang/String;)V
athrow
end local 5 28: StackMap locals: java.lang.String[] java.lang.ClassLoader java.lang.ClassLoader int java.lang.Class[]
StackMap stack: java.lang.RuntimeException
astore 5
start local 5 29: getstatic com.sun.jmx.defaults.JmxProperties.MBEANSERVER_LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 35
30: getstatic com.sun.jmx.defaults.JmxProperties.MBEANSERVER_LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
31: ldc Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
32: ldc "findSignatureClasses"
33: ldc "Unexpected exception"
aload 5
34: invokevirtual java.util.logging.Logger.logp:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
35: StackMap locals: java.lang.RuntimeException
StackMap stack:
aload 5
athrow
end local 5 36: StackMap locals:
StackMap stack:
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 37 0 signature [Ljava/lang/String;
0 37 1 loader Ljava/lang/ClassLoader;
4 37 2 aLoader Ljava/lang/ClassLoader;
5 37 3 length I
6 37 4 tab [Ljava/lang/Class;
8 17 5 i I
10 15 6 primCla Ljava/lang/Class<*>;
19 28 5 e Ljava/lang/ClassNotFoundException;
29 36 5 e Ljava/lang/RuntimeException;
Exception table:
from to target type
7 17 18 Class java.lang.ClassNotFoundException
7 17 28 Class java.lang.RuntimeException
Exceptions:
throws javax.management.ReflectionException
Signature: ([Ljava/lang/String;Ljava/lang/ClassLoader;)[Ljava/lang/Class<*>;
MethodParameters:
Name Flags
signature
loader
private java.lang.reflect.Constructor<?> findConstructor(java.lang.Class<?>, java.lang.Class<?>[]);
descriptor: (Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic sun.reflect.misc.ConstructorUtil.getConstructor:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
pop
3: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
0 4 1 c Ljava/lang/Class<*>;
0 4 2 params [Ljava/lang/Class;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Signature: (Ljava/lang/Class<*>;[Ljava/lang/Class<*>;)Ljava/lang/reflect/Constructor<*>;
MethodParameters:
Name Flags
c
params
private static void checkMBeanPermission(java.lang.Class<?>, java.lang.String, javax.management.ObjectName, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljavax/management/ObjectName;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ifnull 2
1: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 1
aload 2
aload 3
invokestatic com.sun.jmx.mbeanserver.MBeanInstantiator.checkMBeanPermission:(Ljava/lang/String;Ljava/lang/String;Ljavax/management/ObjectName;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 clazz Ljava/lang/Class<*>;
0 3 1 member Ljava/lang/String;
0 3 2 objectName Ljavax/management/ObjectName;
0 3 3 actions Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljavax/management/ObjectName;Ljava/lang/String;)V
MethodParameters:
Name Flags
clazz
member
objectName
actions
private static void checkMBeanPermission(java.lang.String, java.lang.String, javax.management.ObjectName, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljavax/management/ObjectName;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 4
start local 4 1: aload 4
ifnull 8
2: new javax.management.MBeanPermission
dup
aload 0
3: aload 1
4: aload 2
5: aload 3
6: invokespecial javax.management.MBeanPermission.<init>:(Ljava/lang/String;Ljava/lang/String;Ljavax/management/ObjectName;Ljava/lang/String;)V
astore 5
start local 5 7: aload 4
aload 5
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
end local 5 8: StackMap locals: java.lang.SecurityManager
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 classname Ljava/lang/String;
0 9 1 member Ljava/lang/String;
0 9 2 objectName Ljavax/management/ObjectName;
0 9 3 actions Ljava/lang/String;
1 9 4 sm Ljava/lang/SecurityManager;
7 8 5 perm Ljava/security/Permission;
Exceptions:
throws java.lang.SecurityException
MethodParameters:
Name Flags
classname
member
objectName
actions
private static void ensureClassAccess(java.lang.Class);
descriptor: (Ljava/lang/Class;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.getModifiers:()I
istore 1
start local 1 1: iload 1
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifne 3
2: new java.lang.IllegalAccessException
dup
ldc "Class is not public and can't be instantiated"
invokespecial java.lang.IllegalAccessException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 clazz Ljava/lang/Class;
1 4 1 mod I
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
clazz
private java.lang.ClassLoader getClassLoader(javax.management.ObjectName);
descriptor: (Ljavax/management/ObjectName;)Ljava/lang/ClassLoader;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.jmx.mbeanserver.MBeanInstantiator.clr:Lcom/sun/jmx/mbeanserver/ModifiableClassLoaderRepository;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new java.security.Permissions
dup
invokespecial java.security.Permissions.<init>:()V
astore 2
start local 2 3: aload 2
new javax.management.MBeanPermission
dup
ldc "*"
aconst_null
aload 1
ldc "getClassLoader"
invokespecial javax.management.MBeanPermission.<init>:(Ljava/lang/String;Ljava/lang/String;Ljavax/management/ObjectName;Ljava/lang/String;)V
invokevirtual java.security.Permissions.add:(Ljava/security/Permission;)V
4: new java.security.ProtectionDomain
dup
aconst_null
aload 2
invokespecial java.security.ProtectionDomain.<init>:(Ljava/security/CodeSource;Ljava/security/PermissionCollection;)V
astore 3
start local 3 5: iconst_1
anewarray java.security.ProtectionDomain
dup
iconst_0
aload 3
aastore
astore 4
start local 4 6: new java.security.AccessControlContext
dup
aload 4
invokespecial java.security.AccessControlContext.<init>:([Ljava/security/ProtectionDomain;)V
astore 5
start local 5 7: new com.sun.jmx.mbeanserver.MBeanInstantiator$1
dup
aload 0
aload 1
invokespecial com.sun.jmx.mbeanserver.MBeanInstantiator$1.<init>:(Lcom/sun/jmx/mbeanserver/MBeanInstantiator;Ljavax/management/ObjectName;)V
8: aload 5
9: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
astore 6
start local 6 10: aload 6
areturn
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 11 0 this Lcom/sun/jmx/mbeanserver/MBeanInstantiator;
0 11 1 name Ljavax/management/ObjectName;
3 11 2 permissions Ljava/security/Permissions;
5 11 3 protectionDomain Ljava/security/ProtectionDomain;
6 11 4 domains [Ljava/security/ProtectionDomain;
7 11 5 ctx Ljava/security/AccessControlContext;
10 11 6 loader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
name final
}
SourceFile: "MBeanInstantiator.java"
NestMembers:
com.sun.jmx.mbeanserver.MBeanInstantiator$1
InnerClasses:
com.sun.jmx.mbeanserver.MBeanInstantiator$1