harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Zhou <zhoukevi...@gmail.com>
Subject [classlib][lang-management] MemoryNotificationInfo.from(CompositeData cd) isn't consistent with Java Spec
Date Tue, 14 Apr 2009 02:31:15 GMT
Hi all,
For java.lang.management.MemoryNotificationInfo.from(CompositeData cd)
the Java Spec has specifies that the given CompositeData must contains the
following attributes:
poolName        java.lang.String
usage         javax.management.openmbean.CompositeData
count        java.lang.Long
Otherwise, it should throw an java.lang.IllegalArgumentException.

I have raised a JIRA [1] for this issue.
Also I attach a test case there which may help to understand this.

[1] https://issues.apache.org/jira/browse/HARMONY-6149

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message