craigmcc    00/10/31 09:45:36

  Modified:    catalina/src/share/org/apache/catalina/startup
                        ContextConfig.java
  Log:
  Close the JAR file on the normal code path also, not just the exception path.
  
  Revision  Changes    Path
  1.31      +5 -4      
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/ContextConfig.java
  
  Index: ContextConfig.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/ContextConfig.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- ContextConfig.java        2000/10/30 21:43:52     1.30
  +++ ContextConfig.java        2000/10/31 17:45:34     1.31
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/ContextConfig.java,v
 1.30 2000/10/30 21:43:52 craigmcc Exp $
  - * $Revision: 1.30 $
  - * $Date: 2000/10/30 21:43:52 $
  + * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/ContextConfig.java,v
 1.31 2000/10/31 17:45:34 craigmcc Exp $
  + * $Revision: 1.31 $
  + * $Date: 2000/10/31 17:45:34 $
    *
    * ====================================================================
    *
  @@ -117,7 +117,7 @@
    * of that Context, and the associated defined servlets.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.30 $ $Date: 2000/10/30 21:43:52 $
  + * @version $Revision: 1.31 $ $Date: 2000/10/31 17:45:34 $
    */
   
   public final class ContextConfig
  @@ -1022,6 +1022,7 @@
                   stream.close();
                   found = true;
               }
  +            jarFile.close();
               return (found);
           } catch (Exception e) {
               if (debug >= 2)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to