in src/main/java/org/apache/sling/feature/r2f/impl/RuntimeEnvironment2FeatureModelService.java [210:220]
public Feature getLaunch2RunningUpgradingFeature() {
Feature runningFeature = getRunningFeature();
// framework-properties can not be scanned in the BundleContext ATM
// extensions can not be computed at runtime
return compareFeatures(new DiffRequest()
.setPrevious(launchFeature)
.setCurrent(runningFeature)
.addIncludeComparator("bundles")
.addIncludeComparator("configurations"));
}