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 08:35:14 UTC
[jira] [Created] (PRIMITIVES-17) equals/hashCode mismatch
Cyrille Artho created PRIMITIVES-17:
---------------------------------------
Summary: equals/hashCode mismatch
Key: PRIMITIVES-17
URL: https://issues.apache.org/jira/browse/PRIMITIVES-17
Project: Commons Primitives
Issue Type: Bug
Affects Versions: 1.0
Environment: Mac OS 10.9 with Java 6 or 7
Reporter: Cyrille Artho
Two automatically generated tests that wrap singleton lists in different ways result in two lists being equal, but having a distinct hash code.
See the attached two JUnit tests. Both tests show a similar issue.
--
This message was sent by Atlassian JIRA
(v6.2#6252)