[
http://jira.jboss.com/jira/browse/JBESB-466?page=comments#action_12360805 ]
Daniel Bevenius commented on JBESB-466:
---------------------------------------
I noticed that the method resolveComposerClass (line 274) in JmsGatewayListener still uses
Class.forName(). Is this intentional or should it be using ClassUtil.forName?
Incorrect classloading using Class.forName
------------------------------------------
Key: JBESB-466
URL:
http://jira.jboss.com/jira/browse/JBESB-466
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.0
Reporter: Kevin Conner
Assigned To: Kevin Conner
Fix For: 4.2 Milestone Release 1
Class.forName is used throughout the codebase but this does not work correctly when used
in app servers etc. Classes (and resources) should be looked using the thread context
classloader before anything else.
--
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