[
https://issues.apache.org/jira/browse/OWB-667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Struberg resolved OWB-667.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.1.5
I've now aligned the behaviour with Weld. We will also clarify this in CDI-1.1
> Bean queries have strange behavior (difference between Open Web Beans and the
> Reference Implementation)
> -------------------------------------------------------------------------------------------------------
>
> Key: OWB-667
> URL: https://issues.apache.org/jira/browse/OWB-667
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.1.4
> Environment: All
> Reporter: Phil Oser
> Assignee: Mark Struberg
> Fix For: 1.1.5
>
> Attachments: cdi-boot.zip
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira