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/05/03 07:00:30 UTC
[jira] Commented: (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:comment-tabpanel&focusedCommentId=12705382#action_12705382 ]
Nathan Beyer commented on HARMONY-6149:
---------------------------------------
I've applied the second path at r771022. Please verify that it's as expected.
Thanks.
> [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.