Implement common Throwable.addSuppressed/suppressed extensions

Instead of `suppressed` Array we provide `suppressedExceptions` List

#KT-23737
This commit is contained in:
Ilya Gorbunov
2020-03-06 20:26:06 +03:00
parent e8a54d6c75
commit 7b7263c5bf
11 changed files with 128 additions and 31 deletions
@@ -21,6 +21,7 @@ public abstract interface annotation class kotlin/DslMarker : java/lang/annotati
public final class kotlin/ExceptionsKt {
public static final fun addSuppressed (Ljava/lang/Throwable;Ljava/lang/Throwable;)V
public static final fun getStackTrace (Ljava/lang/Throwable;)[Ljava/lang/StackTraceElement;
public static final fun getSuppressedExceptions (Ljava/lang/Throwable;)Ljava/util/List;
}
public abstract interface annotation class kotlin/Experimental : java/lang/annotation/Annotation {