[jboss-jira] [JBoss JIRA] Closed: (JBMDR-42) AccessControl exception using findMethod

Adrian Brock (JIRA) jira-events at lists.jboss.org
Fri Sep 5 11:40:38 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBMDR-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Brock closed JBMDR-42.
-----------------------------

    Resolution: Done


> 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list