aboutsummaryrefslogtreecommitdiffstats
path: root/tutorial/tutorial.html
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/tutorial.html')
-rw-r--r--tutorial/tutorial.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tutorial/tutorial.html b/tutorial/tutorial.html
index 4cbf6821..709d2148 100644
--- a/tutorial/tutorial.html
+++ b/tutorial/tutorial.html
@@ -130,8 +130,6 @@ example, the data of method bodies. Thus, after a
<code>CtClass</code> object is pruned, the bytecode of a method is not
accessible although method names and signatures are accessible.
-<p>(Note: the current version of Javassist turns pruning off by default.)
-
<p>To disallow pruning a <code>CtClass</code>, <code>stopPruning()</code>
must be called in advance:
@@ -155,6 +153,8 @@ cc.defrost();
cc.setSuperclass(...); // OK since the class is not frozen.
</pre></ul>
+<p>To disallow pruning for all the <code>CtClass</code>es, set
+<code>ClassPool.doPruning</code> to <code>false</code>.
<h4>Class search path</h4>