We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 966b621 commit 14fba8fCopy full SHA for 14fba8f
src/jvm/main/org/jetbrains/kotlinx/lincheck/transformation/LincheckJavaAgent.kt
@@ -429,7 +429,11 @@ internal object LincheckClassFileTransformer : ClassFileTransformer {
429
if (className.startsWith("kotlin.coroutines.")) return true
430
return false
431
}
432
- if (className.startsWith("kotlinx.atomicfu.")) return false
+ // We do not instrument AtomicFU atomics.
433
+ if (className.startsWith("kotlinx.atomicfu.")) {
434
+ if (className.contains("Atomic")) return false
435
+ return true
436
+ }
437
// We need to skip the classes related to the debugger support in Kotlin coroutines.
438
if (className.startsWith("kotlinx.coroutines.debug.")) return false
439
if (className == "kotlinx.coroutines.DebugKt") return false
0 commit comments