[
https://issues.apache.org/jira/browse/COLLECTIONS-661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16190118#comment-16190118
]
Gary Gregory commented on COLLECTIONS-661:
------------------------------------------
Could this be related to this note in {{Object.hashCode(Object)}}:
{code:java}
* <li>It is <em>not</em> required that if two objects are unequal
* according to the {@link java.lang.Object#equals(java.lang.Object)}
* method, then calling the {@code hashCode} method on each of the
* two objects must produce distinct integer results. However, the
* programmer should be aware that producing distinct integer results
* for unequal objects may improve the performance of hash tables.
{code}
> Intermittent test failures in Windows for HashSetValuedHashMap
> --------------------------------------------------------------
>
> Key: COLLECTIONS-661
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-661
> Project: Commons Collections
> Issue Type: Bug
> Components: Map
> Affects Versions: 4.1
> Reporter: Bruno P. Kinoshita
> Assignee: Bruno P. Kinoshita
> Fix For: 4.2
>
>
> The collection HashSetValuedHashMap was added in 4.1. On Windows, test
> failures are not so common on JVM 8. But on Linux they are harder to happen
> (but still do [1], [2]).
> When using Windows and JVM 8, running tests on Eclipse, or Maven fail. But
> debugging on Windows with Eclipse sometimes work. Indicating it may be due to
> a concurrency issue, where debugging adds some extra time hiding the real
> issue.
> I have a few ideas of where/why it could be happening, but am without a
> Windows box for a few days as I'm travelling. I'm reading the codebase in the
> meantime, but if anybody feels like working on it, feel free to chime in and
> suggest a fix/patch.
> [1] https://travis-ci.org/apache/commons-collections/jobs/282169803
> [2] http://markmail.org/thread/exwm7ggjtxzbtlkd
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)