提交 4a77202b 编写于 作者: J jbachorik

8008603: Improve provision of JMX providers

Reviewed-by: alanb, dfuchs, jfdenise, skoivu
上级 dba6a3ec
......@@ -542,14 +542,9 @@ public class JMXConnectorFactory {
}
}
if (loader == null)
loader = AccessController.doPrivileged(
new PrivilegedAction<ClassLoader>() {
public ClassLoader run() {
return
Thread.currentThread().getContextClassLoader();
}
});
if (loader == null) {
loader = Thread.currentThread().getContextClassLoader();
}
return loader;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册