You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Nathan Beyer (JIRA)" <ji...@apache.org> on 2009/04/24 04:55:30 UTC

[jira] Resolved: (HARMONY-6148) [classlib][lang-management] java.lang.management.MemoryNotificationInfo.from(CompositeData cd) should return null if the argument is null

     [ https://issues.apache.org/jira/browse/HARMONY-6148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Beyer resolved HARMONY-6148.
-----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 5.0M9)
                   5.0M10

A modified patch was applied at r768133. Please verify.

> [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
>            Assignee: Nathan Beyer
>             Fix For: 5.0M10
>
>         Attachments: HARMONY-6148.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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.