Skip to content

Commit 1f56282

Browse files
committed
Update comment for NoSuchMethodError.
1 parent a9a019b commit 1f56282

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

netty/src/main/java/io/grpc/netty/ProtocolNegotiators.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,8 @@ static final class ClientTlsProtocolNegotiator implements ProtocolNegotiator {
597597
} catch (ClassNotFoundException e) {
598598
// Per-rpc authority overriding via call options will be disallowed.
599599
} catch (NoSuchMethodException e) {
600-
// Should never happen.
600+
// Should never happen since X509ExtendedTrustManager was introduced in Android API level 24
601+
// along with checkServerTrusted.
601602
}
602603
checkServerTrustedMethod = method;
603604
}

0 commit comments

Comments
 (0)