mirror of https://github.com/grpc/grpc-java.git
The ManagedChannelImpl change prevents any LB initialization failure from producing a useless exception like: java.lang.NullPointerException at io.grpc.internal.ManagedChannelImpl.shutdownNameResolverAndLoadBalancer(ManagedChannelImpl.java:321) at io.grpc.internal.ManagedChannelImpl.panic(ManagedChannelImpl.java:738) at io.grpc.internal.ManagedChannelImpl$1.uncaughtException(ManagedChannelImpl.java:144) Instead, now it will have the expected panic behavior of an INTERNAL Status with a proper cause. Since the NPE in AutoConfiguredLoadBalancerFactory wouldn't mean much to users, it now has a more explicit message. |
||
|---|---|---|
| .. | ||
| src | ||
| BUILD.bazel | ||
| build.gradle | ||