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

Clarify equals/hashcode behavior for java.time types

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      8
    • Resolved In Build:
      b122
    • Verification:
      Verified

      Backports

        Description

        The concrete calendars in java.time.chrono fail to specify the details of equals and hashcode.
        The value-based type of java.time should reinforce that comparison using equals should be used and not reference equality (==).

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                rriggs Roger Riggs
                Reporter:
                rriggs Roger Riggs
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: