[jboss-jira] [JBoss JIRA] Reopened: (JBMDR-12) Use of ClassLoader is wrong in AnnotationCreator
Adrian Brock (JIRA)
jira-events at lists.jboss.org
Mon Mar 17 15:05:51 EDT 2008
[ http://jira.jboss.com/jira/browse/JBMDR-12?page=all ]
Adrian Brock reopened JBMDR-12:
-------------------------------
> 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.Beta12
>
>
> 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