< prev index next >

src/share/classes/sun/tools/jconsole/LocalVirtualMachine.java

Print this page
rev 1501 : 7017818: NLS: JConsoleResources.java cannot be handled by translation team
Reviewed-by: mchung, mfang

*** 37,47 **** import com.sun.tools.attach.AttachNotSupportedException; // 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; import sun.jvmstat.monitor.MonitorException; import sun.jvmstat.monitor.VmIdentifier; --- 37,46 ----
*** 129,139 **** return map; } private static void getMonitoredVMs(Map<Integer, LocalVirtualMachine> map) { MonitoredHost host; ! Set vms; try { host = MonitoredHost.getMonitoredHost(new HostIdentifier((String)null)); vms = host.activeVms(); } catch (java.net.URISyntaxException sx) { throw new InternalError(sx.getMessage()); --- 128,138 ---- return map; } private static void getMonitoredVMs(Map<Integer, LocalVirtualMachine> map) { MonitoredHost host; ! Set<Integer> vms; try { host = MonitoredHost.getMonitoredHost(new HostIdentifier((String)null)); vms = host.activeVms(); } catch (java.net.URISyntaxException sx) { throw new InternalError(sx.getMessage());
< prev index next >