costin      01/07/15 17:02:32

  Modified:    src/share/org/apache/tomcat/modules/config
                        LoaderInterceptor11.java
  Log:
  Set the class loader in addContext, there's no need to wait until
  contextInit.
  
  Revision  Changes    Path
  1.14      +0 -9      
jakarta-tomcat/src/share/org/apache/tomcat/modules/config/LoaderInterceptor11.java
  
  Index: LoaderInterceptor11.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/config/LoaderInterceptor11.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- LoaderInterceptor11.java  2001/06/28 07:28:51     1.13
  +++ LoaderInterceptor11.java  2001/07/16 00:02:32     1.14
  @@ -145,15 +145,6 @@
            } catch( MalformedURLException ex ) {
            }
        }
  -    }
  -
  -    /** Construct a class loader to be used with the context
  -     */
  -    public void contextInit( Context context)
  -     throws TomcatException
  -    {
  -     if( debug>0 ) log( "Init context " + context.getPath());
  -        ContextManager cm = context.getContextManager();
   
        ClassLoader loader=constructLoader( context );
        context.setClassLoader( loader );
  
  
  

Reply via email to