You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Cyrille Artho (JIRA)" <ji...@apache.org> on 2014/04/10 03:57:17 UTC

[jira] [Created] (COLLECTIONS-512) equals/hashCode mismatch

Cyrille Artho created COLLECTIONS-512:
-----------------------------------------

             Summary: equals/hashCode mismatch
                 Key: COLLECTIONS-512
                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-512
             Project: Commons Collections
          Issue Type: Bug
          Components: Collection, Comparator
    Affects Versions: 4.0
         Environment: Mac OS 10.9, Java 6 and Java 7
            Reporter: Cyrille Artho


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)