jdk/src/share/classes/sun/tools/jconsole/LocalVirtualMachine.java
changeset 12851 3334e1c781d0
parent 10419 12c063b39232
child 14342 8435a30053c1
--- a/jdk/src/share/classes/sun/tools/jconsole/LocalVirtualMachine.java	Fri May 25 14:32:07 2012 +0800
+++ b/jdk/src/share/classes/sun/tools/jconsole/LocalVirtualMachine.java	Fri May 25 12:24:57 2012 +0200
@@ -39,7 +39,6 @@
 // Sun private
 import sun.management.ConnectorAddressLink;
 import sun.jvmstat.monitor.HostIdentifier;
-import sun.jvmstat.monitor.Monitor;
 import sun.jvmstat.monitor.MonitoredHost;
 import sun.jvmstat.monitor.MonitoredVm;
 import sun.jvmstat.monitor.MonitoredVmUtil;
@@ -131,7 +130,7 @@
 
     private static void getMonitoredVMs(Map<Integer, LocalVirtualMachine> map) {
         MonitoredHost host;
-        Set vms;
+        Set<Integer> vms;
         try {
             host = MonitoredHost.getMonitoredHost(new HostIdentifier((String)null));
             vms = host.activeVms();