From: markt Date: Sun, 23 Nov 2008 21:25:22 +0000 (+0000) Subject: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=42693 X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=23eee43fe718273fb0af2b3c2172a490a3b6c016;p=tomcat7.0 Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=42693 I want to do some more testing before proposing this one git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@720046 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/jasper/compiler/Compiler.java b/java/org/apache/jasper/compiler/Compiler.java index 5c5c48aad..ee4204a67 100644 --- a/java/org/apache/jasper/compiler/Compiler.java +++ b/java/org/apache/jasper/compiler/Compiler.java @@ -334,7 +334,7 @@ public abstract class Compiler { generateClass(smap); } } finally { - if (tfp != null) { + if (tfp != null && ctxt.isPrototypeMode()) { tfp.removeProtoTypeFiles(null); } // Make sure these object which are only used during the