commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (COLLECTIONS-512) equals/hashCode mismatch
Date Fri, 27 Nov 2015 21:12:13 GMT

     [ https://issues.apache.org/jira/browse/COLLECTIONS-512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Neidhart closed COLLECTIONS-512.
---------------------------------------

> 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
>             Fix For: 4.1
>
>         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.3.4#6332)

Mime
View raw message