Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
framework-4.4.1
-
None
-
None
Description
If the same service permission is repeated in the file for the same class, e.g.
ServicePermission("com.xxx.test.apps.inject.autoactivate.test01.InjectableBean","get")
ServicePermission("com.xxx.test.apps.inject.autoactivate.test01.InjectableBean","register")
the only latest permission is used as resulting. So in the mentioned case the only "register" permission will be requested for the service class and bundle cannot be started with the exception that "get" permission required for bundle to start.
A comma-separated list of permissions should be added for service:
ServicePermission("com.xxx.test.apps.inject.autoactivate.test01.InjectableBean","register,get")