[ https://issues.apache.org/jira/browse/HARMONY-6148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Zhou updated HARMONY-6148: -------------------------------- Attachment: HARMONY-6148.diff Would you please try it? > [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 > > 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.