Remove unused fetch JMX classloader
MODIFY
javaagent/src/test/java/io/opentelemetry/javaagent/IntegrationTestUtils.java
javaagent/src/test/java/io/opentelemetry/javaagent/IntegrationTestUtils.java
@@ -36,11 +36,6 @@ public class IntegrationTestUtils {
return getAgentFieldClassloader("AGENT_CLASSLOADER");
}
- /** Returns the classloader the jmxfetch is running on. */
- public static ClassLoader getJmxFetchClassLoader() {
- return getAgentFieldClassloader("JMXFETCH_CLASSLOADER");
- }
-
private static ClassLoader getAgentFieldClassloader(String fieldName) {
Field classloaderField = null;
try {

Remove unused fetch JMX classloader (#1901)

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>