[webbeans-issues] [JBoss JIRA] Updated: (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


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

Nicklas Karlsson updated WBRI-92:
---------------------------------

        Fix Version/s: 1.0.0.ALPHA2
    Affects Version/s: 1.0.0.ALPHA1


> 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
>             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