You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2008/11/23 22:25:23 UTC

svn commit: r720046 - /tomcat/trunk/java/org/apache/jasper/compiler/Compiler.java

Author: markt
Date: Sun Nov 23 13:25:22 2008
New Revision: 720046

URL: http://svn.apache.org/viewvc?rev=720046&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=42693
I want to do some more testing before proposing this one

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

Modified: tomcat/trunk/java/org/apache/jasper/compiler/Compiler.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/Compiler.java?rev=720046&r1=720045&r2=720046&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/compiler/Compiler.java (original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/Compiler.java Sun Nov 23 13:25:22 2008
@@ -334,7 +334,7 @@
                 generateClass(smap);
             }
         } finally {
-            if (tfp != null) {
+            if (tfp != null && ctxt.isPrototypeMode()) {
                 tfp.removeProtoTypeFiles(null);
             }
             // Make sure these object which are only used during the



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