6672135: setInterval() for local MonitoredHost and local MonitoredVm does not work
authorthurka
Fri, 25 Jul 2008 12:40:22 +0200
changeset 897 2a9d890925bb
parent 896 5c02031316bf
child 898 1c4e95595472
6672135: setInterval() for local MonitoredHost and local MonitoredVm does not work Summary: super.setInterval() invoked with correct value Reviewed-by: swamyv
jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm.java
jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider.java
--- a/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm.java	Thu Jul 24 14:03:16 2008 -0700
+++ b/jdk/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/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider.java	Thu Jul 24 14:03:16 2008 -0700
+++ b/jdk/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();