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

Hide our generated fields and methods from reflection #3948

Merged
merged 1 commit into from
Aug 25, 2021

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Aug 25, 2021

Resolves #3926
Hide fields and methods added by FieldBackedProvider from reflection. Note this solution will not work on early ibm 8 vms that do not call Reflection.filterFields from Class.getDeclaredFields.

Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pure magic 🧙‍♂️✨

@trask trask merged commit 564f51c into open-telemetry:main Aug 25, 2021
@laurit laurit deleted the hide-our-fields-from-reflection branch August 25, 2021 16:30
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.

app using codehaus.plexus failed to generate bean with java instrumentation
3 participants