Prevent bundles from providing ee capabilities.
@@ -812,7 +812,8 @@ public class ManifestParser
+ "' namespace.");
}
- if(path.startsWith(NativeNamespace.NATIVE_NAMESPACE) && (owner == null ||
+ if((path.startsWith(ExecutionEnvironmentNamespace.EXECUTION_ENVIRONMENT_NAMESPACE) ||
+ path.startsWith(NativeNamespace.NATIVE_NAMESPACE)) && (owner == null ||
!FelixConstants.SYSTEM_BUNDLE_SYMBOLICNAME.equals(owner.getSymbolicName())))
{
throw new BundleException("Only System Bundle can use Provide-Capability for '"
