Uploaded image for project: 'Web Beans (CLOSED)'
  1. Web Beans (CLOSED)
  2. WBRI-92

Producer method goes into infinite loop

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0.0.ALPHA1
    • Fix Version/s: 1.0.0.ALPHA2
    • Component/s: None
    • Labels:
      None

      Description

      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); }

      }

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pmuir Pete Muir
                Reporter:
                nickarls Nicklas Karlsson
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: