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 virtual field accessor interface methods from reflection #4390

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Oct 15, 2021

Alternative to #4385. Ideally application should not be able to reflectively observe virtual fields and accessor methods associated with them. Currently it is possible to see methods defined in virtual field accessor interfaces, which this pr corrects.

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.

nice 👍

@trask trask merged commit 0ba49ac into open-telemetry:main Oct 15, 2021
@laurit laurit deleted the hide-virtual-field-accessor-interface-methods branch January 7, 2022 11:33
RashmiRam pushed a commit to RashmiRam/opentelemetry-auto-instr-java that referenced this pull request May 23, 2022
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.

None yet

4 participants