tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject [tomcat] branch 7.0.x updated: Fix a possible race condition
Date Mon, 04 Nov 2019 17:12:28 GMT
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/7.0.x by this push:
     new c83abec  Fix a possible race condition
c83abec is described below

commit c83abecb09c82ce58ae0876216ac3363c9581c6c
Author: Mark Thomas <markt@apache.org>
AuthorDate: Mon Nov 4 17:09:59 2019 +0000

    Fix a possible race condition
---
 java/org/apache/jasper/JspCompilationContext.java | 2 +-
 webapps/docs/changelog.xml                        | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/java/org/apache/jasper/JspCompilationContext.java b/java/org/apache/jasper/JspCompilationContext.java
index 0c4fed6..a757141 100644
--- a/java/org/apache/jasper/JspCompilationContext.java
+++ b/java/org/apache/jasper/JspCompilationContext.java
@@ -88,7 +88,7 @@ public class JspCompilationContext {
 
     protected volatile boolean removed = false;
 
-    protected URLClassLoader jspLoader;
+    protected volatile URLClassLoader jspLoader;
     protected URL baseUrl;
     protected Class<?> servletClass;
 
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 8315545..554e3e1 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -117,6 +117,10 @@
         condition if the JSP is modified during compilation. Patch provided by
         Karl von Randow. (markt)
       </fix>
+      <fix>
+        Fix a race condition that could mean changes to a modified JSP were not
+        visible to end users. (markt)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Web applications">


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


Mime
View raw message