harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Zhou (JIRA)" <j...@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
Date Mon, 13 Apr 2009 08:35:14 GMT
[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.


Mime
View raw message