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

           Summary: coyote.ajp.Constants - 3 "constant" arrays are mutable
           Product: Tomcat 7
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: s...@apache.org


The class coyote.ajp.Constants contains 3 public static non-empty String[]
arrays:

methodTransArray
responseTransArray
headerTransArray

responseTransArray only appears to be locally, so could be made private.

The others are used in index lookups, so get(index) methods could be used to
protect them.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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