Skip to content

Commit 6b93ebd

Browse files
committed
feat(concurrency): Add comment from feedback
1 parent 75f3e5b commit 6b93ebd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dd-java-agent/instrumentation/java-concurrent/java-concurrent-25/src/main/java/datadog/trace/instrumentation/java/concurrent/structuredconcurrency/StructuredTaskScopeInstrumentation.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ public void methodAdvice(MethodTransformer transformer) {
5454
public static final class ConstructorAdvice {
5555
@Advice.OnMethodExit
5656
public static <T> void captureScope(
57-
@Advice.This Object task // StructuredTaskScopeImpl.SubtaskImpl (can't use the type)
57+
@Advice.This Object task // StructuredTaskScopeImpl.SubtaskImpl
58+
// (the advice are compile against Java 8 so the type from JDK25 can't be referred)
5859
) {
5960
ContextStore<Object, State> contextStore =
6061
InstrumentationContext.get(

0 commit comments

Comments
 (0)