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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.4
    • Fix Version/s: 1.1.5
    • Component/s: Core
    • Labels:
      None
    • Environment:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: