Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-977

Specialized bean does not disable producer method of its parent

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.1.2.Final
    • Fix Version/s: 1.1.6.Final, 2.0.0.Alpha1
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jharting Jozef Hartinger
                  Reporter:
                  mkouba Martin Kouba
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: