--- old/src/jdk.attach/share/classes/com/sun/tools/attach/AgentInitializationException.java 2015-04-28 20:03:51.527593441 +0400 +++ new/src/jdk.attach/share/classes/com/sun/tools/attach/AgentInitializationException.java 2015-04-28 20:03:51.295593441 +0400 @@ -29,15 +29,15 @@ * The exception thrown when an agent fails to initialize in the target * Java virtual machine. * - *
This exception is thrown by {@link - * com.sun.tools.attach.VirtualMachine#loadAgent VirtualMachine.loadAgent}, + *
This exception is thrown by
+ * {@link com.sun.tools.attach.VirtualMachine#loadAgent VirtualMachine.loadAgent},
* {@link com.sun.tools.attach.VirtualMachine#loadAgentLibrary
- * VirtualMachine.loadAgentLibrary}, {@link
- * com.sun.tools.attach.VirtualMachine#loadAgentPath VirtualMachine.loadAgentPath}
+ * VirtualMachine.loadAgentLibrary},
+ * {@link com.sun.tools.attach.VirtualMachine#loadAgentPath VirtualMachine.loadAgentPath}
* methods if an agent, or agent library, cannot be initialized.
- * When thrown by VirtualMachine.loadAgentLibrary, or
- * VirtualMachine.loadAgentPath then the exception encapsulates
- * the error returned by the agent's Agent_OnAttach
function.
+ * When thrown by {@code VirtualMachine.loadAgentLibrary}, or
+ * {@code VirtualMachine.loadAgentPath} then the exception encapsulates
+ * the error returned by the agent's {@code Agent_OnAttach} function.
* This error code can be obtained by invoking the {@link #returnValue() returnValue} method.
*/
@jdk.Exported
@@ -49,7 +49,7 @@
private int returnValue;
/**
- * Constructs an AgentInitializationException
with
+ * Constructs an {@code AgentInitializationException} with
* no detail message.
*/
public AgentInitializationException() {
@@ -58,7 +58,7 @@
}
/**
- * Constructs an AgentInitializationException
with
+ * Constructs an {@code AgentInitializationException} with
* the specified detail message.
*
* @param s the detail message.
@@ -69,9 +69,9 @@
}
/**
- * Constructs an AgentInitializationException
with
+ * Constructs an {@code AgentInitializationException} with
* the specified detail message and the return value from the
- * execution of the agent's Agent_OnAttach
function.
+ * execution of the agent's {@code Agent_OnAttach} function.
*
* @param s the detail message.
* @param returnValue the return value
@@ -83,8 +83,8 @@
/**
* If the exception was created with the return value from the agent
- * Agent_OnAttach
function then this returns that value,
- * otherwise returns 0
.