Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0-M1
    • Component/s: kernel, osgi
    • Security Level: public (Regular issues)
    • Labels:
      None

      Description

      The full loop checking whether the bundle is loaded is less efficient. Seems that OSGI will maintaine a location-bundle map inside, if the bundle of the same location is installed, the existing bundle will return immediently.

        Activity

        Hide
        Ivan added a comment -

        Both the original code logic and the proposed patch has a pre-condition: we always use the same URL for bundle installation. Or we would get symbolic name existed exception.
        Please help to review the patch, thanks !

        Show
        Ivan added a comment - Both the original code logic and the proposed patch has a pre-condition: we always use the same URL for bundle installation. Or we would get symbolic name existed exception. Please help to review the patch, thanks !
        Hide
        Ivan added a comment -

        Commit changes to trunk At revision: 929357.

        Show
        Ivan added a comment - Commit changes to trunk At revision: 929357.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ivan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development