Hello,

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 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.

Thanks,

-Joe

Reply via email to