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





------- Additional Comments From [EMAIL PROTECTED]  2004-09-02 04:03 -------
While the current Sun implementation of that method may be thread-safe, there's
no guarantee that it will remain so in the future or that other implementations
are thread-safe.  Since the class clearly states it's not intended to be
thread-safe the chances of other implementations breaking Struts is quite high.

Why not just synchronize on the format.format() call and be done with it?  Any
change made here should also be made in Commons Resources.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to