Deprecated
as a consequence of SecurityManager being deprecated. See corresponding docs for further information.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | SecurityActions.
_The_ Notorious sun.misc.Unsafe in all its glory, but anonymous so as not to attract unwanted attention. |
| Modifier and Type | Field and Description |
|---|---|
| public static final SecurityActions | stack
Deprecated
as a consequence of
SecurityActions being deprecated.
|
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | disableWarning(SecurityActions.
theUnsafe that'll fix it tuJava 9 now complains about every privileged action regardless. |
| public Class | Returns: represents the declaring class of the method that invoked the method that called this or index 2 on the stack trace.Since Java 9 abruptly removed |
| pack-priv static Constructor | |
| pack-priv static Constructor | |
| pack-priv static Method | |
| pack-priv static Method[] | |
| pack-priv static MethodHandle | |
| pack-priv static SecurityActions. | |
| pack-priv static void | |
| pack-priv static void |
| stack | back to summary |
|---|---|
| public static final SecurityActions stack
Deprecated as a consequence of | |
| SecurityActions | back to summary |
|---|---|
| pack-priv SecurityActions() | |
| disableWarning | back to summary |
|---|---|
| pack-priv static void disableWarning(SecurityActions. Java 9 now complains about every privileged action regardless. Displaying warnings of "illegal usage" and then instructing users to go hassle the maintainers in order to have it fixed. Making it hush for now, see all fixed.
| |
| getCallerClass | back to summary |
|---|---|
| public Class Since Java 9 abruptly removed
| |
| getDeclaredConstructor | back to summary |
|---|---|
| pack-priv static Constructor | |
| getDeclaredConstructors | back to summary |
|---|---|
| pack-priv static Constructor | |
| getDeclaredMethod | back to summary |
|---|---|
| pack-priv static Method getDeclaredMethod(final Class<?> clazz, final String name, final Class<?>[] types) throws NoSuchMethodException | |
| getDeclaredMethods | back to summary |
|---|---|
| pack-priv static Method[] getDeclaredMethods(final Class<?> clazz) | |
| getMethodHandle | back to summary |
|---|---|
| pack-priv static MethodHandle getMethodHandle(final Class<?> clazz, final String name, final Class<?>[] params) throws NoSuchMethodException | |
| getSunMiscUnsafeAnonymously | back to summary |
|---|---|
| pack-priv static SecurityActions. | |
| set | back to summary |
|---|---|
| pack-priv static void set(final Field fld, final Object target, final Object value) throws IllegalAccessException | |
| setAccessible | back to summary |
|---|---|
| pack-priv static void setAccessible(final AccessibleObject ao, final boolean accessible) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Map | |
| pack-priv final Object | |
| pack-priv final Class |
| methods | back to summary |
|---|---|
| pack-priv final Map<String, List<Method>> methods | |
| theUnsafe | back to summary |
|---|---|
| pack-priv final Object theUnsafe | |
| unsafe | back to summary |
|---|---|
| pack-priv final Class<?> unsafe | |
| TheUnsafe | back to summary |
|---|---|
| pack-priv TheUnsafe(Class<?> c, Object o) | |
| call | back to summary |
|---|---|
| public Object call(String name, Object... args) | |
| getM | back to summary |
|---|---|
| private Method getM(String name, Object[] o) | |