openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harald Wellmann <hwellmann...@gmail.com>
Subject Re: [VOTE] release Apache OpenWebBeans-1.2.0
Date Thu, 09 May 2013 16:15:45 GMT
-1 (non-binding)

Looks like there is a regression regarding 
BeforeBeanDiscovery.addAnnotatedType(), compared to 1.1.8.

Adding more than one type has no effect.

The following method in BeanManagerImpl looks suspicious:

     public void addAdditionalAnnotatedType(AnnotatedType<?> annotatedType)
     {
 
webBeansContext.getAnnotatedElementFactory().setAnnotatedType(annotatedType);
         additionalAnnotatedTypes.put(null, annotatedType);
     }

All additional types are added with the same null key.

Best regards,
Harald



Mime
View raw message