From 95725997d9e7d154ff10243268e93dac43966aba Mon Sep 17 00:00:00 2001 From: Jay DeLuca Date: Wed, 8 Oct 2025 13:12:56 -0400 Subject: [PATCH] Enable strict context check for kotlinx coroutines --- .../kotlinx-coroutines-flow-1.3/javaagent/build.gradle.kts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/instrumentation/kotlinx-coroutines/kotlinx-coroutines-flow-1.3/javaagent/build.gradle.kts b/instrumentation/kotlinx-coroutines/kotlinx-coroutines-flow-1.3/javaagent/build.gradle.kts index d9106b5245af..1d4320aefda6 100644 --- a/instrumentation/kotlinx-coroutines/kotlinx-coroutines-flow-1.3/javaagent/build.gradle.kts +++ b/instrumentation/kotlinx-coroutines/kotlinx-coroutines-flow-1.3/javaagent/build.gradle.kts @@ -41,7 +41,3 @@ kotlin { jvmTarget.set(JvmTarget.JVM_1_8) } } - -tasks.withType().configureEach { - jvmArgs("-Dio.opentelemetry.javaagent.shaded.io.opentelemetry.context.enableStrictContext=false") -}