[jboss-remoting-issues] [JBoss JIRA] Closed: (JBREM-1184) Fix NPE in ClassByteClassLoader.addClass()

Ron Sigal (JIRA) jira-events at lists.jboss.org
Fri Feb 19 11:00:10 EST 2010


     [ https://jira.jboss.org/jira/browse/JBREM-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Sigal closed JBREM-1184.
----------------------------

    Resolution: Done


Tests passing in hudson.

> Fix NPE in ClassByteClassLoader.addClass()
> ------------------------------------------
>
>                 Key: JBREM-1184
>                 URL: https://jira.jboss.org/jira/browse/JBREM-1184
>             Project: JBoss Remoting
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.2.3.SP1, 2.5.2.SP2 (Flounder)
>            Reporter: Ron Sigal
>            Assignee: Ron Sigal
>             Fix For: 2.2.3.SP2, 2.5.2.SP3 (Flounder)
>
>
> When org.jboss.remoting.marshal.MarshallerLoaderHandler gets a request for a class, it returns an instance of org.jboss.remoting.loading.ClassBytes.  If MarshallerLoaderHandler isn't able to find the desired class, then the returned ClassBytes object has null value for the class byte array.  However, org.jboss.remoting.loading.ClassByteClassLoader doesn't check for the possibility of a null byte array.

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

        


More information about the jboss-remoting-issues mailing list