You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2015/01/11 22:52:15 UTC

[Bug 57434] New: Race condition in EL1.0 validation

https://issues.apache.org/bugzilla/show_bug.cgi?id=57434

            Bug ID: 57434
           Summary: Race condition in EL1.0 validation
           Product: Taglibs
           Version: 1.2.1
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Standard Taglib
          Assignee: dev@tomcat.apache.org
          Reporter: jboynes@apache.org

http://svn.apache.org/viewvc/tomcat/taglibs/standard/tags/taglibs-standard-1.2.1/jstlel/src/main/java/org/apache/taglibs/standard/lang/jstl/Evaluator.java?view=markup#l70

Evaluator uses a single static instance of an ELEvaluator. As a result enabling
and disabling the cache would apply to all validate and evaluate operations
from all threads. This will result in unexpected behaviour if validation is
performed on multiple threads concurrently.

This is not an issue when the library is included with a web application as
multiple copies of the Evaluator will be created for the different ClassLoaders
(although that may have other unanticipated consequences).

This may be an issue if the library is shared between applications.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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