diff --git a/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt b/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt index 53636335463..c6a6791c326 100644 --- a/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt +++ b/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt @@ -51,6 +51,8 @@ public open class Throwable(open val message: String?, open val cause: Throwable /** * Prints the [detailed description][Throwable.stackTraceToString] of this throwable to the standard output. + * + * Note that the format of the output is not stable and may change in the future. */ public fun printStackTrace(): Unit = ExceptionTraceBuilder(this).print() @@ -160,12 +162,16 @@ private external fun getStackTraceStrings(stackTrace: NativePtrArray): Array