public final class BootstrapInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
UNTRUSTED_CODEBASE
codebase location for untrusted scripts (provide some additional safety)
|
Modifier and Type | Method and Description |
---|---|
static java.util.Dictionary<java.lang.Object,java.lang.Object> |
getSystemProperties()
Returns a read-only view of all system properties
|
static boolean |
isMemoryLocked()
Returns true if we were able to lock the process's address space.
|
static boolean |
isNativesAvailable()
Returns true if we successfully loaded native libraries.
|
static boolean |
isSeccompInstalled()
Returns true if secure computing mode is enabled (supported systems only)
|
public static final java.lang.String UNTRUSTED_CODEBASE
This is not a full URL, just a path.
public static boolean isNativesAvailable()
If this returns false, then native operations such as locking memory did not work.
public static boolean isMemoryLocked()
public static boolean isSeccompInstalled()
public static java.util.Dictionary<java.lang.Object,java.lang.Object> getSystemProperties()