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

BeanAttributesFactory should ignore illegal bean types

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.0.Alpha3, 2.2.8.Final
    • Fix Version/s: 2.2.9.Final, 3.0.0.Alpha4
    • Component/s: None
    • Labels:
      None

      Description

      Currently ExternalBeanAttributesFactory throws DefinitionException whereas BeanAttributesFactory does nothing and adds an illegal type in the set of bean types. As a result if an extension wraps BeanAttributes produced by BeanAttributesFactory for a bean with an illegal type, a DefinitionException is thrown.

      See also CDI-495 and https://issues.apache.org/jira/browse/DELTASPIKE-817.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: