You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Bozo Dragojevic (JIRA)" <ji...@apache.org> on 2015/10/08 17:13:26 UTC

[jira] [Created] (PROTON-1016) Jython implements long with a BigInteger

Bozo Dragojevic created PROTON-1016:
---------------------------------------

             Summary: Jython implements long with a BigInteger
                 Key: PROTON-1016
                 URL: https://issues.apache.org/jira/browse/PROTON-1016
             Project: Qpid Proton
          Issue Type: Improvement
          Components: proton-j
            Reporter: Bozo Dragojevic
            Assignee: Bozo Dragojevic


If a java handler passes a HashMap<String,Object> to python which puts a long into the map such map cannot be encoded in java since jython does not coerce BigInteger to a Long in this case.

Add support for encoding of BigInteger in the range [Long.MIN_VALUE, Long.MAX_VALUE] to a LONG amqp type, decoding is not needed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)