tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 50293] New: javax.el.CompositeELResolver synchronization issue
Date Thu, 18 Nov 2010 21:58:21 GMT

           Summary: javax.el.CompositeELResolver synchronization issue
           Product: Tomcat 7
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Servlet & JSP API

Created an attachment (id=26310)
 --> (
Synchronize change in CompositeELResolver.add

The javax.el.CompositeELResolver.add method needs to synchronize around the
update to the resolvers.  If two threads call add, then it is possible for both
threads get past the size check, then one thread updates the size, and when the
next thread tries to update the size, it fails with an

Also, it makes sense to increase the default size of the ELResolver array since
even the jasper EL adds 5 ELResolvers.  I propose a default of 8.

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message