Skip to content

Commit

Permalink
replace deprecated method usage
Browse files Browse the repository at this point in the history
  • Loading branch information
laurit committed Apr 6, 2022
1 parent bd435b0 commit 77dae8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class AgentCachingPoolStrategy implements AgentBuilder.PoolStrategy {
// others to avoid creation of synthetic accessors

private static final boolean REFLECTION_ENABLED =
Config.get().isInstrumentationEnabled(Collections.singleton("internal-reflection"), true);
Config.get().getBoolean("otel.instrumentation.internal-reflection.enabled", true);
private static final Method findLoadedClassMethod = getFindLoadedClassMethod();

static final int TYPE_CAPACITY = 64;
Expand Down

0 comments on commit 77dae8d

Please sign in to comment.