-
Bug
-
Resolution: Done
-
Critical
-
1.1.2.Final
-
None
-
None
See pull request with testcase.
@ApplicationScoped @Named("namedFoo") // doesn't matter if it's @Named or not public class NamedFoo { } @Alternative @Specializes public class SpecializesNamedFoo extends NamedFoo { } @Test public void testSpecializationWithAlternative() { Assert.assertEquals(NamedFoo.class, beanManager.resolve(beanManager.getBeans(NamedFoo.class)).getBeanClass()); // FAILS WITH NPE! }
- relates to
-
WELD-973 @Specializes is not compatible with seam-config because of a problem in weld's BeanDeployerEnvironment
- Resolved