|
From: James C. <jim...@do...> - 2004-06-11 21:06:16
|
Rod, Do you remember this issue? Has this one been addressed yet? http://article.gmane.org/gmane.comp.java.springframework.user/1502 From: Chris Nokleberg <chris <at> sixlegs.com> Subject: Re: CGLIB proxies are not assignable Newsgroups: gmane.comp.java.springframework.user Date: Sun, 11 Apr 2004 17:15:30 +0000 Rod Johnson <rod.johnson <at> interface21.com> writes: > This is the behaviour I would expect. As you say, maybe we should > add it to the docs. All proxies _are_ instances of the class to be > proxied. I actually think this is a bug. If the name of the class is changing it means that caching of generated classes is not working correctly --it is probably generating a new class per proxy. This will obviously slow down proxy creation tremendously and eventually cause OutOfMemoryExceptions. The typical culprit is when you use a custom CallbackFilter that does not implement equals/hashCode. I don't have time right now but I'll take a look soon. Happy Easter Chris |