Skip to content

Commit 9e48387

Browse files
committed
Avoid direct use of byte-buddy's ClassLoadingStrategy.Default.INJECTION as it will fail for Java 26+
1 parent c8e4ce5 commit 9e48387

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dd-java-agent/agent-tooling/src/test/groovy/datadog/trace/agent/tooling/csi/CallSiteInstrumentationTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class CallSiteInstrumentationTest extends BaseCallSiteTest {
162162
})
163163
)
164164
.make()
165-
.load(Thread.currentThread().contextClassLoader, ClassLoadingStrategy.Default.INJECTION)
165+
.load(Thread.currentThread().contextClassLoader, ClassLoadingStrategy.Default.WRAPPER)
166166
return Tuple.tuple(newType.loaded, newType.bytes)
167167
}
168168

0 commit comments

Comments
 (0)