2020-07-23 01:06:17 +00:00
|
|
|
.class public final Lk0/a/w;
|
2020-05-17 12:40:10 +00:00
|
|
|
.super Ljava/lang/Object;
|
2020-07-20 19:00:44 +00:00
|
|
|
.source "CoroutineExceptionHandlerImpl.kt"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2020-07-20 19:00:44 +00:00
|
|
|
.field public static final a:Ljava/util/List;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Lkotlinx/coroutines/CoroutineExceptionHandler;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
2020-07-20 19:00:44 +00:00
|
|
|
.locals 2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-24 01:56:10 +00:00
|
|
|
invoke-static {}, La;->a()Ljava/util/Iterator;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
const-string v1, "ServiceLoader.load(\n \u2026.classLoader\n).iterator()"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {v0, v1}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-25 02:57:47 +00:00
|
|
|
invoke-static {v0}, Lf/n/a/k/a;->asSequence(Ljava/util/Iterator;)Lkotlin/sequences/Sequence;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-07-25 02:57:47 +00:00
|
|
|
invoke-static {v0}, Lf/n/a/k/a;->toList(Lkotlin/sequences/Sequence;)Ljava/util/List;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
sput-object v0, Lk0/a/w;->a:Ljava/util/List;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
return-void
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
.method public static final a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Throwable;)V
|
|
|
|
.locals 4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
sget-object v0, Lk0/a/w;->a:Ljava/util/List;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
move-result-object v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
:goto_0
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
move-result v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
const-string v2, "currentThread"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
if-eqz v1, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
move-result-object v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
check-cast v1, Lkotlinx/coroutines/CoroutineExceptionHandler;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
:try_start_0
|
|
|
|
invoke-interface {v1, p0, p1}, Lkotlinx/coroutines/CoroutineExceptionHandler;->handleException(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Throwable;)V
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
goto :goto_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
:catchall_0
|
|
|
|
move-exception v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
move-result-object v3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {v3, v2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
invoke-virtual {v3}, Ljava/lang/Thread;->getUncaughtExceptionHandler()Ljava/lang/Thread$UncaughtExceptionHandler;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
move-result-object v2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
invoke-static {p1, v1}, Lf/n/a/k/a;->G(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
move-result-object v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
invoke-interface {v2, v3, v1}, Ljava/lang/Thread$UncaughtExceptionHandler;->uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-07-20 19:00:44 +00:00
|
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p0, v2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
invoke-virtual {p0}, Ljava/lang/Thread;->getUncaughtExceptionHandler()Ljava/lang/Thread$UncaughtExceptionHandler;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
move-result-object v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
invoke-interface {v0, p0, p1}, Ljava/lang/Thread$UncaughtExceptionHandler;->uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
return-void
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|