public class sun.misc.VMSupport
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.misc.VMSupport
super_class: java.lang.Object
{
private static java.util.Properties agentProps;
descriptor: Ljava/util/Properties;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
putstatic sun.misc.VMSupport.agentProps:Ljava/util/Properties;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/misc/VMSupport;
public static synchronized java.util.Properties getAgentProperties();
descriptor: ()Ljava/util/Properties;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=0, args_size=0
0: getstatic sun.misc.VMSupport.agentProps:Ljava/util/Properties;
ifnonnull 3
1: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
putstatic sun.misc.VMSupport.agentProps:Ljava/util/Properties;
2: getstatic sun.misc.VMSupport.agentProps:Ljava/util/Properties;
invokestatic sun.misc.VMSupport.initAgentProperties:(Ljava/util/Properties;)Ljava/util/Properties;
pop
3: StackMap locals:
StackMap stack:
getstatic sun.misc.VMSupport.agentProps:Ljava/util/Properties;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static native java.util.Properties initAgentProperties(java.util.Properties);
descriptor: (Ljava/util/Properties;)Ljava/util/Properties;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
props
private static byte[] serializePropertiesToByteArray(java.util.Properties);
descriptor: (Ljava/util/Properties;)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: new java.io.ByteArrayOutputStream
dup
sipush 4096
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
astore 1
start local 1 1: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 2
start local 2 2: aload 0
invokevirtual java.util.Properties.stringPropertyNames:()Ljava/util/Set;
astore 3
start local 3 3: aload 3
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: java.util.Properties java.io.ByteArrayOutputStream java.util.Properties java.util.Set top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 5: aload 0
aload 4
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 6: aload 2
aload 4
aload 6
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: aload 2
aload 1
aconst_null
invokevirtual java.util.Properties.store:(Ljava/io/OutputStream;Ljava/lang/String;)V
9: aload 1
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 p Ljava/util/Properties;
1 10 1 out Ljava/io/ByteArrayOutputStream;
2 10 2 props Ljava/util/Properties;
3 10 3 keyset Ljava/util/Set<Ljava/lang/String;>;
5 7 4 key Ljava/lang/String;
6 7 6 value Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
p
public static byte[] serializePropertiesToByteArray();
descriptor: ()[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.lang.System.getProperties:()Ljava/util/Properties;
invokestatic sun.misc.VMSupport.serializePropertiesToByteArray:(Ljava/util/Properties;)[B
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
public static byte[] serializeAgentPropertiesToByteArray();
descriptor: ()[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic sun.misc.VMSupport.getAgentProperties:()Ljava/util/Properties;
invokestatic sun.misc.VMSupport.serializePropertiesToByteArray:(Ljava/util/Properties;)[B
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
public static boolean isClassPathAttributePresent(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.util.jar.JarFile
dup
aload 0
invokespecial java.util.jar.JarFile.<init>:(Ljava/lang/String;)V
invokevirtual java.util.jar.JarFile.getManifest:()Ljava/util/jar/Manifest;
astore 1
start local 1 1: aload 1
ifnull 4
2: aload 1
invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
getstatic java.util.jar.Attributes$Name.CLASS_PATH:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/util/jar/Attributes$Name;)Ljava/lang/String;
ifnull 4
3: iconst_1
ireturn
4: StackMap locals: java.util.jar.Manifest
StackMap stack:
iconst_0
ireturn
end local 1 5: StackMap locals: java.lang.String
StackMap stack: java.io.IOException
astore 1
start local 1 6: new java.lang.RuntimeException
dup
aload 1
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 path Ljava/lang/String;
1 5 1 man Ljava/util/jar/Manifest;
6 7 1 ioe Ljava/io/IOException;
Exception table:
from to target type
0 3 5 Class java.io.IOException
MethodParameters:
Name Flags
path
public static native java.lang.String getVMTemporaryDirectory();
descriptor: ()Ljava/lang/String;
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
}
SourceFile: "VMSupport.java"
InnerClasses:
public Name = java.util.jar.Attributes$Name of java.util.jar.Attributes