GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

Linkage Checker to report which version of a library has expected symbols

未關閉
#1,095 3 則留言 0 個 reaction 已指派 1 人 已被 @suztomo 認領 在 GitHub 檢視
enhancement p2
主要語言
Java
星號
163
分支
80
PR 合併指標
30 天內沒有已合併 PR

描述

Linkage Checker to report which version of a library has expected symbols.

Regarding the error below, it would be nice if it can show which versions of Guava (1) curator-client 4.2.0 uses and (2) the class path actually contains.

```
Class com.google.common.reflect.TypeToken is not found;
referenced by 6 class files
org.apache.curator.shaded.com.google.common.eventbus.SubscriberRegistry (curator-client-4.2.0.jar)
org.apache.curator.shaded.com.google.common.reflect.Element (curator-client-4.2.0.jar)
org.apache.curator.shaded.com.google.common.reflect.ImmutableTypeToInstanceMap (curator-client-4.2.0.jar)
org.apache.curator.shaded.com.google.common.reflect.Invokable (curator-client-4.2.0.jar)
org.apache.curator.shaded.com.google.common.reflect.MutableTypeToInstanceMap (curator-client-4.2.0.jar)
org.apache.curator.shaded.com.google.common.reflect.TypeToken (curator-client-4.2.0.jar)
```

After getting the error, we can report the different Guava versions by resolving the dependency of the Maven artifact of the source class.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。