This method of the ReflectionPermission Class adjusts the permission object with some run-time state. The ReflectionPermission only responds to the "classloader" adjustment type. This method expects the adjustment parameter to be a ClassLoader instance. All other adjustment types are ignored. The class loader instance used for the adjustment parameter is the loader that SAMELOADER will refer to after this method adjusts the class loader.
public void adjustPermission(String tag, Object adjustment);
Note The "classloader" adjustment to this permission is equivalent to an explicit setAssociatedLoader call.
tag | The adjustment type. Every value except "classloader" is ignored. |
adjustment | This parameter must be an instance of java.lang.ClassLoader for the "classloader" tag. |