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

Make AgentClassLoaderAccess methods public #4770

Conversation

mateuszrzeszutek
Copy link
Member

This class used to have a public getter that exposed the agent/extension classloader and we were using it in our distro's tests; the loadClass() method is pretty much equivalent to that.

…g/common/AgentClassLoaderAccess.java

Co-authored-by: Trask Stalnaker <[email protected]>
@mateuszrzeszutek mateuszrzeszutek merged commit f2c2b75 into open-telemetry:main Dec 2, 2021
@mateuszrzeszutek mateuszrzeszutek deleted the fix-test-classloader-access branch December 2, 2021 11:48
RashmiRam pushed a commit to RashmiRam/opentelemetry-auto-instr-java that referenced this pull request May 23, 2022
* Make AgentClassLoaderAccess methods public

* Update testing-common/src/main/java/io/opentelemetry/javaagent/testing/common/AgentClassLoaderAccess.java

Co-authored-by: Trask Stalnaker <[email protected]>

Co-authored-by: Trask Stalnaker <[email protected]>
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

2 participants