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

[jira] Closed: (HARMONY-6149) [classlib][lang-management] java.lang.management.MemoryNotificationInfo.from(CompositeData cd) should throw IllegalArgumentException if cd doesn't represent a MemoryNotificationInfo object

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

Kevin Zhou closed HARMONY-6149.
-------------------------------


Thanks, Nathan.

> [classlib][lang-management] java.lang.management.MemoryNotificationInfo.from(CompositeData cd) should throw IllegalArgumentException if cd doesn't represent a MemoryNotificationInfo object
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6149
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6149
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M8, 5.0M9
>            Reporter: Kevin Zhou
>            Assignee: Nathan Beyer
>             Fix For: 5.0M10
>
>         Attachments: HARMONY-6149.diff, HARMONY-6149v2.diff, HARMONY6149Test.java
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> For java.lang.management.MemoryNotificationInfo.from(CompositeData cd) method, the Java Spec has specifies that the given CompositeData must contains the following attributes:
> ATTRIBUTE_NAME	TYPE
> poolName	java.lang.String
> usage	javax.management.openmbean.CompositeData
> count 	java.lang.Long
> Otherwise, it should throw an java.lang.IllegalArgumentException.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.