[
https://jira.jboss.org/jira/browse/JBREM-1184?page=com.atlassian.jira.plu...
]
Ron Sigal commented on JBREM-1184:
----------------------------------
Updated RemoteClassloaderTestCase to turn it into a real regression test.
The method System.setOut() is used to capture the log messages, which makes it possible to
verify that a NullPointerException doesn't get logged.
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