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

Ron Sigal (JIRA) jira-events at lists.jboss.org
Sat Sep 15 02:15:11 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBREM-802?page=all ]

Ron Sigal updated JBREM-802:
----------------------------

        Fix Version/s: 2.4.0.Beta1 (Pinto)
    Affects Version/s: 2.2.2.GA
                       2.4.0.Beta1 (Pinto)
                           (was: 2.2.0.SP4)
                           (was: 2.2.1.GA)

> 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.4.0.Beta1 (Pinto), 2.2.2.GA
>            Reporter: Julien Viet
>             Fix For: 2.4.0.Beta1 (Pinto)
>
>
> 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