6378503: In java.math.BigDecimal, division by one returns zero
6446965: Using BigDecimal.divideToIntegralValue with extreme scales can lead to an incorrect result
Summary: Fix overflow of ints and ensure appropriate values passed to checkScaleNonZero()
Reviewed-by: darcy, martin
Contributed-by: Brian Burkhalter <brian.burkhalter@oracle.com>
README:
This file should be located at the top of the Mercurial repository.
See http://openjdk.java.net/ for more information about the OpenJDK.
See ../README-builds.html for complete details on build machine requirements.
Simple Build Instructions:
This repository can be loaded as a NetBeans project, built with ant, or
built with GNU make, e.g.
ant
-OR-
cd make && gnumake
The built files that will be imported into the jdk build will be in the
"dist" directory.
Help information is available by running "ant -projecthelp" or "make help".