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] Created: (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:24:15 GMT
[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


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