Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-212 Here is an overview of the issue: --------------------------------------------------------------------- Key: WW-212 Summary: Text tag contains non-threadsafe code because of cache Type: Bug Status: Assigned Priority: Major Project: WebWork Components: Views Versions: 1.3 Assignee: Patrick Lightbody Reporter: Dick Zetterberg Created: Wed, 11 Jun 2003 3:37 AM Updated: Wed, 11 Jun 2003 3:37 AM Description: I just had a look at the text tag (webwork.view.taglib.TextTag) and by inspecting the code it looks as if it is not thread-safe. MessageFormat objects are cached in a hashmap. They are then retrieved for formatting, but the problem is that the MessageFormat class is not thread-safe, so this could possibly cause problems! The simple solution would be to just remove the cache. Another solution would be to use pools of MessageFormats objects in the cache. I do not use the text tag myself so I am not planning on fixing this now. If anyone else wants to do it, please go ahead! --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.opensymphony.com/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork