Align WebappClassLoader.validate() implementation with Javadoc and ensure that javax.servlet.* classes can not be loaded by a WebappClassLoader instance.
Patch provided by pid.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@988222
13f79535-47bb-0310-9956-
ffa450edef68
return false;
if (name.startsWith("java."))
return false;
+ if (name.startsWith("javax.servlet."))
+ return false;
return true;
distributable element of web.xml. (kfujino)
</fix>
<fix>
+ <bug>47950</bug>: Align <code>WebappClassLoader.validate()</code>
+ implementation with Javadoc and ensure that <code>javax.servlet.*</code>
+ classes can not be loaded by a <code>WebappClassLoader</code> instance.
+ Patch provided by pid. (markt)
+ </fix>
+ <fix>
<bug>49757</bug>: Correct some generics warnings. Based on a patch
provided by Gábor. (markt)
</fix>