grpc / grpc-java

The Java gRPC implementation. HTTP/2 based RPC
https://grpc.io/docs/languages/java/
Apache License 2.0
11.48k stars 3.85k forks source link

api: When forwarding from Listener onAddresses to Listener2 continue to use onResult #11666

Closed kannanjgithub closed 2 weeks ago

kannanjgithub commented 2 weeks ago

When forwarding from Listener onAddresses to Listener2 continue to use onResult and not onResult2 because the latter requires to be called from within synchronization context and it breaks existing code that didn't need to do so when using the old Listener interface.

ejona86 commented 1 week ago

Fixes #11662