JDK-4943627 : Deprecate rounding mode integer constants in BigDecimal and their uses
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.math
  • Affected Version: 6
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-10-24
  • Updated: 2017-05-16
  • Resolved: 2016-05-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b118Fixed
Related Reports
CSR :  
Relates :  
Relates :  
Description
Jsr13 added a RoundingMode enum to group information about the variety of rounding modes supported by BigDecimal arithmetic operations.  This was to replace use of the "integer as enum" set of integer rounding mode constants in BigDecimal.  Therefore, use of the integer constants should be deprecated.

Comments
This issue should be reexamined in the context of a more general JDK deprecation policy.
13-01-2015

If the old rounding mode constants do not meet the standards for deprecation, and there is no hope of the genesis of an annotation appropriate to the intent of denigration, then this issue should be resolved as "will not fix." Otherwise an issue enhancement request for an appropriate language feature should be filed with the current issue linked as a dependency. Another consideration would be to define the constants in BigDecimal in terms of the enumeration in RoundingMode instead of the converse as is presently the case.
19-02-2014

EVALUATION The old integer rounding mode constants should not be used, but are not in and of themselves harmful; therefore, they do not meet the current standards for being deprecated. However, if a "denigration" facility is added, these constants should be considered.
27-09-2005

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang
14-06-2004

EVALUATION A fine idea. ###@###.### 2003-10-24
24-10-2003