tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49102] New: coyote.ajp.Constants - 3 "constant" arrays are mutable
Date Mon, 12 Apr 2010 20:11:40 GMT
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: sebb@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message