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

BeanAttributesFactory should ignore illegal bean types

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.2.9.Final, 3.0.0.Alpha4
    • 3.0.0.Alpha3, 2.2.8.Final
    • None
    • None

      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.

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

                Created:
                Updated:
                Resolved: