Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 302 invoked from network); 29 Sep 2006 03:17:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Sep 2006 03:17:01 -0000 Received: (qmail 5013 invoked by uid 500); 29 Sep 2006 03:17:01 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 4914 invoked by uid 500); 29 Sep 2006 03:17:01 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 4903 invoked by uid 99); 29 Sep 2006 03:17:01 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Sep 2006 20:17:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:60320] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id A2/E1-08095-C109C154 for ; Thu, 28 Sep 2006 20:16:44 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BE40E714208 for ; Fri, 29 Sep 2006 03:12:52 +0000 (GMT) Message-ID: <30904172.1159499572775.JavaMail.jira@brutus> Date: Thu, 28 Sep 2006 20:12:52 -0700 (PDT) From: "Paulex Yang (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Resolved: (HARMONY-1583) [classlib][luni] HashMap can not handle de-serialization of object with null key correctly In-Reply-To: <30940674.1159266890142.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-1583?page=all ] Paulex Yang resolved HARMONY-1583. ---------------------------------- Resolution: Fixed Robert, patch applied at revision r451099, thanks a lot for this enhancement, please verify that the problem is fully fixed as you expected. > [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 hm = new HashMap(); > 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