--- old/src/jdk.jdi/share/classes/com/sun/jdi/VirtualMachineManager.java 2015-04-24 19:20:49.295879545 +0400 +++ new/src/jdk.jdi/share/classes/com/sun/jdi/VirtualMachineManager.java 2015-04-24 19:20:49.063879545 +0400 @@ -50,7 +50,7 @@ * examples use the command line syntax in Sun's implementation. * Some {@link com.sun.jdi.connect.Connector} implementations may require slightly * different handling than presented below. - *

+ * * * @@ -85,7 +85,7 @@ * * * * * * * * * *
Target VM attaches to previously-running debugger + *
    *
  • * At startup, debugger selects one or more connectors from * the list returned by {@link #listeningConnectors} for one or more @@ -126,7 +127,7 @@ * a target VM to connect.
  • *
  • * Later, target VM is launched by end user with the options - * -agentlib:jdwp=transport=xxx,address=yyy + * {@code -agentlib:jdwp=transport=xxx,address=yyy} * where "xxx" the transport for one of the connectors selected by the * the debugger and "yyy" * is the address generated by @@ -135,15 +136,17 @@ *
  • * Debugger's call to {@link com.sun.jdi.connect.ListeningConnector#accept(java.util.Map)} returns * a {@link VirtualMachine} mirror.
  • + *
*
Target VM launches debugger (sometimes called "Just-In-Time" debugging) + *
    *
  • * Target VM is launched with the options - * -agentlib:jdwp=launch=cmdline,onuncaught=y,transport=xxx,server=y + * {@code -agentlib:jdwp=launch=cmdline,onuncaught=y,transport=xxx,server=y} *
  • *
  • * Later, an uncaught exception is thrown in the target VM. The target @@ -171,6 +174,7 @@ * {@link com.sun.jdi.connect.AttachingConnector#attach(java.util.Map)} method * of the selected to attach to the target VM. A {@link VirtualMachine} * mirror is returned. + *
*
@@ -380,7 +384,7 @@ * a virtual machine mirror when a connection is established * to a target VM. Only developers creating new Connector * implementations should need to make direct use of this - * method.

+ * method. * * @param connection * The open connection to the target VM. @@ -415,7 +419,7 @@ * a virtual machine mirror when a connection is established * to a target VM. Only developers creating new Connector * implementations should need to make direct use of this - * method.

+ * method. * * @return the new virtual machine *