Hi Eamonn,
Sorry for the late review. Here is my feedback:
com/sun/jmx/mbeanserver/Introspector.java
getStandardMBeanInterface()
can now also return a class (not necessarily an interface).
Maybe the method javadoc could say so.
addDescriptorFieldsToMap(), addAnnotationFieldsToMap():
I think I understand the logic there, but if I ever have to
fix something in this code I'll be very grateful to find a comment
with an example of annotated class and an explanation of what each
of these methods looks for in the annotated class.
test/javax/management/Introspector/AnnotatedMBeanTest.java
This test could also check that Impact=UNKNOWN by default, and
add an @ManagedOperation method where Impact is set to
something else.
-- daniel
http://blogs.sun.com/jmxetcEamonn McManus wrote: