From 8e4c0f633c51e3ec00ca7b353c8f9a33389d2c3b Mon Sep 17 00:00:00 2001 From: heyams Date: Wed, 2 Oct 2024 16:32:15 -0700 Subject: [PATCH] Fix NoSuchMethodError: 'scala.collection.Seq scala.collection.mutable.Map.toSeq() --- .../playws/PlayScalaStreamedWsClientBaseTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/instrumentation/play/play-ws/play-ws-common/testing/src/main/java/io/opentelemetry/javaagent/instrumentation/playws/PlayScalaStreamedWsClientBaseTest.java b/instrumentation/play/play-ws/play-ws-common/testing/src/main/java/io/opentelemetry/javaagent/instrumentation/playws/PlayScalaStreamedWsClientBaseTest.java index 8c589b23714a..16cee17148ab 100644 --- a/instrumentation/play/play-ws/play-ws-common/testing/src/main/java/io/opentelemetry/javaagent/instrumentation/playws/PlayScalaStreamedWsClientBaseTest.java +++ b/instrumentation/play/play-ws/play-ws-common/testing/src/main/java/io/opentelemetry/javaagent/instrumentation/playws/PlayScalaStreamedWsClientBaseTest.java @@ -17,11 +17,11 @@ import play.api.libs.ws.StandaloneWSResponse; import play.api.libs.ws.ahc.StandaloneAhcWSClient; import scala.Function1; -import scala.collection.JavaConverters; import scala.concurrent.Await; import scala.concurrent.ExecutionContext; import scala.concurrent.Future; import scala.concurrent.duration.Duration; +import scala.jdk.javaapi.CollectionConverters; import scala.util.Try; public class PlayScalaStreamedWsClientBaseTest extends PlayWsClientBaseTest { @@ -59,7 +59,7 @@ public StandaloneWSRequest buildRequest(String method, URI uri, Map