Author: ron.sigal(a)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());