Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 3702 invoked from network); 13 Apr 2009 08:35:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Apr 2009 08:35:38 -0000 Received: (qmail 59271 invoked by uid 500); 13 Apr 2009 08:35:38 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 59241 invoked by uid 500); 13 Apr 2009 08:35:38 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 59201 invoked by uid 99); 13 Apr 2009 08:35:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Apr 2009 08:35:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Apr 2009 08:35:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E3D8E234C04B for ; Mon, 13 Apr 2009 01:35:14 -0700 (PDT) Message-ID: <781696857.1239611714932.JavaMail.jira@brutus> Date: Mon, 13 Apr 2009 01:35:14 -0700 (PDT) From: "Kevin Zhou (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-6148) [classlib][lang-management] java.lang.management.MemoryNotificationInfo.from(CompositeData cd) should return null if the argument is null MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [classlib][lang-management] java.lang.management.MemoryNotificationInfo.from(CompositeData cd) should return null if the argument is null ----------------------------------------------------------------------------------------------------------------------------------------- Key: HARMONY-6148 URL: https://issues.apache.org/jira/browse/HARMONY-6148 Project: Harmony Issue Type: Bug Components: Classlib Affects Versions: 5.0M8 Reporter: Kevin Zhou Fix For: 5.0M9 Given a test case [1], RI passes while HY fails. The Java Spec specifies that it should return a MemoryNotificationInfo object represented by cd if cd is not null; otherwise return null. [1] Test Case: public void test_from_NullCompositeData() { assertNull(MemoryNotificationInfo.from(null)); } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.