commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno P. Kinoshita (JIRA)" <>
Subject [jira] [Commented] (COLLECTIONS-660) Uncomment test in AbstractMapTest regarding LRUMap equals
Date Wed, 04 Oct 2017 04:41:00 GMT


Bruno P. Kinoshita commented on COLLECTIONS-660:

Due to the order of the arguments of the assertEquals, we were calling TreeMap#equals, which
would create a normal iterator instead of calling mapIterator().

> Uncomment test in AbstractMapTest regarding LRUMap equals
> ---------------------------------------------------------
>                 Key: COLLECTIONS-660
>                 URL:
>             Project: Commons Collections
>          Issue Type: Bug
>          Components: Map
>    Affects Versions: 4.1
>            Reporter: Bruno P. Kinoshita
>            Assignee: Bruno P. Kinoshita
>            Priority: Minor
>             Fix For: 4.2
> AbstractMapTest has a [commented out|]
line, with a comment as follows:
> {quote}his fails for LRUMap because confirmed.equals() somehow modifies map, causing
concurrent modification exceptions.{quote}
> While working on another test failing on Windows, I believe I've found the why for that
comment, and how to fix it. Just need to finish debugging another part, and find a good Internet
connection to push the fix.

This message was sent by Atlassian JIRA

View raw message