diff --git a/netty/src/main/java/io/grpc/netty/ProtocolNegotiators.java b/netty/src/main/java/io/grpc/netty/ProtocolNegotiators.java index 6f1ad3f4842..2b59488ed08 100644 --- a/netty/src/main/java/io/grpc/netty/ProtocolNegotiators.java +++ b/netty/src/main/java/io/grpc/netty/ProtocolNegotiators.java @@ -597,7 +597,8 @@ static final class ClientTlsProtocolNegotiator implements ProtocolNegotiator { } catch (ClassNotFoundException e) { // Per-rpc authority overriding via call options will be disallowed. } catch (NoSuchMethodException e) { - // Should never happen. + // Should never happen since X509ExtendedTrustManager was introduced in Android API level 24 + // along with checkServerTrusted. } checkServerTrustedMethod = method; }