Skip to content

Commit

Permalink
Update comment for NoSuchMethodError.
Browse files Browse the repository at this point in the history
  • Loading branch information
kannanjgithub committed Jan 17, 2025
1 parent a9a019b commit 1f56282
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion netty/src/main/java/io/grpc/netty/ProtocolNegotiators.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1f56282

Please sign in to comment.