From: markt Date: Fri, 1 Feb 2008 22:32:13 +0000 (+0000) Subject: Revert fix for 43741. Aim for better fix that handles tag files in JARs. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=fcbaeb3b22fd712110681597b85b6c2cc44ed0ea;p=tomcat7.0 Revert fix for 43741. Aim for better fix that handles tag files in JARs. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@617682 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/jasper/JspCompilationContext.java b/java/org/apache/jasper/JspCompilationContext.java index 5a4504261..0fe40f3db 100644 --- a/java/org/apache/jasper/JspCompilationContext.java +++ b/java/org/apache/jasper/JspCompilationContext.java @@ -554,15 +554,7 @@ public class JspCompilationContext { public void compile() throws JasperException, FileNotFoundException { createCompiler(); - boolean outDated; - if (isPackagedTagFile) { - // Tags in JARs only need to be compiled once - // If the JAR changes, the app needs to be re-loaded - outDated = !(new File(getClassFileName()).exists()); - } else { - outDated = jspCompiler.isOutDated(); - } - if (outDated) { + if (isPackagedTagFile || jspCompiler.isOutDated()) { try { jspCompiler.removeGeneratedFiles(); jspLoader = null;