8008124: Better compliance testing

Better compliance testing

Reviewed-by: dfuchs, jfdenise, skoivu, alanb
This commit is contained in:
Dmitry Samersoff 2013-03-31 23:47:55 +04:00
parent 87a26efe0d
commit f4069d1374

View File

@ -253,6 +253,7 @@ public class Introspector {
throws NotCompliantMBeanException {
if (mbeanInterface == null)
mbeanInterface = getStandardMBeanInterface(baseClass);
ReflectUtil.checkPackageAccess(mbeanInterface);
MBeanIntrospector<?> introspector = StandardMBeanIntrospector.getInstance();
return getClassMBeanInfo(introspector, baseClass, mbeanInterface);
}