Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1152

Failure related @Observes infinite loops protection

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • None
    • None

    Description

      Exceptions cause the ObserverManager to throw more events. If those events throw an exception an infinite loop would occur. Updated code cuts callers off preventing infinite loops potentially caused from these "ObserverFailed" events.

      Note this does not protect against infinite loops in general. If you want to infinitely throw and fire events in a loop, do so with great care.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dblevins David Blevins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: