[jboss-jira] [JBoss JIRA] Closed: (JBMDR-12) Use of ClassLoader is wrong in AnnotationCreator
Kabir Khan (JIRA)
jira-events at lists.jboss.org
Fri Mar 14 10:52:28 EDT 2008
[ http://jira.jboss.com/jira/browse/JBMDR-12?page=all ]
Kabir Khan closed JBMDR-12.
---------------------------
Resolution: Done
> Use of ClassLoader is wrong in AnnotationCreator
> ------------------------------------------------
>
> Key: JBMDR-12
> URL: http://jira.jboss.com/jira/browse/JBMDR-12
> Project: JBoss MetaData Repository
> Issue Type: Bug
> Components: Annotations
> Affects Versions: JBossMDR-2.0.0.Beta11
> Reporter: Adrian Brock
> Assigned To: Kabir Khan
> Fix For: JBossMDR-2.0.0.CR1
>
>
> The use of the classloader in the AnnotationCreator is wrong.
> Even when you pass in a classloader it still uses the Thread context classloader.
> http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-mdr/trunk/src/main/org/jboss/annotation/factory/AnnotationCreator.java?revision=70318&view=markup
> I've worked around the problem temporarily in the MC by setting the context classloader
> before constructing annotations in the metadata, but I imagine this will cause problems elsewhere?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list