You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2016/07/18 16:45:20 UTC

[jira] [Created] (SLING-5864) i18n: Update to org.apache.sling.commons.osgi 2.4.0

Stefan Seifert created SLING-5864:
-------------------------------------

             Summary: i18n: Update to org.apache.sling.commons.osgi 2.4.0
                 Key: SLING-5864
                 URL: https://issues.apache.org/jira/browse/SLING-5864
             Project: Sling
          Issue Type: Improvement
          Components: Extensions
    Affects Versions: i18n 2.4.6
            Reporter: Stefan Seifert
            Assignee: Stefan Seifert
            Priority: Minor
             Fix For: i18n 2.4.8


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)