You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/10/08 17:55:26 UTC
[jira] [Commented] (PROTON-1016) Jython implements long with a
BigInteger
[ https://issues.apache.org/jira/browse/PROTON-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14948893#comment-14948893 ]
ASF subversion and git services commented on PROTON-1016:
---------------------------------------------------------
Commit 6091e9e2c57d2dd94cfb5b87d61ca354ce84362e in qpid-proton's branch refs/heads/master from [~bozzo]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=6091e9e ]
PROTON-1016: Support for encoding of java.math.BigInteger
> 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)