Details
-
Bug
-
Resolution: Done
-
Major
-
1.0.0.PREVIEW1
-
None
-
None
Description
The resolve() method take specialization into account to distinguish between ambiguous beans. Section 5.3.1 states what this method should do. The test in org.jboss.jsr299.tck.tests.extensions.beanManager.BeanManagerTest::testAmbiguousDependencyResolved() currently attempts to use specialization with both the specializing and the specialized beans in the set to resolve(). The method should do the following in this case: "The container eliminates all matching beans that are specialized by some other matching bean."
Also
org.jboss.jsr299.tck.tests.lookup.byname.ResolutionByNameTest.testAmbiguousELNamesResolved()