Review Request for 7024172 "Move platform MXBeans to java.lang.management"
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,
>> 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
> Otherwise thumbs up from me.
More information about the core-libs-dev