public class JreCompat extends Object
Constructor and Description |
---|
JreCompat() |
Modifier and Type | Method and Description |
---|---|
static JreCompat |
getInstance() |
boolean |
isInstanceOfInaccessibleObjectException(Exception e)
Test if the provided exception is an instance of
java.lang.reflect.InaccessibleObjectException.
|
static boolean |
isJre9Available() |
public static JreCompat getInstance()
public static boolean isJre9Available()
public boolean isInstanceOfInaccessibleObjectException(Exception e)
e
- The exception to testtrue
if the exception is an instance of
InaccessibleObjectException, otherwise false
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.