GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java
False Negative in example-problems/no-such-method-error-signature-mismatch
- Ngôn ngữ chính
- Java
- Star
- 163
- Fork
- 80
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Fork of one problem found in #1372.
Since #1302, in example-problems/no-such-method-error-signature-mismatch, LinkageChecker does not report the DnsNameResolver error because its [`DnsNameResolver$ResourceResolverFactory.getResourcResolverFactory(ClassLoader loader)`](https://github.com/grpc/grpc-java/blob/v1.17.0/core/src/main/java/io/grpc/internal/DnsNameResolver.java#L652) catches ClassNotFoundException. `ClassDumper.catchesLinkageError` returns true for the class, suppressing the linkage error.
This is false negative because `mvn exec:java` in the example project fails because of NoSuchMethodException.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.