Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8261862

Expand discussion of rationale for BigDecimal equals/compareTo semantics

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b13

      Description

      Unlike most core JDK classes, BigDecimal has a natural order that is *in*consistent with equals. While this is a justifiable design decision, the rationale for this decision could be expanded.

      Follow-up to review comments on JDK-8261123.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              darcy Joe Darcy
              Reporter:
              darcy Joe Darcy
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: