[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: JBMDR-51; Annotation equals is completely broken

alesj do-not-reply at jboss.com
Mon Nov 3 09:04:35 EST 2008


"adrian at jboss.org" wrote : 
  | Also, javassist has an annotation implementation that does equals and hashcode correctly (including default values).
How do we enable that this gets used when creating annotations?

Since from MC/Kernel/AbstractAnnotationMetaData we use

  | ann = (Annotation)AnnotationCreator.createAnnotation(annString, cl);
  | 
where this at the end uses AnnotationProxy::createProxy.
No sign of checking if Javassist is present - to use its mechanism.

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

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



More information about the jboss-dev-forums mailing list