Skip to content

Filter abi jar from jdeps classpath #1340

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rbeazleyspot
Copy link
Contributor

@rbeazleyspot rbeazleyspot commented Jun 23, 2025

Following on from #1337 (a particularly l33t PR), it was noticed that the --direct_dependencies (used for the jdeps compiler plugin) include the ABI jar for an associate when instead the runtime class jar should be used.

This is a proposal to remedy this, instead of generating a list of compile jars from the targets deps at the point of compiler flag generation. This list is pre-generated in the jvm_deps functions where the abi jar can be filtered out.

It turns out that this list is identical to the compile_jars list when experimental_prune_transitive_deps is enabled, so when this stops being experimental things should get much simpler.

@rbeazleyspot rbeazleyspot marked this pull request as ready for review June 23, 2025 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant