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

java.text.DecimalFormat equals and hashcode methods are under specified

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None

      Description

      The javadoc for java.text.DecimalFormat .equals says only "Overrides equals".
      The hashcode method says only "Overrides hashcode".
      The implementation does compare a number of fields.

        Attachments

          Activity

            People

            • Assignee:
              naoto Naoto Sato
              Reporter:
              rriggs Roger Riggs
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: