java.lang.reflect
public final class ReflectPermission extends BasicPermission
Permission Target Name | What Permission Allows | Risk of Allowing Permission |
---|---|---|
suppressAccessChecks |
Ability to access fields, invoke methods, and construct objects via reflection, including non-public members in contexts where such access is not legal at compile-time. | This is dangerous. It exposes possibly confidential information, and malicious code could interfere with the internals of the Virtual Machine by corrupting private data. |
Since: 1.2
UNKNOWN: updated to 1.4
Constructor Summary | |
---|---|
ReflectPermission(String name)
Construct a ReflectPermission with the given name.
| |
ReflectPermission(String name, String actions)
Construct a ReflectPermission with the given name.
|
Parameters: name The permission name
Parameters: name The permission name actions The actions; this is ignored and should be null