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:59:15 UTC
[jira] [Updated] (COLLECTIONS-512) equals/hashCode mismatch
[ https://issues.apache.org/jira/browse/COLLECTIONS-512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cyrille Artho updated COLLECTIONS-512:
--------------------------------------
Attachment: BugReport1.java
This file contains two unit tests (for JUnit) to reproduce the problems.
> 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
>
>
> 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)