Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-392

Better handle unexpected issues when trying to get a activation or binding method by reflection

    XMLWordPrintableJSON

Details

    Description

      Sometimes it may happen, that trying to get an activation (activate, deactive) or binding (bind, unbind) method throws an unexpected Throwable. For example in one use case, when updating a bundle (before refreshing packages), trying to get a bind method of one the new components throws a LinkageError which is just logged but may leave the component in an undefined half-started state.

      The AbstractComponentManager.getMethod method should catch any throwables and encapsulate them such that this situation may be handled properly.

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: