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

Ron Sigal (JIRA) jira-events at lists.jboss.org
Mon Feb 8 18:52:19 EST 2010


    [ https://jira.jboss.org/jira/browse/JBREM-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12511140#action_12511140 ] 

Ron Sigal commented on JBREM-1184:
----------------------------------

>From Jimmy Wilson:

"Does the fix log something debug, info, or warn wise that indicates a class load failed?  I can think of other conditions where we'd want to know this..."

> 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