Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-489

AnnotatedTypes added with BeforeBeanDiscovery.addAnnotatedType method are ignored

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.1.0, 1.1.9
    • Component/s: Events
    • Labels:
      None
    • Environment:
      SE Standalone

      Description

      In section 11.5.1. of JSR 299 it states:

      addAnnotatedType() adds a given AnnotatedType to the set of types which will be scanned during bean discovery.

      However the addAdditionalAnnotatedType method of the BeanManagerImpl (https://svn.apache.org/repos/asf/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java) simply adds the types to a private list and the values are never acted upon.

        Attachments

          Activity

            People

            • Assignee:
              bergmark Joseph E Bergmark
              Reporter:
              aaronanderson Aaron Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: