GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

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

Ouverte
#1,095 3 commentaires 0 réactions 1 personne assignée Réclamée par @suztomo Voir sur GitHub
enhancement p2
Langage dominant
Java
Étoiles
163
Forks
80
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.