DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30717>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30717 MessageResources.java has unsynchronized access to MessageFormat Summary: MessageResources.java has unsynchronized access to MessageFormat Product: Struts Version: 1.1 Final Platform: All OS/Version: All Status: UNCONFIRMED Severity: Normal Priority: Other Component: Utilities AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] <p>Line 351 in MessageResources.java calls MessageFormat.format. See method public String getMessage(Locale locale, String key, Object args[]).</p> <p><b>return (format.format(args));</b></p> <p>This call is from a cached MessageFormat instance and is potentially called from multiple threads. MessageFormat is not thread safe. A simple solution is to place this call in the preceding synchronization block, although I haven't performed an analysis to see if this is the only place the cached instance is used.</p> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
