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

JXPathContextReferenceImpl not thread safe





------- Additional Comments From [EMAIL PROTECTED]  2003-08-04 21:52 -------
Mea culpa, I do see it in the HEAD. However, I'm not sure that the fix is correct. 

What you really need is a readers-writer lock at the least. It's not enough to
just synchronize on the writes. Double-checked locking is also not useful as it
is widely known that DCL is broken in java. See
http://www.javaworld.com/javaworld/jw-02-2001/jw-0209-double_p.html

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

Reply via email to