harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Hu (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1583) [classlib][luni] HashMap can not handle de-serialization of object with null key correctly
Date Tue, 26 Sep 2006 10:34:50 GMT
[classlib][luni] HashMap can not handle de-serialization of object with null key correctly
------------------------------------------------------------------------------------------

                 Key: HARMONY-1583
                 URL: http://issues.apache.org/jira/browse/HARMONY-1583
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Robert Hu
            Priority: Minor


When a HashMap object has a null key, Harmony will fail in de-serialization.
Test Case:
       HashMap<String, String> hm = new HashMap<String, String>();
       hm.put(null, "null");
        SerializationTest.verifySelf(hm);

RI: pass
Harmony: java.lang.NullPointerException thrown.

I'll upload a patch for it.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message