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

BeanAttributesFactory should ignore illegal bean types

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.2.9.Final, 3.0.0.Alpha4
    • 3.0.0.Alpha3, 2.2.8.Final
    • None
    • 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.

      Attachments

        Activity

          People

            mkouba@redhat.com Martin Kouba
            mkouba@redhat.com Martin Kouba
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: