OpenWebBeans
  1. OpenWebBeans
  2. OWB-667

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

      1. cdi-boot.zip
        52 kB
        Phil Oser

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development