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

Clarify equals/hashcode behavior for java.time types

    XMLWordPrintable

Details

    • 8
    • b122
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: