summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2006-05-29 16:32:17 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2006-05-29 16:32:17 +0000
commitda0396f9416886b5753c314a80d25e7ccfb9820e (patch)
treede5d0c39131bac2a9e16abd8b8f577d780dbd3e2
parent7804fb0986a26a066afdf41a77537bca9735f18f (diff)
downloadjavassist-da0396f9416886b5753c314a80d25e7ccfb9820e.tar.gz
javassist-da0396f9416886b5753c314a80d25e7ccfb9820e.zip
updated javadoc comments.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@278 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
-rw-r--r--src/main/javassist/Loader.java10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/main/javassist/Loader.java b/src/main/javassist/Loader.java
index 4c2c4b5d..b676a63a 100644
--- a/src/main/javassist/Loader.java
+++ b/src/main/javassist/Loader.java
@@ -92,9 +92,13 @@ import java.util.Vector;
* <p><b>Note 1:</b>
*
* <p>This class loader does not allow the users to intercept the loading
- * of <code>java.*</code> and <code>javax.*</code> classes unless
- * <code>Loader.doDelegation</code> is <code>false</code>. Also see
- * Note 2.
+ * of <code>java.*</code> and <code>javax.*</code> classes (and
+ * <code>sun.*</code>, <code>org.xml.*</code>, ...) unless
+ * <code>Loader.doDelegation</code> is <code>false</code>. This is because
+ * the JVM prohibits a user class loader from loading a system class.
+ * Also see Note 2.
+ * If this behavior is not appropriate, a subclass of <code>Loader</code>
+ * must be defined and <code>loadClassByDelegation()</code> must be overridden.
*
* <p><b>Note 2:</b>
*