Skip to content

Commit

Permalink
Make AgentClassLoaderAccess methods public (#4770)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
Mateusz Rzeszutek and trask authored Dec 2, 2021
1 parent c1abc01 commit f2c2b75
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ public final class AgentClassLoaderAccess {
}
}

static Class<?> loadClass(String name) {
// public for use by downstream distros
public static Class<?> loadClass(String name) {
try {
return agentClassLoader.loadClass(name);
} catch (ClassNotFoundException e) {
Expand Down

0 comments on commit f2c2b75

Please sign in to comment.