[
https://jira.jboss.org/jira/browse/JBREM-802?page=com.atlassian.jira.plug...
]
David Lloyd commented on JBREM-802:
-----------------------------------
Actually this is probably better done as:
classSig[x] = Class.forName(sig[x], true, targetPOJO.getClass().getClassLoader());
(if that is in fact the proper classloader to use)
TransporterHandler should not use Class.forName
-----------------------------------------------
Key: JBREM-802
URL:
https://jira.jboss.org/jira/browse/JBREM-802
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: transporter
Affects Versions: 2.2.2.GA, 2.4.0.Beta1 (Pinto)
Reporter: Julien Viet
Fix For: 2.4.1.Beta
line:
classSig[x] = Class.forName(sig[x]);
should probably be replaced by
classSig[x] = targetPOJO.getClass().getClassLoader().loadClass(sig[x]);
to provide a correct class lookup
--
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