From 23eee43fe718273fb0af2b3c2172a490a3b6c016 Mon Sep 17 00:00:00 2001 From: markt Date: Sun, 23 Nov 2008 21:25:22 +0000 Subject: [PATCH] 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 --- java/org/apache/jasper/compiler/Compiler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0