提交 3a6673c6 编写于 作者: L lmalvent

6714244: Plotters in MBeans tab should use SnapshotMBeanServerConnection too

Reviewed-by: jfdenise
上级 af4b6955
......@@ -157,7 +157,7 @@ public class XPlottingViewer extends PlotterPanel implements ActionListener {
public void run() {
try {
Number n =
(Number) xmbean.getMBeanServerConnection().getAttribute(xmbean.getObjectName(), attributeName);
(Number) xmbean.getSnapshotMBeanServerConnection().getAttribute(xmbean.getObjectName(), attributeName);
long v;
if (n instanceof Float || n instanceof Double) {
plotter.setDecimals(PLOTTER_DECIMALS);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册