From d73f6e31cc54362ba01dda0b193bcb9c016ea5e1 Mon Sep 17 00:00:00 2001 From: Margarita Bobova <32216159+woainikk@users.noreply.github.com> Date: Mon, 10 Apr 2023 19:25:02 +0200 Subject: [PATCH] Replace deprecated ThreadLocal with kotlin.native.concurrent.ThreadLocal (#2266) --- .../nativeMain/src/kotlinx/serialization/json/JsonSchemaCache.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/formats/json/nativeMain/src/kotlinx/serialization/json/JsonSchemaCache.kt b/formats/json/nativeMain/src/kotlinx/serialization/json/JsonSchemaCache.kt index 16e223a0b0..520a3b6d95 100644 --- a/formats/json/nativeMain/src/kotlinx/serialization/json/JsonSchemaCache.kt +++ b/formats/json/nativeMain/src/kotlinx/serialization/json/JsonSchemaCache.kt @@ -7,6 +7,7 @@ package kotlinx.serialization.json import kotlinx.serialization.json.internal.* import kotlin.native.ref.* import kotlin.random.* +import kotlin.native.concurrent.* /** * This maps emulate thread-locality of DescriptorSchemaCache for Native.