commit | 91d24f87092beb54562cf664c9000a81f9cfff28 | [log] [tgz] |
---|---|---|
author | bpb <none@none> | Wed Oct 30 17:45:12 2013 -0700 |
committer | bpb <none@none> | Wed Oct 30 17:45:12 2013 -0700 |
tree | ea5319fc44bdd1194ce8d9dd3e243b05eb662f09 | |
parent | 44b02c7fcc7af902e80985db67e22b2810a0dc8c [diff] |
6910473: java.math.BigInteger.bitLength() may return negative "int" on large numbers 8021203: BigInteger.doubleValue/floatValue returns 0.0 instead of Infinity 8021204: Constructor BigInteger(String val, int radix) doesn't detect overflow 8022780: Incorrect BigInteger division because of MutableBigInteger.bitLength() overflow Summary: Prevent construction of overflowed BigIntegers. Reviewed-by: bpb, darcy, psandoz Contributed-by: Dmitry Nadezhin <dmitry.nadezhin@oracle.com>