https://bz.apache.org/bugzilla/show_bug.cgi?id=58056
Bug ID: 58056 Summary: FastHttpDateFormat.formats - non-synchronised access to SimpleDateFormat Product: Tomcat 9 Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: s...@apache.org The array FastHttpDateFormat.formats contains several SimpleDateFormat entries. These are passed to internalParseDate and used without synchronisation unless the caller provides their own threadLocal array to the public method parseDate. I've not checked to see whether parse is ever called with threadLocal == null, but given that the code allows this, it really ought to synchronise the access to the local SDF entries. Also the parseDate Javadoc really ought to document the parameters... -- 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