Producer method goes into infinite loop
---------------------------------------
Key: WBRI-92
URL:
https://jira.jboss.org/jira/browse/WBRI-92
Project: Web Beans RI
Issue Type: Bug
Reporter: Nicklas Karlsson
Creating a producer bean like this and calling ping results in stack overflow
public class LoopingProducer
{
@Current Violation violation;
@Produces
public Violation produceViolation(Violation violation) {
return violation;
}
public void ping() {
System.out.println(violation);
}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira