pderop opened a new pull request, #602: URL: https://github.com/apache/felix-dev/pull/602
Motivation: MultiPropertyFilterIndex.handleServiceRemove cast the ServiceReference to ArrayList instead of the list of references. When a key was shared with other references, this threw a ClassCastException and the remaining keys were not cleaned up, leaving stale references in the index. Modification: Cast the list of references instead of the ServiceReference. Add FELIX6881_MultiPropertyFilterIndexRemoveTest, which removes a service having shared keys and a multi-valued objectClass. Result: Removing a service from the index no longer throws and all its keys are cleaned up. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
