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: jboy...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to