Review Request for 7024172 "Move platform MXBeans to java.lang.management"
Alan Bateman
Alan.Bateman at oracle.com
Tue Mar 29 04:26:05 UTC 2011
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".
Otherwise thumbs up from me.
-Alan.
More information about the core-libs-dev
mailing list