[jboss-cvs] JBossAS SVN: r97712 - branches/JBPAPP_4_2_0_GA_CP/messaging/src/main/org/jboss/mq.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Dec 10 21:05:29 EST 2009
Author: jbertram at redhat.com
Date: 2009-12-10 21:05:29 -0500 (Thu, 10 Dec 2009)
New Revision: 97712
Modified:
branches/JBPAPP_4_2_0_GA_CP/messaging/src/main/org/jboss/mq/SpyMapMessage.java
Log:
[JBPAPP-3238]
Modified: branches/JBPAPP_4_2_0_GA_CP/messaging/src/main/org/jboss/mq/SpyMapMessage.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/messaging/src/main/org/jboss/mq/SpyMapMessage.java 2009-12-11 02:03:03 UTC (rev 97711)
+++ branches/JBPAPP_4_2_0_GA_CP/messaging/src/main/org/jboss/mq/SpyMapMessage.java 2009-12-11 02:05:29 UTC (rev 97712)
@@ -228,6 +228,8 @@
content.put(name, value);
else if (value instanceof byte[])
content.put(name, ((byte[]) value).clone());
+ else if (value == null && (!System.getProperty("mapMessage.support.null.object", "notexist").equals("notexist")))
+ content.put(name, value);
else
throw new MessageFormatException("Invalid object type.");
}
More information about the jboss-cvs-commits
mailing list