java.lang.Object
io.opentelemetry.javaagent.tooling.instrumentation.indy.LookupExposer

public class LookupExposer extends Object
This class is injected into every InstrumentationModuleClassLoader so that the bootstrap can use a MethodHandles.Lookup with a lookup class from within the InstrumentationModuleClassLoader, instead of calling MethodHandles.lookup() which uses the caller class as the lookup class.

This circumvents a nasty JVM bug that's described here. The error is reproduced in InstrumentationModuleClassLoaderTest