8008124: Better compliance testing
Better compliance testing Reviewed-by: dfuchs, jfdenise, skoivu, alanb
This commit is contained in:
parent
87a26efe0d
commit
f4069d1374
@ -253,6 +253,7 @@ public class Introspector {
|
|||||||
throws NotCompliantMBeanException {
|
throws NotCompliantMBeanException {
|
||||||
if (mbeanInterface == null)
|
if (mbeanInterface == null)
|
||||||
mbeanInterface = getStandardMBeanInterface(baseClass);
|
mbeanInterface = getStandardMBeanInterface(baseClass);
|
||||||
|
ReflectUtil.checkPackageAccess(mbeanInterface);
|
||||||
MBeanIntrospector<?> introspector = StandardMBeanIntrospector.getInstance();
|
MBeanIntrospector<?> introspector = StandardMBeanIntrospector.getInstance();
|
||||||
return getClassMBeanInfo(introspector, baseClass, mbeanInterface);
|
return getClassMBeanInfo(introspector, baseClass, mbeanInterface);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user