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

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Jan 26 10:41:44 EST 2009


     [ https://jira.jboss.org/jira/browse/WBRI-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir reassigned WBRI-92:
-----------------------------

    Assignee: Pete Muir


> 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
>    Affects Versions: 1.0.0.ALPHA1
>            Reporter: Nicklas Karlsson
>            Assignee: Pete Muir
>             Fix For: 1.0.0.ALPHA2
>
>
> 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