[jboss-jira] [JBoss JIRA] Created: (JBREM-802) TransporterHandler should not use Class.forName

Julien Viet (JIRA) jira-events at lists.jboss.org
Sun Sep 9 20:05:14 EDT 2007


TransporterHandler should not use Class.forName
-----------------------------------------------

                 Key: JBREM-802
                 URL: http://jira.jboss.com/jira/browse/JBREM-802
             Project: JBoss Remoting
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: transporter
    Affects Versions: 2.2.1.GA, 2.2.0.SP4
            Reporter: Julien Viet


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: 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