]
Pete Muir closed WBRI-183.
--------------------------
Resolution: Done
Assignee: Pete Muir
Thanks, fixed with a Stack :-)
Producer method's parameter InjectionPoint is null , when Manager
is injected to producer class.
------------------------------------------------------------------------------------------------
Key: WBRI-183
URL:
https://jira.jboss.org/jira/browse/WBRI-183
Project: Web Beans
Issue Type: Bug
Components: Producer beans
Affects Versions: 1.0.0.BETA1
Reporter: Takeshi Kondo
Assignee: Pete Muir
Fix For: 1.0.0.BETA2
Attachments: managerPatch.patch, test_code.patch
public class ManagerProducer
{
@Current
Manager manager;
@Produces
Integer create(InjectionPoint point)
{
assert point != null;
assert manager != null;
return 10;
}
}
--------
This test code failed, because ManagerProducer#create method's parameter
Injectionpoint is null.
It arise if Manager is injected to producer class.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: