You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Jesse Wilson (JIRA)" <ji...@apache.org> on 2009/12/09 02:02:18 UTC

[jira] Closed: (HARMONY-6396) Several null handling bugs in collections

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

Jesse Wilson closed HARMONY-6396.
---------------------------------

    Resolution: Fixed

Fixed with r888668

> Several null handling bugs in collections
> -----------------------------------------
>
>                 Key: HARMONY-6396
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6396
>             Project: Harmony
>          Issue Type: Bug
>          Components: JDK
>         Environment: SVN Revision: 882389
>            Reporter: Jesse Wilson
>            Assignee: Jesse Wilson
>         Attachments: Fixes_for_nullness_bugs_in_java_util.patch, Fixes_for_nullness_bugs_in_java_util_2.patch	
>
>
> I've attached a patch for various correctness issues in our collections:
>  - Maps with null values used to think they were equal to every other map with the same size.
>  - Map.equals() and Set.equals() didn't recover from NPEs in contains().
>  - singletonMap()'s entry didn't implement toString().
>  - TreeMaps with natural ordering permitted a null element, if it was the first element ever added.
>  - TreeSets didn't return the right status messages on add() and remove() when nulls were in play.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.