[
http://jira.jboss.com/jira/browse/JBREM-159?page=all ]
Ron Sigal updated JBREM-159:
----------------------------
Fix Version/s: 2.4.0.Beta1 (Pinto)
Affects Version/s: 2.2.2.GA
Assignee: (was: Tom Elrod)
Don't know if this problem still exists, but changing fix version to 2.4 in case it
does.
Patch to enable JRockit 5.0 to work with JBoss Remoting
-------------------------------------------------------
Key: JBREM-159
URL:
http://jira.jboss.com/jira/browse/JBREM-159
Project: JBoss Remoting
Issue Type: Patch
Components: general
Affects Versions: 2.2.2.GA
Reporter: Jeff Haynie
Priority: Minor
Fix For: 2.4.0.Beta1 (Pinto)
org.jboss.remoting.detection.multicast.MulticaseDetector$Listener.run, changed:
try
{
listen(p, buf);
}
catch (Exception ex)
to:
try
{
listen(p, buf);
p.setLength(buf.length);
}
catch (Exception ex)
org.jboss.remoting.loading.ClassUtil.serialize, changed body of the method from:
java.io.ByteArrayOutputStream bos=new java.io.ByteArrayOutputStream();
java.io.ObjectOutputStream oos=new java.io.ObjectOutputStream(bos);
oos.writeObject(obj);
oos.flush();
bos.flush();
byte buf[]=bos.toByteArray();
bos=null;
oos=null;
return buf;
to:
java.io.ByteArrayOutputStream bos=new java.io.ByteArrayOutputStream();
java.io.ObjectOutputStream oos=new java.io.ObjectOutputStream(bos);
oos.writeObject(obj);
oos.flush();
bos.flush();
oos.close();
bos.close();
byte buf[]=bos.toByteArray();
bos=null;
oos=null;
return buf;
--
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