changeset 440:7b7d051e3b96

6672135: setInterval() for local MonitoredHost and local MonitoredVm does not work Summary: super.setInterval() invoked with correct value Reviewed-by: swamyv
author thurka
date Fri, 25 Jul 2008 12:40:22 +0200
parents d01e7cae7b3e
children 541631112989
files src/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm.java src/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm.java	Thu Jul 24 14:03:16 2008 -0700
+++ b/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm.java	Fri Jul 25 12:40:22 2008 +0200
@@ -124,7 +124,7 @@
             }
 
             int oldInterval = interval;
-            super.setInterval(interval);
+            super.setInterval(newInterval);
 
             if (task != null) {
                 task.cancel();
--- a/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider.java	Thu Jul 24 14:03:16 2008 -0700
+++ b/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider.java	Fri Jul 25 12:40:22 2008 +0200
@@ -130,7 +130,7 @@
             }
 
             int oldInterval = interval;
-            super.setInterval(interval);
+            super.setInterval(newInterval);
 
             if (task != null) {
                 task.cancel();