diff --git a/instrumentation/rmi/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/rmi/context/jpms/RmiJpmsInstrumentationModule.java b/instrumentation/rmi/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/rmi/context/jpms/RmiJpmsInstrumentationModule.java index 6baf3baad0e0..dbcc4ff1271f 100644 --- a/instrumentation/rmi/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/rmi/context/jpms/RmiJpmsInstrumentationModule.java +++ b/instrumentation/rmi/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/rmi/context/jpms/RmiJpmsInstrumentationModule.java @@ -21,6 +21,12 @@ @AutoService(InstrumentationModule.class) public class RmiJpmsInstrumentationModule extends InstrumentationModule { + // TODO: this instrumentation is only kept for inlined advices and will be removed once migration + // to indy instrumentation is complete. + // + // For Indy instrumentation, this is replaced with + // ExperimentalInstrumentationModule#jpmsModulesToOpen + public RmiJpmsInstrumentationModule() { super("rmi", "rmi-jpms"); }