Revert 921464 for rework
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 11 Mar 2010 13:23:09 +0000 (13:23 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 11 Mar 2010 13:23:09 +0000 (13:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@921838 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/jasper/JspCompilationContext.java
java/org/apache/jasper/servlet/JspServletWrapper.java

index 888c44c..a3a8a4a 100644 (file)
@@ -595,8 +595,6 @@ public class JspCompilationContext {
             } catch (JasperException ex) {
                 // Cache compilation exception
                 jsw.setCompilationException(ex);
-                // Make sure recompilation is attempted
-                jsw.setLastModificationTest(-1);
                 throw ex;
             } catch (Exception ex) {
                 JasperException je = new JasperException(
index b06b75c..8f16a57 100644 (file)
@@ -202,8 +202,8 @@ public class JspServletWrapper {
             }
             if (options.getDevelopment() || firstTime ) {
                 synchronized (this) {
-                    ctxt.compile();
                     firstTime = false;
+                    ctxt.compile();
                 }
             } else {
                 if (compileException != null) {