[jboss-dev-forums] [Design of POJO Server] - MDR AnnotationCreator/AnnotationProxy leads to proxy leakage
jason.greene@jboss.com
do-not-reply at jboss.com
Thu May 14 16:14:50 EDT 2009
The current code in AnnotationCreator and AnnotationProxy reuse the classloader that defines an annotation to create the new proxy in. This is bad when the annotation exists in a classloader that stays around for a long time, like say one that would hold jboss annotation classes :)
Instead we should be passing these routines a short-lived loader to define the proxies in.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231169#4231169
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231169
More information about the jboss-dev-forums
mailing list