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] Updated: (HARMONY-6149) [classlib][lang-management] java.lang.management.MemoryNotificationInfo.from(CompositeData cd) should throw IllegalArgumentException if cd doesn't represent a MemoryNotificationInfo object
Date Tue, 14 Apr 2009 02:32:14 GMT

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

Kevin Zhou updated HARMONY-6149:
--------------------------------

    Attachment: HARMONY6149Test.java

Would you please try it?

> [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
>            Reporter: Kevin Zhou
>             Fix For: 5.0M9
>
>         Attachments: 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.


Mime
View raw message