in src/main/java/org/apache/sling/feature/r2f/impl/RuntimeEnvironment2FeatureModelService.java [150:165]
private void readLaunchFeature() {
String launchFeatureLocation = bundleContext.getProperty(SLING_FEATURE_PROPERTY_NAME);
if (launchFeatureLocation == null) {
throw new IllegalStateException("Framework property 'sling.feature' is not set, impossible to assemble the launch Feature");
}
URI launchFeatureURI = URI.create(launchFeatureLocation);
Path launchFeaturePath = Paths.get(launchFeatureURI);
try (BufferedReader reader = newBufferedReader(launchFeaturePath)) {
launchFeature = read(reader, launchFeatureLocation);
} catch (IOException cause) {
throw new UncheckedIOException(cause);
}
}