There are a couple of issues regarding memory leaks in BeanUtils for "caches" that are keyed by java.lang.Class. I have limited memory/ClassLoader knowledge and I was hoping someone would comment on a suggestion I posted to resolve this.
Rather than using the Class as the key for these caches how about generating a key using the Class's name and the ClassLoader's hashcode. Is this a good/bad idea? String classKey = beanClass.getName() + beanClass.getClassLoader().hashCode(); I posted a patch for WrapDynaClass to the bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=35263 There is also the same issue for PropertyUtilsBean Niall --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]