From d265b3138505b06bebdb6b2655358ad3f810ff41 Mon Sep 17 00:00:00 2001 From: "Adrian T. Co" Date: Fri, 6 Jan 2006 03:04:54 +0000 Subject: [PATCH] Wrong size read causing hangup. git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366398 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/activemq/openwire/DataStreamMarshaller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/openwire/DataStreamMarshaller.java b/activemq-core/src/main/java/org/apache/activemq/openwire/DataStreamMarshaller.java index 1fc0ed0e9d..180269d035 100755 --- a/activemq-core/src/main/java/org/apache/activemq/openwire/DataStreamMarshaller.java +++ b/activemq-core/src/main/java/org/apache/activemq/openwire/DataStreamMarshaller.java @@ -175,7 +175,7 @@ abstract public class DataStreamMarshaller { } 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);