From: markt Date: Mon, 18 Apr 2011 13:41:37 +0000 (+0000) Subject: Correct a regression in the fix for https://issues.apache.org/bugzilla/show_bug.cgi... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=199e2cd59c107a5057c668f64186424f1c7ed6b8;p=tomcat7.0 Correct a regression in the fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=49916 that resulted in JSPs being compiled twice rather than just once. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1094569 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/jasper/servlet/JspServlet.java b/java/org/apache/jasper/servlet/JspServlet.java index db0d51f73..c72d11439 100644 --- a/java/org/apache/jasper/servlet/JspServlet.java +++ b/java/org/apache/jasper/servlet/JspServlet.java @@ -125,7 +125,6 @@ public class JspServlet extends HttpServlet implements PeriodicEventListener { throw new ServletException("Can not locate jsp file", e); } try { - serviceJspFile(null, null, jspFile, null, true); if (SecurityUtil.isPackageProtectionEnabled()){ AccessController.doPrivileged(new PrivilegedExceptionAction(){ @Override diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index cffcb469c..e34189167 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -100,6 +100,10 @@ Label JSP/tag file line and column numbers when reporting errors since it may not be immediately obvious what the numbers represent. (markt) + + Correct a regression in the fix for 49916 that resulted in + JSPs being compiled twice rather than just once. (markt) +