You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check target super-class implements FieldBackedContextAccessor before delegating to it
This avoids the need to create (and catch) `NoSuchMethodError`s when we fail to inject the super-class.
For example starting the profiler before byte-buddy can trigger loading of various JDK concurrent classes that we would usually inject context into.
Copy file name to clipboardExpand all lines: dd-java-agent/agent-tooling/src/main/java/datadog/trace/agent/tooling/context/FieldBackedContextInjector.java
+34-9Lines changed: 34 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -60,9 +60,14 @@ public final class FieldBackedContextInjector implements AsmVisitorWrapper {
0 commit comments