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

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

    [ https://issues.apache.org/jira/browse/COLLECTIONS-512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13965911#comment-13965911 ] 

Thomas Neidhart commented on COLLECTIONS-512:
---------------------------------------------

Fixed the issue with the TransformingComparator in r1586477.

> 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
>         Attachments: BugReport1.java, BugReport1_1.java
>
>
> 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)