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

SCR implementation should avoid using bundleContext.getBundle()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • scr-1.8.0
    • scr-1.8.2
    • None

    Description

      The reason is that the bundle context can be invalidated by the framework, so keeping the bundle as a member property avoids running into such exceptions

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            gnodet Guillaume Nodet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: