[jboss-remoting-commits] JBoss Remoting SVN: r6140 - remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/remote.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Fri Nov 12 17:07:52 EST 2010


Author: ron.sigal at jboss.com
Date: 2010-11-12 17:07:51 -0500 (Fri, 12 Nov 2010)
New Revision: 6140

Modified:
   remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/remote/PrimaryExternalizerFactory.java
Log:
JBREM-1253: Added ok = true to ObjectSourceExternalizer.createExternal() and ObjectSinkExternalizer.createExternal()l

Modified: remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/remote/PrimaryExternalizerFactory.java
===================================================================
--- remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/remote/PrimaryExternalizerFactory.java	2010-11-12 17:57:08 UTC (rev 6139)
+++ remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/remote/PrimaryExternalizerFactory.java	2010-11-12 22:07:51 UTC (rev 6140)
@@ -162,6 +162,7 @@
             final Unmarshaller unmarshaller = connectionHandler.getMarshallerFactory().createUnmarshaller(connectionHandler.getMarshallingConfiguration());
             try {
                 unmarshaller.start(readInboundStream(input.readInt()));
+                ok = true;
                 return new UnmarshallerObjectSource(unmarshaller);
             } finally {
                 if (! ok) {
@@ -182,6 +183,7 @@
             final Marshaller marshaller = connectionHandler.getMarshallerFactory().createMarshaller(connectionHandler.getMarshallingConfiguration());
             try {
                 marshaller.start(readOutboundStream(input.readInt()));
+                ok = true;
                 return new MarshallerObjectSink(marshaller);
             } finally {
                 if (! ok) {



More information about the jboss-remoting-commits mailing list