Community
Participate
Working Groups
RFC 131 changed how ServicePermissions should be checked. The service registry implementation needs to be updated to use the changes to ServicePermission.
Created attachment 127903 [details] Patch for ServiceRegistry impl compliant to RFC131 I had written ServiceRegistry.java compliant to RFC131. In addition, I had commited CT for RFC131. RI(Equinox impl applied with the patch) passes the CT. https://www.osgi.org/members/svn/build/trunk/org.osgi.test.cases.permissions.filtered/
I released the latest org.osgi.framework permission classes to equinox. Still need BJ to review Ikou's patch or provide an alternative for M6.
I committed changes to use the new ServicePermission constructor for GET permissions checks. I tested the change successfully against the new OSGi compliance tests from Ikuo. I did not use Ikuo's patch directly. I used it as a reference to confirm I did not miss any of the areas Ikuo changed in the patch.
Comment on attachment 127903 [details] Patch for ServiceRegistry impl compliant to RFC131 We should add Ikou to the iplog since you used his patch as guidance in the final fix.