Update of /cvsroot/javaprofiler/module/net/sourceforge/javaprofiler/module/actions
In directory usw-pr-cvs1:/tmp/cvs-serv11761/net/sourceforge/javaprofiler/module/actions
Modified Files:
AttachPanel.java
Log Message:
Changes forced by new API.
Index: AttachPanel.java
===================================================================
RCS file: /cvsroot/javaprofiler/module/net/sourceforge/javaprofiler/module/actions/AttachPanel.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** AttachPanel.java 16 May 2002 12:14:26 -0000 1.2
--- AttachPanel.java 4 Jul 2002 18:21:12 -0000 1.3
***************
*** 32,36 ****
import net.sourceforge.javaprofiler.jpi.Bootstrap;
! import net.sourceforge.javaprofiler.jpi.VirtualMachine;
import net.sourceforge.javaprofiler.jpi.connect.*;
import net.sourceforge.javaprofiler.module.data.Session;
--- 32,36 ----
import net.sourceforge.javaprofiler.jpi.Bootstrap;
! import net.sourceforge.javaprofiler.jpi.VirtualMachineRef;
import net.sourceforge.javaprofiler.jpi.connect.*;
import net.sourceforge.javaprofiler.module.data.Session;
***************
*** 157,161 ****
args.put(key, arg);
}
! VirtualMachine vm=connector.connect(args);
return new Session(vm, true, name.deleteCharAt(name.length()-1).toString());
}
--- 157,161 ----
args.put(key, arg);
}
! VirtualMachineRef vm=connector.connect(args);
return new Session(vm, true, name.deleteCharAt(name.length()-1).toString());
}
***************
*** 186,189 ****
--- 186,192 ----
/*
* $Log$
+ * Revision 1.3 2002/07/04 18:21:12 stolis
+ * Changes forced by new API.
+ *
* Revision 1.2 2002/05/16 12:14:26 stolis
* Attach panel generalized for both attach and listen connectors.
|