public class JreCompat extends Object
| Constructor and Description |
|---|
JreCompat() |
| Modifier and Type | Method and Description |
|---|---|
static JreCompat |
getInstance() |
boolean |
isInstanceOfInaccessibleObjectException(Throwable t)
Test if the provided exception is an instance of
java.lang.reflect.InaccessibleObjectException.
|
static boolean |
isJre8Available() |
static boolean |
isJre9Available() |
void |
setUseServerCipherSuitesOrder(SSLEngine engine,
boolean useCipherSuitesOrder) |
public static JreCompat getInstance()
public static boolean isJre8Available()
public void setUseServerCipherSuitesOrder(SSLEngine engine, boolean useCipherSuitesOrder)
public static boolean isJre9Available()
public boolean isInstanceOfInaccessibleObjectException(Throwable t)
t - The exception to testtrue if the exception is an instance of
InaccessibleObjectException, otherwise falseCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.