final class sun.management.ManagementFactoryHelper$LoggingMXBeanAccess
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.management.ManagementFactoryHelper$LoggingMXBeanAccess
super_class: java.lang.Object
{
static final java.lang.String LOG_MANAGER_CLASS_NAME;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "java.util.logging.LogManager"
static final java.lang.String LOGGING_MXBEAN_CLASS_NAME;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "java.util.logging.LoggingMXBean"
static final java.lang.Class<?> LOG_MANAGER_CLASS;
descriptor: Ljava/lang/Class;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/Class<*>;
final java.lang.Object impl;
descriptor: Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
final java.util.Map<java.lang.String, java.lang.reflect.Method> methods;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/reflect/Method;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "java.util.logging.LogManager"
invokestatic sun.management.ManagementFactoryHelper$LoggingMXBeanAccess.loadLoggingClass:(Ljava/lang/String;)Ljava/lang/Class;
putstatic sun.management.ManagementFactoryHelper$LoggingMXBeanAccess.LOG_MANAGER_CLASS:Ljava/lang/Class;
return
LocalVariableTable:
Start End Slot Name Signature
static boolean isAvailable();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.management.ManagementFactoryHelper$LoggingMXBeanAccess.LOG_MANAGER_CLASS:Ljava/lang/Class;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.Class<?> loadLoggingClass(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.management.ManagementFactoryHelper$LoggingMXBeanAccess$1
dup
aload 0
invokespecial sun.management.ManagementFactoryHelper$LoggingMXBeanAccess$1.<init>:(Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Class
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 className Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
className
private java.util.Map<java.lang.String, java.lang.reflect.Method> initMethodMap();
descriptor: (Ljava/lang/Object;)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
areturn
2: StackMap locals:
StackMap stack:
ldc "java.util.logging.LoggingMXBean"
invokestatic sun.management.ManagementFactoryHelper$LoggingMXBeanAccess.loadLoggingClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 2
start local 2 3: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
start local 3 4: aload 2
invokevirtual java.lang.Class.getMethods:()[Ljava/lang/reflect/Method;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 17
StackMap locals: sun.management.ManagementFactoryHelper$LoggingMXBeanAccess java.lang.Object java.lang.Class java.util.Map top int int java.lang.reflect.Method[]
StackMap stack:
5: aload 7
iload 5
aaload
astore 4
start local 4 6: ldc Ljava/lang/management/PlatformLoggingMXBean;
7: aload 4
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aload 4
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
8: astore 8
start local 8 9: aload 8
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
aload 4
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 16
10: aload 3
aload 4
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aload 4
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
ifnull 16
11: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "unexpected polymorphic method: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
12: aload 4
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 8 14: StackMap locals: sun.management.ManagementFactoryHelper$LoggingMXBeanAccess java.lang.Object java.lang.Class java.util.Map java.lang.reflect.Method int int java.lang.reflect.Method[]
StackMap stack: java.lang.NoSuchMethodException
astore 8
start local 8 15: new java.lang.InternalError
dup
aload 8
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 8 end local 4 16: StackMap locals: sun.management.ManagementFactoryHelper$LoggingMXBeanAccess java.lang.Object java.lang.Class java.util.Map top int int java.lang.reflect.Method[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
17: iload 5
iload 6
if_icmplt 5
18: aload 3
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/management/ManagementFactoryHelper$LoggingMXBeanAccess;
0 19 1 impl Ljava/lang/Object;
3 19 2 intfClass Ljava/lang/Class<*>;
4 19 3 methodsMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/reflect/Method;>;
6 16 4 m Ljava/lang/reflect/Method;
9 14 8 specMethod Ljava/lang/reflect/Method;
15 16 8 x Ljava/lang/NoSuchMethodException;
Exception table:
from to target type
6 14 14 Class java.lang.NoSuchMethodException
Signature: (Ljava/lang/Object;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/reflect/Method;>;
MethodParameters:
Name Flags
impl
private static java.lang.Object getMXBeanImplementation();
descriptor: ()Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: invokestatic sun.management.ManagementFactoryHelper$LoggingMXBeanAccess.isAvailable:()Z
ifne 2
1: new java.lang.NoClassDefFoundError
dup
ldc "java.util.logging.LogManager"
invokespecial java.lang.NoClassDefFoundError.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic sun.management.ManagementFactoryHelper$LoggingMXBeanAccess.LOG_MANAGER_CLASS:Ljava/lang/Class;
ldc "getLoggingMXBean"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 0
start local 0 3: aload 0
aconst_null
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
4: areturn
end local 0 5: StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
astore 0
start local 0 6: new java.lang.ExceptionInInitializerError
dup
aload 0
invokespecial java.lang.ExceptionInInitializerError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
3 5 0 m Ljava/lang/reflect/Method;
6 7 0 x Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
2 4 5 Class java.lang.NoSuchMethodException
2 4 5 Class java.lang.IllegalAccessException
2 4 5 Class java.lang.reflect.InvocationTargetException
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic sun.management.ManagementFactoryHelper$LoggingMXBeanAccess.getMXBeanImplementation:()Ljava/lang/Object;
putfield sun.management.ManagementFactoryHelper$LoggingMXBeanAccess.impl:Ljava/lang/Object;
2: aload 0
aload 0
aload 0
getfield sun.management.ManagementFactoryHelper$LoggingMXBeanAccess.impl:Ljava/lang/Object;
invokevirtual sun.management.ManagementFactoryHelper$LoggingMXBeanAccess.initMethodMap:(Ljava/lang/Object;)Ljava/util/Map;
putfield sun.management.ManagementFactoryHelper$LoggingMXBeanAccess.methods:Ljava/util/Map;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/management/ManagementFactoryHelper$LoggingMXBeanAccess;
<T> T invoke(java.lang.String, []);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0080) ACC_VARARGS
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.management.ManagementFactoryHelper$LoggingMXBeanAccess.methods:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.reflect.Method
astore 3
start local 3 1: aload 3
ifnonnull 3
2: new java.lang.UnsupportedOperationException
dup
aload 1
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.reflect.Method
StackMap stack:
aload 3
aload 0
getfield sun.management.ManagementFactoryHelper$LoggingMXBeanAccess.impl:Ljava/lang/Object;
aload 2
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 4: aload 4
5: areturn
end local 4 6: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 4
start local 4 7: new java.lang.UnsupportedOperationException
dup
aload 4
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 8: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 4
start local 4 9: aload 4
invokestatic sun.management.ManagementFactoryHelper$LoggingMXBeanAccess.unwrap:(Ljava/lang/reflect/InvocationTargetException;)Ljava/lang/RuntimeException;
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/management/ManagementFactoryHelper$LoggingMXBeanAccess;
0 10 1 methodName Ljava/lang/String;
0 10 2 args [Ljava/lang/Object;
1 10 3 m Ljava/lang/reflect/Method;
4 6 4 result TT;
7 8 4 ex Ljava/lang/IllegalAccessException;
9 10 4 ex Ljava/lang/reflect/InvocationTargetException;
Exception table:
from to target type
3 5 6 Class java.lang.IllegalAccessException
3 5 8 Class java.lang.reflect.InvocationTargetException
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;[Ljava/lang/Object;)TT;
MethodParameters:
Name Flags
methodName
args
private static java.lang.RuntimeException unwrap(java.lang.reflect.InvocationTargetException);
descriptor: (Ljava/lang/reflect/InvocationTargetException;)Ljava/lang/RuntimeException;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.reflect.InvocationTargetException.getCause:()Ljava/lang/Throwable;
astore 1
start local 1 1: aload 1
instanceof java.lang.RuntimeException
ifeq 3
2: aload 1
checkcast java.lang.RuntimeException
areturn
3: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
instanceof java.lang.Error
ifeq 5
4: aload 1
checkcast java.lang.Error
athrow
5: StackMap locals:
StackMap stack:
new java.lang.reflect.UndeclaredThrowableException
dup
aload 1
ifnonnull 6
aload 0
goto 7
StackMap locals: java.lang.reflect.InvocationTargetException java.lang.Throwable
StackMap stack: new 5 new 5
6: aload 1
StackMap locals: java.lang.reflect.InvocationTargetException java.lang.Throwable
StackMap stack: new 5 new 5 java.lang.Throwable
7: invokespecial java.lang.reflect.UndeclaredThrowableException.<init>:(Ljava/lang/Throwable;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 x Ljava/lang/reflect/InvocationTargetException;
1 8 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
x
}
SourceFile: "ManagementFactoryHelper.java"
NestHost: sun.management.ManagementFactoryHelper
InnerClasses:
final LoggingMXBeanAccess = sun.management.ManagementFactoryHelper$LoggingMXBeanAccess of sun.management.ManagementFactoryHelper
sun.management.ManagementFactoryHelper$LoggingMXBeanAccess$1