You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2007/10/26 19:32:20 UTC
svn commit: r588718 -
/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/MarshallingSupport.java
Author: chirino
Date: Fri Oct 26 10:32:19 2007
New Revision: 588718
URL: http://svn.apache.org/viewvc?rev=588718&view=rev
Log:
MarshallingSupport.unmarshalPrimitive is throwing "Unknown primitive type: 0" when nested map contains a null
Modified:
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/MarshallingSupport.java
Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/MarshallingSupport.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/MarshallingSupport.java?rev=588718&r1=588717&r2=588718&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/MarshallingSupport.java (original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/MarshallingSupport.java Fri Oct 26 10:32:19 2007
@@ -192,6 +192,9 @@
case LIST_TYPE:
value = unmarshalPrimitiveList(in);
break;
+ case NULL:
+ value = null;
+ break;
default:
throw new IOException("Unknown primitive type: " + type);
}