Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Critical
-
Resolution: Done
-
Affects Version/s: 1.1.2.Final
-
Fix Version/s: 1.1.4.Final
-
Component/s: None
-
Labels:None
Description
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!
|
}
|
Gliffy Diagrams
Issue Links
- relates to
-
WELD-973
@Specializes is not compatible with seam-config because of a problem in weld's BeanDeployerEnvironment
-
- Resolved
-
Here's the pull request with the failing testcase:
https://github.com/weld/core/pull/134