[weld-issues] [JBoss JIRA] Created: (WELD-977) Specialized bean does not disable producer method of its parent

Martin Kouba (JIRA) jira-events at lists.jboss.org
Thu Sep 29 05:47:26 EDT 2011


Specialized bean does not disable producer method of its parent
---------------------------------------------------------------

                 Key: WELD-977
                 URL: https://issues.jboss.org/browse/WELD-977
             Project: Weld
          Issue Type: Bug
            Reporter: Martin Kouba


CDI 1.0 spec states: "When an enabled bean, as defined in Section 5.1.2, Enabled and disabled beans, specializes a second bean, we can be certain that the second bean is never instantiated or called by the container. Even if the second bean defines a producer or observer method, the method will never be called."

Weld fulfills outdated spec - probably *1.0 Public Review Draft*. Also TCK test (ProducerMethodDefinitionTest) does.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list