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
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/tru...
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