![]() |
|
|
|
|
Change By:
|
Marko Lukša
(02/Sep/13 9:44 AM)
|
|
Description:
|
Weld should check if the bean types of beans added through {{AfterBeanDiscovery.addBean()}} are valid and throw a DefinitionException if not.
Currently, portable extensions can add beans that have a parameterized type with a wildcard parameter among its bean types. This should not be allowed per http://docs.jboss.org/cdi/spec/1.1/cdi-spec.html#legal_bean_types
Also, if the bean type is a parameterized type containing a type variable, the bean's scope must be @Dependent. This is the same as with producer methods & fields.
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues