dcsimg

Set Permissions for Reflection? - Can i enable/disable permissions for the Reflection Mechanism?

Davanum Srinivas

Yes, You can use java.lang.reflect.ReflectPermission in policy file to control it.

grant {
  permission java.lang.reflect.ReflectPermission 
	"suppressAccessChecks";
};
More information can found at: