public final class JavaUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
supportExitOnOutOfMemory(java.lang.String jreVersion)
Checks if the specified JRE support ExitOnOutOfMemory and CrashOnOutOfMemory.
|
public static boolean supportExitOnOutOfMemory(java.lang.String jreVersion)
jreVersion
- the JRE versiontrue
if the running JRE support ExitOnOutOfMemory and CrashOnOutOfMemory or if the exact version
cannot be determined, false
otherwise.Copyright © 2018 The Apache Software Foundation