Skip to content

Commit e0ed96a

Browse files
committed
fixup! feat(asm): Improve block check injection
1 parent f7a47b9 commit e0ed96a

File tree

1 file changed

+4
-5
lines changed
  • dd-java-agent/instrumentation/jetty-common/src/main/java/datadog/trace/instrumentation/jetty9

1 file changed

+4
-5
lines changed

dd-java-agent/instrumentation/jetty-common/src/main/java/datadog/trace/instrumentation/jetty9/HandleVisitor.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,8 @@ public void visitMethodInsn(
341341
super.visitInvokeDynamicInsn(
342342
"dispatch",
343343
"(Lorg/eclipse/jetty/server/Request;Lorg/eclipse/jetty/server/Response;"
344-
// + Type.getDescriptor(Flow.Action.RequestBlockingAction.class)
345-
// + Type.getDescriptor(AgentSpan.class)
344+
// + Type.getDescriptor(Flow.Action.RequestBlockingAction.class)
345+
// + Type.getDescriptor(AgentSpan.class)
346346
+ Type.getDescriptor(Context.class)
347347
+ ")Lorg/eclipse/jetty/server/HttpChannel$Dispatchable;",
348348
new Handle(
@@ -358,9 +358,8 @@ public void visitMethodInsn(
358358
Type.getInternalName(JettyBlockingHelper.class),
359359
"blockAndThrowOnFailure",
360360
"(Lorg/eclipse/jetty/server/Request;Lorg/eclipse/jetty/server/Response;"
361-
// +
362-
// Type.getDescriptor(Flow.Action.RequestBlockingAction.class)
363-
// + Type.getDescriptor(AgentSpan.class)
361+
// + Type.getDescriptor(Flow.Action.RequestBlockingAction.class)
362+
// + Type.getDescriptor(AgentSpan.class)
364363
+ Type.getDescriptor(Context.class)
365364
+ ")V",
366365
false),

0 commit comments

Comments
 (0)