tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader WebappClassLoader.java
Date Sat, 08 Jun 2002 23:31:11 GMT
remm        2002/06/08 16:31:11

  Modified:    catalina/src/share/org/apache/catalina/loader
                        WebappClassLoader.java
  Log:
  - Log when a JAR gets excluded (#6884).
  - Submitted by Robert Herrmann <bob at jadn.com>
  
  Revision  Changes    Path
  1.40      +7 -4      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java
  
  Index: WebappClassLoader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- WebappClassLoader.java	22 May 2002 23:35:52 -0000	1.39
  +++ WebappClassLoader.java	8 Jun 2002 23:31:11 -0000	1.40
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java,v
1.39 2002/05/22 23:35:52 remm Exp $
  - * $Revision: 1.39 $
  - * $Date: 2002/05/22 23:35:52 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java,v
1.40 2002/06/08 23:31:11 remm Exp $
  + * $Revision: 1.40 $
  + * $Date: 2002/06/08 23:31:11 $
    *
    * ====================================================================
    *
  @@ -145,7 +145,7 @@
    *
    * @author Remy Maucherat
    * @author Craig R. McClanahan
  - * @version $Revision: 1.39 $ $Date: 2002/05/22 23:35:52 $
  + * @version $Revision: 1.40 $ $Date: 2002/06/08 23:31:11 $
    */
   public class WebappClassLoader
       extends URLClassLoader
  @@ -1994,6 +1994,9 @@
                   log(" Checking for " + name);
               JarEntry jarEntry = jarFile.getJarEntry(name);
               if (jarEntry != null) {
  +                log("validateJarFile(" + jarfile + 
  +                    ") - jar not loaded. See Servlet Spec 2.3, "
  +                    + "section 9.7.2. Offending class: " + name);
                   jarFile.close();
                   return (false);
               }
  
  
  

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


Mime
View raw message