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 
More information can found at:
0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.