File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,6 @@ private static void installBytebuddyAgent(
137137 .with (new RedefinitionDiscoveryStrategy ())
138138 .with (AgentBuilder .DescriptionStrategy .Default .POOL_ONLY )
139139 .with (AgentTooling .poolStrategy ())
140- .with (new ClassLoadListener ())
141140 .with (AgentTooling .transformListener ())
142141 .with (AgentTooling .locationStrategy ());
143142 if (JavaModule .isSupported ()) {
@@ -172,6 +171,7 @@ private static void installBytebuddyAgent(
172171 agentListener .beforeAgent (autoConfiguredSdk );
173172 }
174173
174+ agentBuilder = agentBuilder .with (new ClassLoadListener ());
175175 agentBuilder = configureIgnoredTypes (sdkConfig , extensionClassLoader , agentBuilder );
176176
177177 int numberOfLoadedExtensions = 0 ;
You can’t perform that action at this time.
0 commit comments