jdk/src/share/classes/sun/tools/jstatd/RemoteHostImpl.java
changeset 25522 10d789df41bb
parent 24969 afa6934dd8e8
equal deleted inserted replaced
25521:80551dd1d902 25522:10d789df41bb
    60         monitoredHost.addHostListener(this);
    60         monitoredHost.addHostListener(this);
    61     }
    61     }
    62 
    62 
    63     public RemoteVm attachVm(int lvmid, String mode)
    63     public RemoteVm attachVm(int lvmid, String mode)
    64                     throws RemoteException, MonitorException {
    64                     throws RemoteException, MonitorException {
    65         Integer v = new Integer(lvmid);
    65         Integer v = lvmid;
    66         RemoteVm stub = null;
    66         RemoteVm stub = null;
    67         StringBuilder sb = new StringBuilder();
    67         StringBuilder sb = new StringBuilder();
    68 
    68 
    69         sb.append("local://").append(lvmid).append("@localhost");
    69         sb.append("local://").append(lvmid).append("@localhost");
    70         if (mode != null) {
    70         if (mode != null) {