You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2015/07/27 08:03:04 UTC

[jira] [Created] (SLING-4906) Reduce (transitive) package dependencies

Carsten Ziegeler created SLING-4906:
---------------------------------------

             Summary: Reduce (transitive) package dependencies
                 Key: SLING-4906
                 URL: https://issues.apache.org/jira/browse/SLING-4906
             Project: Sling
          Issue Type: Improvement
          Components: Commons
            Reporter: Carsten Ziegeler
             Fix For: Commons Log 4.0.4


It seems that updating innocent looking bundles cause the whole system to restart. We now had a case where a bundle containing some package was updated. This package was imported by the groovy bundle and the groovy bundle was imported by the commons.log bundle.
Unfortunately, the log4j.api bundle - which is imported by nearly almost every bundle - imports the impl package which is exported by the commons.log bundle.
Obviously the best solution would be if the log4j.api bundle would not import packages, but I guess that's not feasible the way log4j works.
Therefore we should have a look at our commons.log bundle to see whether we can reduce the imports, or the effect of other bundles being updated



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