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:56:26 UTC

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

     [ https://issues.apache.org/jira/browse/PROTON-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bozo Dragojevic resolved PROTON-1016.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.11

> 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
>             Fix For: 0.11
>
>
> 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)