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

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Sun Jan 15 12:07:18 EST 2012


     [ https://issues.jboss.org/browse/WELD-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jozef Hartinger updated WELD-977:
---------------------------------

    Fix Version/s: 2.0.0.Alpha1
         Assignee: Jozef Hartinger

    
> 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
>    Affects Versions: 1.1.2.Final
>            Reporter: Martin Kouba
>            Assignee: Jozef Hartinger
>             Fix For: 1.2.0.Beta1, 2.0.0.Alpha1
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list