M
mike
When calling Method.invoke, I get
'Class X can not access a member of class Y with modifiers "public"'
The method I am trying to invoke is in class Y, and is a public
method. I thought it was impossible to get an IllegalAccessException
on a public member. Can anyone clarify this for me?
Thanks,
'Class X can not access a member of class Y with modifiers "public"'
The method I am trying to invoke is in class Y, and is a public
method. I thought it was impossible to get an IllegalAccessException
on a public member. Can anyone clarify this for me?
Thanks,