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

           Summary: util.http.FastHttpDateFormat odd synchronisation
           Product: Tomcat 7
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: [email protected]
        ReportedBy: [email protected]


tomcat.util.http.FastHttpDateFormat.format
tomcat.util.http.FastHttpDateFormat.formats

are both protected static final SimpleDateFormats

Access within the class is synch., but there is no guarantee that subclasses
will use the same synch. object

The fields should be made private, or the synch requirements documented.

The class also synchronises on a ConcurrentHashMap which looks very odd.

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to