1 Reply Latest reply on May 14, 2009 4:31 PM by alesj

    MDR AnnotationCreator/AnnotationProxy leads to proxy leakage

    jason.greene

      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.