Review Request for 7024172 "Move platform MXBeans to java.lang.management"
Mandy Chung
mandy.chung at oracle.com
Tue Mar 29 05:12:50 UTC 2011
On 3/28/11 9:26 PM, Alan Bateman wrote:
> Mandy Chung wrote:
>
>> :
>>
>> This LoggingMXBean is needed to create a compliant MXBean; otherwise,
>> if PlatformLoggingImpl implements PlatformLoggingMXBean and
>> j.u.logging.LoggingMXBean directly, MBeanServer will throw a
>> NonCompliantMBeanException. As specified in the MXBean,
>>
>> http://download.oracle.com/javase/6/docs/api/javax/management/MXBean.html#mxbean-def
>>
>>
>> If an object implements two MXBean interfaces, it is a non-compliant
>> MXBean or it extends StandardMBean.
>>
>> I added the comment to explain this.
> Thanks, this wasn't obvious so the comment helps. Minor typo is that
> it reads "it is a non-complaint MXBean MBeanServer will throw
> NotCompliantMBeanException".
Fixed.
>
> Otherwise thumbs up from me.
Thanks
Mandy
More information about the core-libs-dev
mailing list