--- a/jdk/src/share/classes/sun/tools/jconsole/inspector/XPlottingViewer.java Thu Jun 12 13:18:01 2008 -0700
+++ b/jdk/src/share/classes/sun/tools/jconsole/inspector/XPlottingViewer.java Fri Jun 13 12:16:01 2008 -0700
@@ -157,7 +157,7 @@
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);