Skip to content

Commit 4f4abeb

Browse files
committed
Add comments
1 parent 473eccc commit 4f4abeb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

instrumentation/internal/internal-class-loader/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/internal/classloader/BootDelegationInstrumentation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public void transform(TypeTransformer transformer) {
6161
.and(takesArgument(1, boolean.class))))
6262
.and(isPublic().or(isProtected()))
6363
.and(not(isStatic()));
64-
64+
// Inline instrumentation to prevent problems with invokedynamic-recursion
6565
transformer.applyTransformer(
6666
new AgentBuilder.Transformer.ForAdvice()
6767
.include(Utils.getBootstrapProxy(), Utils.getAgentClassLoader())

instrumentation/internal/internal-class-loader/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/internal/classloader/LoadInjectedClassInstrumentation.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public void transform(TypeTransformer transformer) {
5151
.and(takesArgument(1, boolean.class))))
5252
.and(isPublic().or(isProtected()))
5353
.and(not(isStatic()));
54+
// Inline instrumentation to prevent problems with invokedynamic-recursion
5455
transformer.applyTransformer(
5556
new AgentBuilder.Transformer.ForAdvice()
5657
.include(Utils.getBootstrapProxy(), Utils.getAgentClassLoader())

0 commit comments

Comments
 (0)