Community
Participate
Working Groups
The BundleContext test stub does not remove services on ServiceRegistration.unregister() This results in incorrect service references returned by BundleContext.getServiceReference() and BundleContext.getServiceReferences() methods. BundleContext.getService(ServiceReference) handles this by checking for unregistered flag of the argument reference
Services are now removed with commit fd6573dcbd7a71d5286eb1027eb27683472be21c. The test for unregistered service now checks the references as well.
Cherry picked in 3.0.2 with 9606c08dd0011e0cce27ab7fa8fbc124eae5d604