0 Replies Latest reply on Sep 6, 2011 2:49 AM by George Vagenas

    Weld-Servlet injectEEFields should check if field is not null

    George Vagenas Newbie

      Hi guys,


      Working on weld-servlet, i think that for fields with @Resource, weld should first check to see if the field is already injected by the first annotationProcessor and then proceed to resolveEEReource.


      That is at the method


      org.jboss.weld.util.Beans.injectEEFields(T, BeanManagerImpl, Iterable<WeldInjectionPoint<?, ?>>, Iterable<WeldInjectionPoint<?, ?>>, Iterable<WeldInjectionPoint<?, ?>>, Iterable<WeldInjectionPoint<?, ?>>)



      What do you think?


      Thanks
      George