Skip to content

Commit

Permalink
Update instrumentation/internal/internal-class-loader/javaagent/src/m…
Browse files Browse the repository at this point in the history
…ain/java/io/opentelemetry/javaagent/instrumentation/internal/classloader/BootDelegationInstrumentation.java

Co-authored-by: SylvainJuge <763082+SylvainJuge@users.noreply.github.com>
  • Loading branch information
JonasKunz and SylvainJuge committed Sep 19, 2024
1 parent f351043 commit e8a5ef2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ public ElementMatcher<TypeDescription> typeMatcher() {
// bootstrap loader (or happen to _be_ the bootstrap loader)
// The AgentClassLoader and InstrumentationModuleClassloaders are required to be excluded
// for the instrumentation to work properly. loadClass on those is invoked during Advice
// bootstrapping
// which therefore would cause an infinite recursion
// bootstrapping which therefore would cause an infinite recursion
return not(namedOneOf(
"java.lang.ClassLoader",
"com.ibm.oti.vm.BootstrapClassLoader",
Expand Down

0 comments on commit e8a5ef2

Please sign in to comment.