mirror of https://github.com/grpc/grpc-java.git
Instead of failing after a a missing A/AAAA record, this change makes the resolver keep going and try out SRV records too. This is needed for use with ALTS, and is part of the gRPCLB spec. This change also moved the JNDI code to a separate, reflectively loaded file. This makes it easy to exclude the file and not worry about the missing class references on Android. Additionally, if javax.naming might be available on Android, this allows it to be loaded. A key side effect of this is that DnsNameResolver is smaller, and more cleanly tested. |
||
|---|---|---|
| .. | ||
| src | ||
| BUILD.bazel | ||
| build.gradle | ||