AccessControl exception using findMethod
----------------------------------------
Key: JBMDR-42
URL:
https://jira.jboss.org/jira/browse/JBMDR-42
Project: JBoss MetaData Repository
Issue Type: Bug
Components: Loader
Reporter: Adrian Brock
Assignee: Adrian Brock
We need to introduce privileged blocks into AnnotatedMetaDataLoader
otherwise user code that calls code that tries to access private method/field annotations
is going to fail with an AccessControlException.
e.g. aop might do this and the forum thread shows an example of a test creating
BeanMetaData
from an annotated class.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira