Hi Joe, On Apr 30, 2016, at 8:24 PM, joe darcy <joe.da...@oracle.com> wrote:
> Please review the changes to address > > JDK-4943627 Deprecate rounding mode integer constants in BigDecimal and > their uses > > http://cr.openjdk.java.net/~darcy/4943627.0/ > > Since JDK 5, the java.math package has had a RoundMode s/RoundMode/RoundingMode/ Also the more recent copyright year is not updated in RoundingMode.java. > enum to model and manage the various rounding modes used by methods in > BigDecimal (and elsewhere). Those rounding modes enum constants were added in > parallel to a set of integer constants in BigDecimal previously used to model > rounding modes. For each BigDecimal method which took an int rounding mode > constant, a sibling method was added to take a RoundMode object. > > As the synopsis of the bug implies, the time has come to deprecate the legacy > int rounding mode constants and the method taking those ints as arguments. Godspeed, legacy constants. +1 Brian