# HG changeset patch # User thurka # Date 1216982422 -7200 # Node ID 2a9d890925bbe4c274fb538090bf439cbae2b1c3 # Parent 5c02031316bfa81e3c337a98e408cc07894e307e 6672135: setInterval() for local MonitoredHost and local MonitoredVm does not work Summary: super.setInterval() invoked with correct value Reviewed-by: swamyv diff -r 5c02031316bf -r 2a9d890925bb jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm.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(); diff -r 5c02031316bf -r 2a9d890925bb jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider.java --- 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();