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 2013/07/20 20:58:20 UTC

[Bug 55285] New: Collections returned from JspConfigDescriptor are not isolated

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

            Bug ID: 55285
           Summary: Collections returned from JspConfigDescriptor are not
                    isolated
           Product: Tomcat 8
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: jboynes@apache.org

The JavaDoc for JspConfigDescriptor getTagLibs() and getJspPropertyGroups(0
requires "Any changes to the returned Collection must not affect this
JspConfigDescriptor." This also applies to Collections returned from these
collections (e.g. preludes).

Tomcat returns a reference to the internal collection and mutations are not
isolated.

-- 
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


[Bug 55285] Collections returned from JspConfigDescriptor are not isolated

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55285

Jeremy Boynes <jb...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Jeremy Boynes <jb...@apache.org> ---
Fixed in trunk: http://svn.apache.org/r1505199

Not back-porting to 7.0.x due to change in Context interface.

-- 
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


[Bug 55285] Collections returned from JspConfigDescriptor are not isolated

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55285

--- Comment #1 from Jeremy Boynes <jb...@apache.org> ---
testcase added as http://svn.apache.org/r1505190

-- 
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