pderop opened a new pull request, #601: URL: https://github.com/apache/felix-dev/pull/601
Motivation: If registerService() fails with an exception other than IllegalArgumentException (e.g. a failing propagate callback), the ServiceRegistrationImpl wrapper is never filled in. Stopping the component then blocks forever in ServiceRegistrationImpl.unregister(), which freezes the bundle stop. Modification: Compute the service properties inside the try block and catch RuntimeException, so the wrapper is set to the illegal state. Add FELIX6882_RegisterServiceFailureTest to reproduce the hang. Result: A failed service registration is logged and the component can be stopped normally. -- 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]
