public class sun.management.Util
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.management.Util
super_class: java.lang.Object
{
private static final java.lang.String[] EMPTY_STRING_ARRAY;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static java.lang.management.ManagementPermission monitorPermission;
descriptor: Ljava/lang/management/ManagementPermission;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.management.ManagementPermission controlPermission;
descriptor: Ljava/lang/management/ManagementPermission;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: iconst_0
anewarray java.lang.String
putstatic sun.management.Util.EMPTY_STRING_ARRAY:[Ljava/lang/String;
1: new java.lang.management.ManagementPermission
dup
ldc "monitor"
invokespecial java.lang.management.ManagementPermission.<init>:(Ljava/lang/String;)V
2: putstatic sun.management.Util.monitorPermission:Ljava/lang/management/ManagementPermission;
3: new java.lang.management.ManagementPermission
dup
ldc "control"
invokespecial java.lang.management.ManagementPermission.<init>:(Ljava/lang/String;)V
4: putstatic sun.management.Util.controlPermission:Ljava/lang/management/ManagementPermission;
5: 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.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/Util;
static java.lang.RuntimeException newException(java.lang.Exception);
descriptor: (Ljava/lang/Exception;)Ljava/lang/RuntimeException;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.RuntimeException
dup
aload 0
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 e Ljava/lang/Exception;
MethodParameters:
Name Flags
e
static java.lang.String[] toStringArray(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)[Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic sun.management.Util.EMPTY_STRING_ARRAY:[Ljava/lang/String;
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 list Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/util/List<Ljava/lang/String;>;)[Ljava/lang/String;
MethodParameters:
Name Flags
list
public static javax.management.ObjectName newObjectName(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljavax/management/ObjectName;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ",name="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.management.Util.newObjectName:(Ljava/lang/String;)Ljavax/management/ObjectName;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 domainAndType Ljava/lang/String;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
domainAndType
name
public static javax.management.ObjectName newObjectName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/management/ObjectName;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokestatic javax.management.ObjectName.getInstance:(Ljava/lang/String;)Ljavax/management/ObjectName;
1: areturn
2: StackMap locals:
StackMap stack: javax.management.MalformedObjectNameException
astore 1
start local 1 3: new java.lang.IllegalArgumentException
dup
aload 1
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 name Ljava/lang/String;
3 4 1 e Ljavax/management/MalformedObjectNameException;
Exception table:
from to target type
0 1 2 Class javax.management.MalformedObjectNameException
MethodParameters:
Name Flags
name
static void checkAccess(java.lang.management.ManagementPermission);
descriptor: (Ljava/lang/management/ManagementPermission;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
aload 0
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 p Ljava/lang/management/ManagementPermission;
1 4 1 sm Ljava/lang/SecurityManager;
Exceptions:
throws java.lang.SecurityException
MethodParameters:
Name Flags
p
static void checkMonitorAccess();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.management.Util.monitorPermission:Ljava/lang/management/ManagementPermission;
invokestatic sun.management.Util.checkAccess:(Ljava/lang/management/ManagementPermission;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.SecurityException
static void checkControlAccess();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.management.Util.controlPermission:Ljava/lang/management/ManagementPermission;
invokestatic sun.management.Util.checkAccess:(Ljava/lang/management/ManagementPermission;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.SecurityException
}
SourceFile: "Util.java"