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

Bean queries have strange behavior (difference between Open Web Beans and the Reference Implementation)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.4
    • 1.1.5
    • Core
    • None
    • All

    Description

      We use the BeanManager#getBeans(java.lang.reflect.Type, java.lang.annotation.Annotation...) to find all beans of a certain type (to implement something like a service locator).
      As soon as one of the beans is an activated Alternative, the list of matching beans is reduced to this activated Alternative.

      The expected behavior is present in the Reference Implementation.
      Please refer to the attached test cases.

      Attachments

        1. cdi-boot.zip
          52 kB
          Phil Oser

        Activity

          People

            struberg Mark Struberg
            philippsser Phil Oser
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: