public class JavaBypass
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.invoke.MethodHandles.Lookup |
TRUSTED_LOOKUP
The instance of the trusted lookup.
|
static sun.misc.Unsafe |
UNSAFE
The instance of the unsafe class.
|
| Constructor and Description |
|---|
JavaBypass() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearReflectionFilter()
Clear the reflection filter maps.
|
static java.lang.invoke.MethodHandles.Lookup |
getTrustedLookup()
Get the trusted lookup instance.
|
static sun.misc.Unsafe |
getUnsafe()
Get the unsafe instance.
|
public static final sun.misc.Unsafe UNSAFE
public static final java.lang.invoke.MethodHandles.Lookup TRUSTED_LOOKUP
public static sun.misc.Unsafe getUnsafe()
UNSAFE instead.java.lang.IllegalStateException - If the unsafe instance could not be gottenpublic static java.lang.invoke.MethodHandles.Lookup getTrustedLookup()
TRUSTED_LOOKUP instead.java.lang.IllegalStateException - If the trusted lookup instance could not be gottenpublic static void clearReflectionFilter()
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException - If the Reflection class is not found