jbonofre opened a new pull request, #689: URL: https://github.com/apache/camel-karaf/pull/689
The isSynthetic() guard in BeanInfo.findMostSpecificOverride() prevents detection of method overrides from synthetic classes. This causes both the proxy's and the interface's method to be registered as separate operations, leading to AmbiguousMethodCallException when invoking methods on OSGi Blueprint service reference proxies. Add a new branch that detects overrides from non-hidden synthetic classes implementing interfaces (such as Blueprint proxies) while still excluding hidden synthetic classes (lambdas, method references) to preserve annotation discovery. -- 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]
