My question is :=20
Is it possible to access package methods (or for that matter, private =
methods) using the java reflection APIs in this way. (Assuming that the =
setAccessible is invoked as a privileged action.) What are the restrictions=
(if any) on such an invocation ?
If there aren't any restrictions, then does this constitute a violation of =
the java language semantics. How does one specify that the private/package =
methods of a certain class aren't accessible using these reflection =
constructs.
Vishal Goenka
Novell