activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r366398 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/openwire/DataStreamMarshaller.java
Date Fri, 06 Jan 2006 03:05:02 GMT
Author: aco
Date: Thu Jan  5 19:04:54 2006
New Revision: 366398

URL: http://svn.apache.org/viewcvs?rev=366398&view=rev
Log:
Wrong size read causing hangup.

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/openwire/DataStreamMarshaller.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/openwire/DataStreamMarshaller.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/openwire/DataStreamMarshaller.java?rev=366398&r1=366397&r2=366398&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/openwire/DataStreamMarshaller.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/openwire/DataStreamMarshaller.java
Thu Jan  5 19:04:54 2006
@@ -175,7 +175,7 @@
                     }
                     o.setStackTrace(ss);
                 } else {
-                    int size = dataIn.readInt();
+                    short size = dataIn.readShort();
                     for (int i = 0; i < size; i++) {
                         readString(dataIn, bs);
                         readString(dataIn, bs); 



Mime
View raw message