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/startup ClassLoaderFactory.java
Date Tue, 25 Sep 2001 22:04:44 GMT
remm        01/09/25 15:04:44

  Modified:    catalina/src/share/org/apache/catalina/startup
                        ClassLoaderFactory.java
  Log:
  - Shouldn't the CLs except the webapp CL be delegating ?
    They were in non delegating mode, which could explain a lot of problems.
  
  Revision  Changes    Path
  1.4       +6 -5      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/ClassLoaderFactory.java
  
  Index: ClassLoaderFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/ClassLoaderFactory.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ClassLoaderFactory.java	2001/09/23 03:32:40	1.3
  +++ ClassLoaderFactory.java	2001/09/25 22:04:44	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/ClassLoaderFactory.java,v
1.3 2001/09/23 03:32:40 craigmcc Exp $
  - * $Revision: 1.3 $
  - * $Date: 2001/09/23 03:32:40 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/ClassLoaderFactory.java,v
1.4 2001/09/25 22:04:44 remm Exp $
  + * $Revision: 1.4 $
  + * $Date: 2001/09/25 22:04:44 $
    *
    * ====================================================================
    *
  @@ -92,7 +92,7 @@
    * </ul>
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.3 $ $Date: 2001/09/23 03:32:40 $
  + * @version $Revision: 1.4 $ $Date: 2001/09/25 22:04:44 $
    */
   
   public final class ClassLoaderFactory {
  @@ -256,11 +256,12 @@
   
           // Construct the class loader itself
           String array[] = (String[]) list.toArray(new String[list.size()]);
  -        ClassLoader classLoader = null;
  +        StandardClassLoader classLoader = null;
           if (parent == null)
               classLoader = new StandardClassLoader(array);
           else
               classLoader = new StandardClassLoader(array, parent);
  +        classLoader.setDelegate(true);
           return (classLoader);
   
       }
  
  
  

Mime
View raw message