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

    MDR AnnotationCreator/AnnotationProxy leads to proxy leakage

    Jason Greene Master

      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.