Carsten Ziegeler created SLING-13114:
----------------------------------------

             Summary: Check for deprecated API does not consider other bundles 
exporting the API
                 Key: SLING-13114
                 URL: https://issues.apache.org/jira/browse/SLING-13114
             Project: Sling
          Issue Type: Bug
          Components: Feature Model
    Affects Versions: Feature Model API Regions Extension 2.1.0
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Feature Model API Regions Extension 2.1.2


If a package is deprecated in one feature model but another feature model 
provides the same package via a different bundle, either in the same version or 
another version - this is currently not considered - and always the usage of 
the deprecated API is reported.

There are two cases:
- another feature provides the API in a different (newer) version - in this 
case the using bundle is usually not even wired to the deprecated API.
- another feature provides the API in the same version - while the using bundle 
could be wired to the one where the package is deprecated, it is still ok (no 
warning/error) as the other feature provides an undeprecated version of the API.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to