tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkoli...@apache.org
Subject svn commit: r831830 - /tomcat/trunk/java/org/apache/catalina/security/SecurityClassLoad.java
Date Mon, 02 Nov 2009 09:12:11 GMT
Author: kkolinko
Date: Mon Nov  2 09:12:10 2009
New Revision: 831830

URL: http://svn.apache.org/viewvc?rev=831830&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48097
Make SecurityClassLoad to preload o.a.c.loader.ResourceEntry class

It is port of a patch from tc6.0.
I have not really tested it in trunk, though, because running TC 7 with SecurityManager currently
fails because of other issues.

Modified:
    tomcat/trunk/java/org/apache/catalina/security/SecurityClassLoad.java

Modified: tomcat/trunk/java/org/apache/catalina/security/SecurityClassLoad.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/security/SecurityClassLoad.java?rev=831830&r1=831829&r2=831830&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/security/SecurityClassLoad.java (original)
+++ tomcat/trunk/java/org/apache/catalina/security/SecurityClassLoad.java Mon Nov  2 09:12:10
2009
@@ -89,6 +89,8 @@
         loader.loadClass
             (basePackage +
              "loader.WebappClassLoader$PrivilegedFindResource");
+        loader.loadClass
+            (basePackage + "loader.ResourceEntry");
     }
     
     



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


Mime
View raw message