in src/main/java/org/apache/sling/feature/apiregions/impl/ResolverHookImpl.java [317:330]
private Set<String> getFeaturesForBundleFromConfig(String bundleName, Version bundleVersion) {
Set<String> newSet = new HashSet<>();
List<String> aids = this.configuration.getBsnVerMap().get(
new AbstractMap.SimpleEntry<String, Version>(bundleName, bundleVersion));
if (aids != null) {
for (String aid : aids) {
Set<String> fid = this.configuration.getBundleFeatureMap().get(aid);
if (fid != null)
newSet.addAll(fid);
}
}
return Collections.unmodifiableSet(newSet);
}