[
http://issues.apache.org/jira/browse/HARMONY-37?page=comments#action_12363586 ]
Vladimir Strigun commented on HARMONY-37:
-
Tim, thanks for the fix. Everything works fine.
> remove() method of IdentityHashMap works incorrectly
> ---
[
http://issues.apache.org/jira/browse/HARMONY-37?page=comments#action_12363468 ]
Vladimir Strigun commented on HARMONY-37:
-
Ya, I've already found it. I'll update test and try to update the fix :)
> remove() method of IdentityHashMap works incorrec
[
http://issues.apache.org/jira/browse/HARMONY-37?page=comments#action_12363462 ]
Tim Ellison commented on HARMONY-37:
Vladimir,
Good test -- thanks. ... and it's worse than that, the IdentityHashMap does
not deal with 'null' keys and values properly.
[
http://issues.apache.org/jira/browse/HARMONY-37?page=comments#action_12363414 ]
Vladimir Strigun commented on HARMONY-37:
-
To fix it, we just need to check wheather this key exist in hashmap (i.e check
that key is not null and key exist in element
[
http://issues.apache.org/jira/browse/HARMONY-37?page=comments#action_12363416 ]
Vladimir Strigun commented on HARMONY-37:
-
I'll attach regression test for this bug. Here is diff for
/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/