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 Sat, 29 Nov 2003 09:08:16 GMT
remm        2003/11/29 01:08:16

  Modified:    catalina/src/share/org/apache/catalina/loader
                        WebappClassLoader.java
  Log:
  - Fix 25079: Classes are still only in the JAR.
  
  Revision  Changes    Path
  1.27      +3 -2      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.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- WebappClassLoader.java	12 Sep 2003 14:06:21 -0000	1.26
  +++ WebappClassLoader.java	29 Nov 2003 09:08:16 -0000	1.27
  @@ -1082,7 +1082,8 @@
               ResourceEntry entry = (ResourceEntry) resourceEntries.get(name);
               try {
                   String repository = entry.codeBase.toString();
  -                if (repository.endsWith(".jar")) {
  +                if ((repository.endsWith(".jar")) 
  +                    && (!(name.endsWith(".class")))) {
                       // Copy binary content to the work directory if not present
                       File resourceFile = new File(loaderDir, name);
                       url = resourceFile.toURL();
  
  
  

---------------------------------------------------------------------
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