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

           Summary: Double-check idiom. Possible data-race.
           Product: Tomcat 6
           Version: 6.0.29
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Manager application
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: sergeyvorob...@google.com


r998053
class org/apache/tomcat/util/http/FastHttpDateFormat
http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/http/FastHttpDateFormat.java

There is double-check anti-pattern in public static final String
getCurrentDate() method
on protected static long currentDateGenerated variable

Concurrent read on line 112
Concurrent write on line 115

P.S.: Maybe I have mistake with determine component

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