You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/03/09 18:35:11 UTC

DO NOT REPLY [Bug 17328] - Unsafe initialization in PropertyMessageResources

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17328>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17328

Unsafe initialization in PropertyMessageResources





------- Additional Comments From dmkarr@earthlink.net  2003-03-09 17:35 -------
Are we still waiting for a patch for this?

On casual observation, it sure looks like the entire "loadLocale" method needs
to be synchronized, at least on the "locales" object.  That appears to be what
you imply in your original statement.  It doesn't seem like it would decrease
performance considerably, as most of the paths through this function would
return after it found the locale already loaded.  Only the first call for each
separate locale would spend much time in the function.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org