GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

False Negative in example-problems/no-such-method-error-signature-mismatch

Đang mở
#1,375 2 bình luận 0 reaction 1 người được giao Được @suztomo nhận Xem trên GitHub
bug p3
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.

Screen Shot 2020-04-27 at 14 18 12

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.