Skip to content
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

Instrument JBoss Modules to relax visibility rules during transform requests #3896

Merged
merged 2 commits into from
Oct 11, 2022

Conversation

mcculls
Copy link
Contributor

@mcculls mcculls commented Sep 26, 2022

What Does This Do

Uses same general approach as #2321 to widen agent resource and class lookups to include dependent modules. Only checks the first level of dependencies because in practice that's been enough for OSGi and it makes the solution simpler.

Motivation

This relaxation of modularity rules is sometimes necessary when injecting advice, because it may refer to related packages that would have been imported if the original code had needed them.

@mcculls mcculls added the inst: others All other instrumentations label Sep 26, 2022
@mcculls mcculls marked this pull request as ready for review September 27, 2022 08:23
@mcculls mcculls requested a review from a team as a code owner September 27, 2022 08:23
@mcculls mcculls merged commit b13d0f5 into master Oct 11, 2022
@mcculls mcculls deleted the mcculls/jbossModules branch October 11, 2022 10:06
@github-actions github-actions bot added this to the 0.112.0 milestone Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inst: others All other instrumentations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants