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=33097>.
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=33097





------- Additional Comments From [EMAIL PROTECTED]  2005-01-18 14:44 -------
Just an additional comment: The original synchronization of access was buggy
IMO. The access to the non-cached map was not synchronized and the init of the
bundles is not synchronized because of a call to selectCached() outside of the
synchronized(this) in _select(String[] directories, int index, String name,
Locale locale). Also there was a double check whether the file exists in the
cache - by accident or planned?

        XMLResourceBundle bundle = selectCached(fileName);
        if (bundle == null) {
            synchronized (this) {
                bundle = selectCached(fileName);
                if (bundle == null) {


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to