Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-1098

Iteration instead of recursion

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.6.2
    • 1.6.3
    • Core
    • None
    • Patch

    Description

      AbstractOwbBean#getRootException calls itself to get root exception. This can be easily done in an iteration.

      Didn't hit a stack limit here yet (fortunately), but if that ever happens, it would be nice to still see what the root issue was.

      Attachments

        1. no-recursion.diff
          0.9 kB
          Tobias Stoeckmann

        Activity

          People

            struberg Mark Struberg
            tstoeckmann Tobias Stoeckmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: