mattrpav commented on code in PR #2136:
URL: https://github.com/apache/activemq/pull/2136#discussion_r3453950720


##########
activemq-client/src/main/java/org/apache/activemq/util/MarshallingSupport.java:
##########
@@ -67,7 +70,7 @@ public static void marshalPrimitiveMap(Map<String, Object> 
map, DataOutputStream
     }
 
     public static Map<String, Object> unmarshalPrimitiveMap(DataInputStream 
in) throws IOException {
-        return unmarshalPrimitiveMap(in, Integer.MAX_VALUE, Integer.MAX_VALUE, 
Integer.MAX_VALUE);
+        return unmarshalPrimitiveMap(in, Integer.MAX_VALUE, Integer.MAX_VALUE, 
Byte.MAX_VALUE);

Review Comment:
   Does this limit properties to 127 (aka Byte.MAX_VALUE). Clarity on this 
impact could lead to the need to have this be a configurable option v static 
limit



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to