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-catalina/catalina/src/share/org/apache/catalina/loader WebappClassLoader.java
Date Fri, 19 Dec 2003 16:44:13 GMT
remm        2003/12/19 08:44:13

  Modified:    catalina/src/share/org/apache/catalina/loader
                        WebappClassLoader.java
  Log:
  - Reset the repositories array on certain methos calls.
  - Override addURL to set hasExternalRepositories to true.
  
  Revision  Changes    Path
  1.30      +12 -1     jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java
  
  Index: WebappClassLoader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- WebappClassLoader.java	11 Dec 2003 16:41:28 -0000	1.29
  +++ WebappClassLoader.java	19 Dec 2003 16:44:13 -0000	1.30
  @@ -586,6 +586,7 @@
               URL url = new URL(repository);
               super.addURL(url);
               hasExternalRepositories = true;
  +            repositoryURLs = null;
           } catch (MalformedURLException e) {
               throw new IllegalArgumentException(e.toString());
           }
  @@ -848,6 +849,16 @@
   
   
       // ---------------------------------------------------- ClassLoader Methods
  +
  +
  +     /**
  +      * Add the specified URL to the classloader.
  +      */
  +     protected void addURL(URL url) {
  +         super.addURL(url);
  +         hasExternalRepositories = true;
  +         repositoryURLs = null;
  +     }
   
   
       /**
  
  
  

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


Mime
View raw message