I use reflection to dynamically call some methods from an extended class. Unfortunately, one of these methods is declared as private native, and as soon as I make a call ... I get the following exception:
java.lang.IllegalAccessException: Class com.something.somewhere.MyThing ca
n not access a member of class com.something.somewhere.AnotherThing with modifier
s "private native"
Is there any way around this?
source
share