cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19881] - I18nTransformer/XMLResourceBundle synchronization problem
Date Tue, 13 May 2003 09:24:09 GMT
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=19881>.
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=19881

I18nTransformer/XMLResourceBundle synchronization problem





------- Additional Comments From michael.enke@wincor-nixdorf.com  2003-05-13 09:24 -------
In I18nTransformer.java in getCatalogue(), there is a
synchronized(this)
This is wrong and must be changed to
synchronized(factory)
because we have only one factory but for every new pipeline a new
I18nTransformer instance. In the first case (synchronized(this))
this has no effect, the directory in XMLResourceBundleFactory is overwritten
by the new configure() before the select() from the old request has finished.

Mime
View raw message