From ff57a6be715d32d9ff545d98b1b1e4efc04fdb6f Mon Sep 17 00:00:00 2001 From: Lauri Tulmin Date: Mon, 25 Aug 2025 15:18:53 +0300 Subject: [PATCH] Fix xxl-job latest dep test --- .../instrumentation/xxljob/ReflectiveMethodsFactory.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/instrumentation/xxl-job/xxl-job-common/testing/src/main/java/io/opentelemetry/instrumentation/xxljob/ReflectiveMethodsFactory.java b/instrumentation/xxl-job/xxl-job-common/testing/src/main/java/io/opentelemetry/instrumentation/xxljob/ReflectiveMethodsFactory.java index fd772a4611d3..45613f82416e 100644 --- a/instrumentation/xxl-job/xxl-job-common/testing/src/main/java/io/opentelemetry/instrumentation/xxljob/ReflectiveMethodsFactory.java +++ b/instrumentation/xxl-job/xxl-job-common/testing/src/main/java/io/opentelemetry/instrumentation/xxljob/ReflectiveMethodsFactory.java @@ -21,7 +21,9 @@ public void initMethod() {} public void destroyMethod() {} public ReturnT echo(String param) { - return new ReturnT<>("echo: " + param); + ReturnT result = new ReturnT<>(); + result.setContent("echo: " + param); + return result; } }