From 889debb103db3a2a5ec26f12509d6e6dfbda14d0 Mon Sep 17 00:00:00 2001 From: chiba Date: Thu, 9 Sep 2004 14:38:43 +0000 Subject: [PATCH] Edited javadoc comments. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@134 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- src/main/javassist/LoaderClassPath.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/javassist/LoaderClassPath.java b/src/main/javassist/LoaderClassPath.java index 9e141fa7..d8a3954b 100644 --- a/src/main/javassist/LoaderClassPath.java +++ b/src/main/javassist/LoaderClassPath.java @@ -28,6 +28,9 @@ import java.lang.ref.WeakReference; * WeakReference. If the class loader is garbage collected, * the other search pathes are examined. * + *

The given class loader must have both getResourceAsStream() + * and getResource(). + * * @author Bill Burke * @author Shigeru Chiba * @@ -55,6 +58,8 @@ public class LoaderClassPath implements ClassPath { /** * Obtains a class file from the class loader. + * This method calls getResourceAsStream(String) + * on the class loader. */ public InputStream openClassfile(String classname) { String cname = classname.replace('.', '/') + ".class"; @@ -67,6 +72,8 @@ public class LoaderClassPath implements ClassPath { /** * Obtains the URL of the specified class file. + * This method calls getResource(String) + * on the class loader. * * @return null if the class file could not be found. */ -- 2.39.5