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

            Bug ID: 56649
           Summary: Concurrent issue of TagFileProcessor
           Product: Tomcat 7
           Version: trunk
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
          Assignee: dev@tomcat.apache.org
          Reporter: howeverk...@gmail.com

The following code has concurrent issue.

JspCompilationContext ctxt = compiler.getCompilationContext();
        JspRuntimeContext rctxt = ctxt.getRuntimeContext();

        synchronized (rctxt) {
            JspServletWrapper wrapper = rctxt.getWrapper(wrapperUri);

In case when multiple org.apache.jasper.servlet.JspServlet are registered
in web.xml, distict JspCompilationContext will be used for each
servlet mappings.

For instance, if there are two jspServlets a and b registered in web.xml,
a's compilation of a tag file won't be protected from b's encounter.

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

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

Reply via email to