[jboss-remoting-commits] JBoss Remoting SVN: r3569 - remoting2/branches/2.x/src/main/org/jboss/remoting/transport/rmi.
jboss-remoting-commits at lists.jboss.org
jboss-remoting-commits at lists.jboss.org
Thu Mar 6 03:12:28 EST 2008
Author: ron.sigal at jboss.com
Date: 2008-03-06 03:12:28 -0500 (Thu, 06 Mar 2008)
New Revision: 3569
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/rmi/RMIClientInvoker.java
Log:
JBREM-764: Replaced call to Version.getDefaultVersion() with call to AbstractInvoker.getVersion().
Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/transport/rmi/RMIClientInvoker.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/transport/rmi/RMIClientInvoker.java 2008-03-06 08:11:46 UTC (rev 3568)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/transport/rmi/RMIClientInvoker.java 2008-03-06 08:12:28 UTC (rev 3569)
@@ -300,7 +300,7 @@
{
ByteArrayOutputStream byteOut = new ByteArrayOutputStream();
if (marshaller instanceof VersionedMarshaller)
- ((VersionedMarshaller) marshaller).write(payload, byteOut, Version.getDefaultVersion());
+ ((VersionedMarshaller) marshaller).write(payload, byteOut, getVersion());
else
marshaller.write(payload, byteOut);
ByteArrayInputStream byteIn = new ByteArrayInputStream(byteOut.toByteArray());
More information about the jboss-remoting-commits
mailing list