-
Bug
-
Resolution: Done
-
Major
-
1.1.0.Alpha2
-
None
-
Release Notes
The method BeanManager.createInjectionPoint() returns a container provided implementation of InjectionPoint for
a given AnnotatedField or AnnotatedParameter or throws an IllegalArgumentException if there is a definition error
associated with the injection point.
However, the definition error in the NotABean class is not associated with the injection point but with an initializer method that defines the injection point.
public class NotABean { public NotABean(String name) { } @Inject @Produces public void init(Magazine magazine) { } }
The specification does not require the defining member nor class to be validated.
- blocks
-
WELD-1078 BeanManager#createInjectionPoint - IllegalArgumentException not thrown if there is a definition error associated with the injection point
- Resolved