Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: i18n 2.2.0
    • Fix Version/s: i18n 2.2.2
    • Component/s: Extensions
    • Labels:
      None

      Description

      JcrResourceBundleProvider may cause a deadlock between itself and the OSGi Framework:

      • clearCache is called from framework and synchronizes on itself while calling into the framework
      • getResoureBundleInternal synchronizes on itself and calls into the framework

      Fixes:

      • clearCache synchronizes on self to get a copy of the service registration list and clears the list; the services are unregistered outside of the sync
      • getResourceBundleInternal only stores the service registration in the internal list in the synchronized block

        Activity

        Felix Meschberger created issue -
        Felix Meschberger committed 1243476 (1 file)
        Reviews: none

        SLING-2420 Prevent deadlocks with the framework while registering and unregistering services

        Hide
        Felix Meschberger added a comment -

        Fixed in Rev. 1243476

        Show
        Felix Meschberger added a comment - Fixed in Rev. 1243476
        Felix Meschberger made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Carsten Ziegeler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Gavin made changes -
        Workflow no-reopen-closed,doc-test-required [ 12653108 ] Copy of no-reopen-closed,doc-test-required [ 12762822 ]
        Gavin made changes -
        Workflow Copy of no-reopen-closed,doc-test-required [ 12762822 ] no-reopen-closed,doc-test-required [ 12766954 ]
        Gavin made changes -
        Workflow no-reopen-closed,doc-test-required [ 12766954 ] re-open possible,doc-test-required [ 12788580 ]
        Gavin made changes -
        Workflow re-open possible,doc-test-required [ 12788580 ] no-reopen-closed,doc-test-required [ 12791214 ]

          People

          • Assignee:
            Felix Meschberger
            Reporter:
            Felix Meschberger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development