Java 8 RFR 6378503: In java.math.BigDecimal, division by one returns zero
joe.darcy at oracle.com
Thu Jul 25 04:01:45 UTC 2013
I took a look through the code and I don't see how sdiff ==
Integer.MIN_VALUE is handled.
In any case, as long as the runtimes and memory usage are tractable, the
set of test cases should be augmented to include sdiff ==
Integer.MIN_VALUE and (long)Integer.MIN_VALUE + 1, etc.
On 7/24/2013 5:21 PM, Brian Burkhalter wrote:
> JDK 8 Reviewers:
> This review request concerns the issue
> for which the proposed webrev is
> The fix consists in preventing overflowing the int type in certain places. The added test case is equivalent to the one described in the issue report insofar as I can tell but is much less computationally expensive.
> Note that this patch follows that for 8020641 (approved ) which follows that for 8014319 (pending ).
>  http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-July/019017.html
>  http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-July/018922.html
More information about the core-libs-dev