]
Ron Sigal resolved JBREM-159.
-----------------------------
Resolution: Out of Date
Patch to enable JRockit 5.0 to work with JBoss Remoting
-------------------------------------------------------
Key: JBREM-159
URL:
https://issues.jboss.org/browse/JBREM-159
Project: JBoss Remoting
Issue Type: Patch
Components: general
Affects Versions: 2.2.2.GA
Reporter: Jeff Haynie
Priority: Minor
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.
-
For more information on JIRA, see: