GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

Exclusion file: tell unused exclusion elements in the file

Open
#1,275 0 comments 0 reactions 1 assignee Claimed by @suztomo View on GitHub
enhancement p3
Dominant language
Java
Stars
163
Forks
80
PR merge metrics
No merged PRs in 30d

Description

Linkage Checker tells unused exclusion elements that did not match any linkage errors. This shows improvement in the dependency compatibility. The exit code is 1 to indicate the exclusion file needs to be updated accordingly.

# What the output looks like?

```
LinkageCheckerMain -a foo:bar:1.2.3 -e exclusions.xml

...

The following rule did not match any linkage errors:

exclusions.xml: line 56:








GraalVM-related libraries depend on Java Compiler Interface (JVMCI) that
only exists in special JDK. These missing classes are false positives, because
the code is only invoked when running in a GraalVM.
https://github.com/GoogleCloudPlatform/cloud-opensource-java/issues/929


```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.