Results 1 to 1 of 1
- 07-11-2009, 10:17 PM #1Member
- Join Date
- Dec 2008
- Rep Power
JNI and AccessController / SecurityManager...
...just curious if anyone knows this answer for sure. I can write some quick code to get the answer but thought I would post here first. I have read conflicting things on the internet stating that JNI calls to private members of a class are allowed even if there is a security manager in place setup to deny access via the ReflectPermission (meaning someone cannot simply call the setAccessible() method via reflection to gain access) etc. Is this true? Can you access private members and methods via JNI and totally supass any access controller or security manager?
Last edited by fxRichard; 07-12-2009 at 02:56 PM.