Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-5864

i18n: Update to org.apache.sling.commons.osgi 2.4.0

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: i18n 2.4.6
    • Fix Version/s: i18n 2.4.8
    • Component/s: Extensions
    • Labels:
      None

      Description

      currently an older org.apache.sling.commons.osgi is included not featuring the latest signature changes to ServiceUtil from SLING-5041. this class is also used in sling-mock and osgi-mock based unit tests.

      the i18n bundle includes the ServiceUtil class in its bundle instead of creating a runtime dependency to it. this creates problem when running unit tests within an IDE or command line because there the OSGi classpath isolation does not take place and the tests may fail with method signature errors.

      to avoid this on future releases we should update to the latest org.apache.sling.commons.osgi 2.4.0.

      workaround for the existing releases is to control the dependency order for the unittest and ensure that org.apache.sling.commons.osgi comes first.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sseifert Stefan Seifert
                Reporter:
                sseifert Stefan Seifert
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: