FYI I post the following on the forum
http://forum.hibernate.org/viewtopic.php?p=2236676#2236676
btw. I went and looked at the cvs version of dom4j (which seems to run the
h3 unittests without problems)
This cvs version does not seem to contain the bug anymore since they now
have weakrefere
On Fri, 01 Apr 2005 16:48:48 +0200, baliuka juozas <[EMAIL PROTECTED]>
wrote:
but anyhow they claim to have fixed itnot just weakref stuff.
/max
All thread locals are weak (it is implemented as weak
hash map).
BTW
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5033614
--- Max Rydahl And
Probably they are right, thread local can be a problem
with thread pool ( reference on thread is weak, but it
strong on value ). webapp must clear all thread locals
at the end of request for this reason.
Similar problem can be in cglib with thread local
callbacks, but it looks like hibernate doe's