Uploaded image for project: 'Commons Collections'
  1. Commons Collections
  2. COLLECTIONS-512

equals/hashCode mismatch

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0
    • 4.1
    • Collection, Comparator
    • None
    • Mac OS 10.9, Java 6 and Java 7

    Description

      We used Randoop on the collection classes, which found several test cases where two objects are equal but their hash code differs.

      I will attach a file containing two test cases that are different; the other tests seem to be longer versions showing the same issue.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            Telcontar Cyrille Artho
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment