Message10172

Author kaneg
Recipients alex.gronholm, kaneg
Date 2015-08-02.07:03:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1438499019.5.0.381989684441.issue2382@psf.upfronthosting.co.za>
In-reply-to
Content
As you said the BigInteger is indeed not the first Java Class that isn't compatible with Java, such as Float, Long and Short have the same issue.
Anyway, we will accept the reality if it is a feature to exchange data between Python and Java. 

Fortunately, I found a workaround to create a real BigInteger:
b1 = BigInteger.valueOf(9999) #Failed case, the result will be a long
b2 = BigInteger(str(9999))    #Success case, the result will be a BigInteger

I will downgrade the issue to minor. It can also be closed if someone thinks it is OK to accept the current behavior.
History
Date User Action Args
2015-08-02 07:03:39kanegsetmessageid: <1438499019.5.0.381989684441.issue2382@psf.upfronthosting.co.za>
2015-08-02 07:03:39kanegsetrecipients: + kaneg, alex.gronholm
2015-08-02 07:03:39kaneglinkissue2382 messages
2015-08-02 07:03:38kanegcreate