Skip to content

Hide virtual field accessor interface methods from reflection - #4390

Merged
trask merged 1 commit into
open-telemetry:mainfrom
laurit:hide-virtual-field-accessor-interface-methods
Oct 15, 2021
Merged

Hide virtual field accessor interface methods from reflection#4390
trask merged 1 commit into
open-telemetry:mainfrom
laurit:hide-virtual-field-accessor-interface-methods

Conversation

@laurit

@laurit laurit commented Oct 15, 2021

Copy link
Copy Markdown
Contributor

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.

@trask trask left a comment

Copy link
Copy Markdown
Member

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.

4 participants