diff options
Diffstat (limited to 'src/main/javassist/util/HotSwapper.java')
-rw-r--r-- | src/main/javassist/util/HotSwapper.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/main/javassist/util/HotSwapper.java b/src/main/javassist/util/HotSwapper.java index 75ab1b86..9028f2aa 100644 --- a/src/main/javassist/util/HotSwapper.java +++ b/src/main/javassist/util/HotSwapper.java @@ -29,7 +29,7 @@ class Trigger { /** * A utility class for dynamically reloading a class by - * the Java Platform Debugger Architecture (JPDA), or <it>HotSwap</code>. + * the Java Platform Debugger Architecture (JPDA), or <i>HotSwap</i>. * It works only with JDK 1.4 and later. * * <p><b>Note:</b> The new definition of the reloaded class must declare @@ -40,12 +40,10 @@ class Trigger { * <p>To use this class, the JVM must be launched with the following * command line options: * - * <ul> * <p>For Java 1.4,<br> * <pre>java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000</pre> * <p>For Java 5,<br> * <pre>java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000</pre> - * </ul> * * <p>Note that 8000 is the port number used by <code>HotSwapper</code>. * Any port number can be specified. Since <code>HotSwapper</code> does not @@ -57,12 +55,12 @@ class Trigger { * * <p>Using <code>HotSwapper</code> is easy. See the following example: * - * <ul><pre> + * <pre> * CtClass clazz = ... * byte[] classFile = clazz.toBytecode(); * HotSwapper hs = new HostSwapper(8000); // 8000 is a port number. * hs.reload("Test", classFile); - * </pre></ul> + * </pre> * * <p><code>reload()</code> * first unload the <code>Test</code> class and load a new version of |