You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Dominik Süß (Jira)" <ji...@apache.org> on 2020/01/08 14:19:00 UTC

[jira] [Created] (SLING-8970) CheckApiRegionsBundleExportsImports ignoring inherited exports

Dominik Süß created SLING-8970:
----------------------------------

             Summary: CheckApiRegionsBundleExportsImports ignoring inherited exports
                 Key: SLING-8970
                 URL: https://issues.apache.org/jira/browse/SLING-8970
             Project: Sling
          Issue Type: Bug
          Components: Feature Model Analyser
    Affects Versions: Feature Model Analyser 1.2.2
            Reporter: Dominik Süß


the current comparison methodology of the CheckApiRegionsBundleExportsImports Analyser only compares the regions a bundle that exports a package tot he regions an importing bundle is in - this lacks the cases where the ApiExports are inherited. Therefore adding a check on all importing regions if listAllExports (which considers inherited ApiExports) contains the checked package and adding it to the exportingRegions will bring the analyser in line with the runtime behavior.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)