[webbeans-issues] [JBoss JIRA] Created: (WBRI-92) Producer method goes into infinite loop

Nicklas Karlsson (JIRA) jira-events at lists.jboss.org
Mon Jan 5 04:14:54 EST 2009


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

        



More information about the weld-issues mailing list