APIdia Launch Partner
Top Fields Constructors Methods
jdk.internal.vm

public Class VMSupport

extends Object
Class Inheritance
Imports
jdk.internal.access.SharedSecrets, java.io.ByteArrayOutputStream, .IOException, java.util.Properties, .Set

Field Summary

Modifier and TypeField and Description
private static Properties

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static synchronized Properties
getAgentProperties()

Returns the agent properties.

public static native String
private static native Properties
private static Properties
onlyStrings(Properties p)

Returns: a Properties object containing only the entries in p whose key and value are both Strings

public static byte[]
private static byte[]
serializePropertiesToByteArray(Properties p)

Writes the given properties list to a byte array and return it.

public static byte[]
public static byte[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

agentPropsback to summary
private static Properties agentProps

Constructor Detail

VMSupportback to summary
public VMSupport()

Method Detail

getAgentPropertiesback to summary
public static synchronized Properties getAgentProperties()

Returns the agent properties.

getVMTemporaryDirectoryback to summary
public static native String getVMTemporaryDirectory()
initAgentPropertiesback to summary
private static native Properties initAgentProperties(Properties props)
onlyStringsback to summary
private static Properties onlyStrings(Properties p)
Returns:Properties

a Properties object containing only the entries in p whose key and value are both Strings

serializeAgentPropertiesToByteArrayback to summary
public static byte[] serializeAgentPropertiesToByteArray() throws IOException
serializePropertiesToByteArrayback to summary
private static byte[] serializePropertiesToByteArray(Properties p) throws IOException

Writes the given properties list to a byte array and return it. The stream written to the byte array is ISO 8859-1 encoded.

serializePropertiesToByteArrayback to summary
public static byte[] serializePropertiesToByteArray() throws IOException
serializeSecurityPropertiesToByteArrayback to summary
public static byte[] serializeSecurityPropertiesToByteArray() throws IOException