CallerSensitive access rights problems
Alan.Bateman at oracle.com
Mon Nov 18 15:31:51 UTC 2013
On 18/11/2013 14:59, Jochen Theodorou wrote:
> java.lang.Class has multiple methods annotated with CallerSensitive
> Now if we in Groovy here want to build our runtime structure for this
> class, and the security manager is not allowing access to sun.reflect,
> then we get into trouble. https://jira.codehaus.org/browse/GROOVY-6405
> is caused by this.
> What do you suggest people with this problem, if adding
> accessClassInPackage.sun.reflect is no option?
Is it sun.reflect.CallerSensitive.class.getDeclaredMethods that is failing?
More information about the core-libs-dev