[webbeans-issues] [JBoss JIRA] Created: (WBRI-183) Producer method's parameter InjectionPoint is null , when Manager is injected to producer class.

Takeshi Kondo (JIRA) jira-events at lists.jboss.org
Sat Mar 14 12:27:22 EDT 2009


Producer method's parameter InjectionPoint is null , when Manager is injected to producer class.
------------------------------------------------------------------------------------------------

                 Key: WBRI-183
                 URL: https://jira.jboss.org/jira/browse/WBRI-183
             Project: Web Beans
          Issue Type: Bug
          Components: Producer beans
    Affects Versions: 1.0.0.BETA1
            Reporter: Takeshi Kondo


public class ManagerProducer
{
   @Current
   Manager manager;
   @Produces
   Integer create(InjectionPoint point)
   {
      assert point != null;
      assert manager != null;
      return 10;
   }
}
--------
This test code failed, because ManagerProducer#create method's parameter Injectionpoint is null.
It arise if Manager is injected to producer class.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the weld-issues mailing list