diff options
Diffstat (limited to 'tutorial/tutorial2.html')
-rw-r--r-- | tutorial/tutorial2.html | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/tutorial/tutorial2.html b/tutorial/tutorial2.html index 8dc5f867..937c4427 100644 --- a/tutorial/tutorial2.html +++ b/tutorial/tutorial2.html @@ -18,6 +18,7 @@ <li><a href="#before">Inserting source text at the beginning/end of a method body</a> <br><li><a href="#alter">Altering a method body</a> <br><li><a href="#add">Adding a new method or field</a> +<br><li><a href="#runtime">Runtime support classes</a> <br><li><a href="#limit">Limitations</a> </ul> @@ -1269,8 +1270,22 @@ does not end with a semi colon (<code>;</code>). <p><br> +<a name="runtime"> +<h3>5.4 Runtime support classes</h3> + +<p>In most cases, a class modified by Javassist does not require +Javassist to run. However, some kinds of bytecode generated by the +Javassist compiler need runtime support classes, which are in the +<code>javassist.runtime</code> package (for details, please read +the API reference of that package). Note that the +<code>javassist.runtime</code> package is the only package that +classes modified by Javassist may need for running. The other +Javassist classes are never used at runtime of the modified classes. + +<p><br> + <a name="limit"> -<h3>5.4 Limitations</h3> +<h3>5.5 Limitations</h3> <p>In the current implementation, the Java compiler included in Javassist has several limitations with respect to the language that the compiler can |