From f4a78cf275e5a1a8f81fed70d73f6273f6f9150f Mon Sep 17 00:00:00 2001 From: chiba Date: Tue, 27 Jul 2004 14:47:30 +0000 Subject: updated some javadoc comments. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@119 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- tutorial/tutorial.html | 20 ++++++++++---------- tutorial/tutorial2.html | 17 ++++++++++++++++- 2 files changed, 26 insertions(+), 11 deletions(-) (limited to 'tutorial') diff --git a/tutorial/tutorial.html b/tutorial/tutorial.html index 6dc7ad14..064f8da8 100644 --- a/tutorial/tutorial.html +++ b/tutorial/tutorial.html @@ -434,10 +434,10 @@ and calls say() on that instance.

Note that the program above depends on the fact that the Hello class is never loaded before toClass() is invoked. If not, the JVM would load the original -Hello class before toClass() request to load -the modified Hello class. Hence loading the modified -Hello class would be failed. -For example, if +Hello class before toClass() requests to +load the modified Hello class. Hence loading the +modified Hello class would be failed +(LinkageError is thrown). For example, if main() in Test is something like this: