Author: markt
Date: Wed Nov 13 12:41:35 2013
New Revision: 1541506

URL: http://svn.apache.org/r1541506
Log:
Don't close jar here - may need to read other files from the JAR.

Modified:
    tomcat/trunk/java/org/apache/jasper/compiler/ParserController.java

Modified: tomcat/trunk/java/org/apache/jasper/compiler/ParserController.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/ParserController.java?rev=1541506&r1=1541505&r2=1541506&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/compiler/ParserController.java 
(original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/ParserController.java Wed Nov 
13 12:41:35 2013
@@ -23,7 +23,6 @@ import java.util.Stack;
 
 import org.apache.jasper.JasperException;
 import org.apache.jasper.JspCompilationContext;
-import org.apache.jasper.util.ExceptionUtils;
 import org.apache.jasper.xmlparser.XMLEncodingDetector;
 import org.apache.tomcat.util.scan.Jar;
 import org.xml.sax.Attributes;
@@ -240,14 +239,6 @@ class ParserController implements TagCon
             }
         }
 
-        if (jar != null) {
-            try {
-                jar.close();
-            } catch (Throwable t) {
-                ExceptionUtils.handleThrowable(t);
-            }
-        }
-
         baseDirStack.pop();
 
         return parsedPage;



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

Reply via email to