6714244: Plotters in MBeans tab should use SnapshotMBeanServerConnection too
Reviewed-by: jfdenise
This commit is contained in:
parent
0c259336ec
commit
0557c0b500
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user