jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: svn commit: r829798 - in /jackrabbit/trunk/jackrabbit-core/src: main/java/org/apache/jackrabbit/core/ main/java/org/apache/jackrabbit/core/config/ main/java/org/apache/jackrabbit/core/security/authorization/ main/java/org/apache/jackrabbit/core/s
Date Wed, 28 Oct 2009 09:32:55 GMT
Hi,

On Tue, Oct 27, 2009 at 4:46 PM, Marcel Reutegger
<marcel.reutegger@gmx.net> wrote:
> On Mon, Oct 26, 2009 at 14:48,  <jukka@apache.org> wrote:
>> Use the standard java.beans classes instead of BeanMap for the configured bean properties.
>
> the use of java.beans can cause quite some trouble. the basic problem
> is the cache inside Introspector, which holds a combination of weak
> and soft references to classes that may not be freed up anymore, even
> though it's supposed to do so. A common and documented workaround is
> to call Introspector.flushCaches().
>
> I'm not sure if this is still an issue with current JDKs, but I think
> we should avoid using Introspector when possible.

OK, that's a good point. I'll revise the code so we don't need to use
Introspector.

BR,

Jukka Zitting

Mime
View raw message