[
https://issues.apache.org/jira/browse/SLING-9501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
A. J. David Bosschaert updated SLING-9501:
------------------------------------------
Description:
The API Regions Runtime prefers packages coming from bundles that are in a
specific region to packages coming from the global region, if this specific
region is accessible to the requirer. This also applies to packages provided
from a bundle where this package is feature-local.
However, when a feature is not opting into the API Regions mechanism this
should not be applied. When a feature is not taking part in the API Regions it
should be considered to provide its packages in the global region and no
preference should be applied.
was:
The API Regions Runtime prefers packages coming from bundles that are in a
specific region to packages coming from the global region. This also applies to
packages provided from a bundle where this package is feature-local.
However, when a feature is not opting into the API Regions mechanism this
should not be applied. When a feature is not taking part in the API Regions it
should be considered to provide its packages in the global region and no
preference should be applied, as this could interfere with the substitutability
of exported/imported packages.
> Packages provided by a non-api-region feature should be on par with the
> global region
> -------------------------------------------------------------------------------------
>
> Key: SLING-9501
> URL: https://issues.apache.org/jira/browse/SLING-9501
> Project: Sling
> Issue Type: Bug
> Components: Feature Model
> Affects Versions: Feature Model API Regions Runtime Fragment 1.1.2
> Reporter: A. J. David Bosschaert
> Assignee: A. J. David Bosschaert
> Priority: Major
> Fix For: Feature Model API Regions Runtime Fragment 1.1.4
>
>
> The API Regions Runtime prefers packages coming from bundles that are in a
> specific region to packages coming from the global region, if this specific
> region is accessible to the requirer. This also applies to packages provided
> from a bundle where this package is feature-local.
> However, when a feature is not opting into the API Regions mechanism this
> should not be applied. When a feature is not taking part in the API Regions
> it should be considered to provide its packages in the global region and no
> preference should be applied.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)