From 57904f117f2fe8b3deb18165b04528a581bdda0a Mon Sep 17 00:00:00 2001 From: Pavel Punegov Date: Wed, 5 Apr 2023 16:04:56 +0000 Subject: [PATCH] [K/N][test] Add missing opt-in for setUnhandledExceptionHook This is follow-up to KT-MR-9340 Merge-request: KT-MR-9488 Merged-by: Pavel Punegov --- .../tests/interop/threadStates/unhandledException.kt | 2 +- .../interop/threadStates/unhandledExceptionInForeignThread.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kotlin-native/backend.native/tests/interop/threadStates/unhandledException.kt b/kotlin-native/backend.native/tests/interop/threadStates/unhandledException.kt index 95d3075b54a..e47bcc8006e 100644 --- a/kotlin-native/backend.native/tests/interop/threadStates/unhandledException.kt +++ b/kotlin-native/backend.native/tests/interop/threadStates/unhandledException.kt @@ -2,7 +2,7 @@ * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ -@file:OptIn(FreezingIsDeprecated::class) +@file:OptIn(FreezingIsDeprecated::class, ExperimentalStdlibApi::class) import kotlin.native.concurrent.* import kotlin.native.internal.Debugging diff --git a/kotlin-native/backend.native/tests/interop/threadStates/unhandledExceptionInForeignThread.kt b/kotlin-native/backend.native/tests/interop/threadStates/unhandledExceptionInForeignThread.kt index aa670ed272a..09c62025064 100644 --- a/kotlin-native/backend.native/tests/interop/threadStates/unhandledExceptionInForeignThread.kt +++ b/kotlin-native/backend.native/tests/interop/threadStates/unhandledExceptionInForeignThread.kt @@ -2,7 +2,7 @@ * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ -@file:OptIn(FreezingIsDeprecated::class) +@file:OptIn(FreezingIsDeprecated::class, ExperimentalStdlibApi::class) import kotlin.native.concurrent.* import kotlin.native.internal.Debugging