You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Paulex Yang (JIRA)" <ji...@apache.org> on 2006/10/19 10:38:36 UTC

[jira] Closed: (HARMONY-1583) [classlib][luni] HashMap can not handle de-serialization of object with null key correctly

     [ http://issues.apache.org/jira/browse/HARMONY-1583?page=all ]

Paulex Yang closed HARMONY-1583.
--------------------------------


Verified by Robert.

> [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
>         Assigned To: Paulex Yang
>            Priority: Minor
>         Attachments: patch.diff
>
>
> 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