You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/02/03 09:19:23 UTC

DO NOT REPLY [Bug 26622] - WebappClassLoader is inconsistent on delegation of resource loading

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26622>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26622

WebappClassLoader is inconsistent on delegation of resource loading

remm@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From remm@apache.org  2004-02-03 08:19 -------
WCL implements public Enumeration findResources(String) from URLCL (this method
is protected in ClassLoader).
As for getResources(String) from ClassLoader, well, its declaration is:
public final Enumeration getResources(String name)
It indeed looks in the parent first, but there's nothing I can do about it. So
you have to use findResources in addition to getResources if you're using a URLCL.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org