activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r588718 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/MarshallingSupport.java
Date Fri, 26 Oct 2007 17:32:20 GMT
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);
         }



Mime
View raw message