harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Wilson (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6396) Several null handling bugs in collections
Date Tue, 01 Dec 2009 01:07:21 GMT
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

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
 - 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.

View raw message