tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Oxley <>
Subject Bug in WebappClassLoader
Date Tue, 27 Aug 2002 14:45:51 GMT


There is a couple of bugs in WebappClassLoader.

1. On line 953 there is a call to findClassInternal which could throw a
ClassNotFoundException that gets caught on line 979. This means that lines
963 through 973 will never get executed. i.e. Repositories added with the
method AddRepository will not get searched.

2. Also URL's returned from getURL are not encoded.


I have submitted a patch for these two problems, but I have not got tomcat 4
to compile yet so haven't tested the patch.


Comments or flames welcome. :)



View raw message