[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Classloading problems with ClassProxyFactory

kabir.khan@jboss.com do-not-reply at jboss.com
Tue Apr 29 07:35:56 EDT 2008


I cannot run the test, it freezes, but having looked more at the description, it seems to me that the problem is that the ContainerProxyFactory caches the proxies by the class.

In this case the key is java.utl.ArrayList which will never be removed from the cache, but the proxy stored is created using the TCL, and thus never cleared out. I will create a simple test for this under aop and try generating the proxies with the classloader of the class being proxied instead.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147478#4147478

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147478



More information about the jboss-dev-forums mailing list