[jboss-remoting-issues] [JBoss JIRA] (JBREM-802) TransporterHandler should not use Class.forName
Ron Sigal (Closed) (JIRA)
jira-events at lists.jboss.org
Mon Nov 21 19:32:41 EST 2011
[ https://issues.jboss.org/browse/JBREM-802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ron Sigal closed JBREM-802.
---------------------------
Resolution: Rejected
> TransporterHandler should not use Class.forName
> -----------------------------------------------
>
> Key: JBREM-802
> URL: https://issues.jboss.org/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: julien1
> Fix For: 2.5.3.Beta (Flounder)
>
>
> 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, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-remoting-issues
mailing list