]
Adrian Brock updated JBMDR-42:
------------------------------
Fix Version/s: JBossMDR-2.0.0.CR1
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
Fix For: JBossMDR-2.0.0.CR1
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: