526 lines
14 KiB
Smali
526 lines
14 KiB
Smali
.class public final Lkotlin/d/b;
|
|
.super Ljava/lang/Object;
|
|
|
|
|
|
# static fields
|
|
.field public static final bPX:Lkotlin/d/a;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 7
|
|
|
|
invoke-static {}, Lkotlin/d/b;->Fh()I
|
|
|
|
move-result v0
|
|
|
|
const v1, 0x10008
|
|
|
|
if-lt v0, v1, :cond_2
|
|
|
|
:try_start_0
|
|
const-string v1, "kotlin.internal.jdk8.JDK8PlatformImplementations"
|
|
|
|
invoke-static {v1}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Class;->newInstance()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "Class.forName(\"kotlin.in\u2026entations\").newInstance()"
|
|
|
|
invoke-static {v1, v2}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
:try_start_1
|
|
move-object v2, v1
|
|
|
|
check-cast v2, Lkotlin/d/a;
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_0
|
|
new-instance v2, Lkotlin/r;
|
|
|
|
const-string v3, "null cannot be cast to non-null type kotlin.internal.PlatformImplementations"
|
|
|
|
invoke-direct {v2, v3}, Lkotlin/r;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v2
|
|
:try_end_1
|
|
.catch Ljava/lang/ClassCastException; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
:catch_0
|
|
move-exception v2
|
|
|
|
:try_start_2
|
|
invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object v1
|
|
|
|
const-class v3, Lkotlin/d/a;
|
|
|
|
invoke-virtual {v3}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object v3
|
|
|
|
new-instance v4, Ljava/lang/ClassCastException;
|
|
|
|
new-instance v5, Ljava/lang/StringBuilder;
|
|
|
|
const-string v6, "Instance classloader: "
|
|
|
|
invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", base type classloader: "
|
|
|
|
invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v4, v1}, Ljava/lang/ClassCastException;-><init>(Ljava/lang/String;)V
|
|
|
|
check-cast v2, Ljava/lang/Throwable;
|
|
|
|
invoke-virtual {v4, v2}, Ljava/lang/ClassCastException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "ClassCastException(\"Inst\u2026baseTypeCL\").initCause(e)"
|
|
|
|
invoke-static {v1, v2}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
throw v1
|
|
:try_end_2
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_2 .. :try_end_2} :catch_1
|
|
|
|
:catch_1
|
|
:try_start_3
|
|
const-string v1, "kotlin.internal.JRE8PlatformImplementations"
|
|
|
|
invoke-static {v1}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Class;->newInstance()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "Class.forName(\"kotlin.in\u2026entations\").newInstance()"
|
|
|
|
invoke-static {v1, v2}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
:try_end_3
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_3 .. :try_end_3} :catch_3
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
:try_start_4
|
|
move-object v2, v1
|
|
|
|
check-cast v2, Lkotlin/d/a;
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_1
|
|
new-instance v2, Lkotlin/r;
|
|
|
|
const-string v3, "null cannot be cast to non-null type kotlin.internal.PlatformImplementations"
|
|
|
|
invoke-direct {v2, v3}, Lkotlin/r;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v2
|
|
:try_end_4
|
|
.catch Ljava/lang/ClassCastException; {:try_start_4 .. :try_end_4} :catch_2
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_4 .. :try_end_4} :catch_3
|
|
|
|
:catch_2
|
|
move-exception v2
|
|
|
|
:try_start_5
|
|
invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object v1
|
|
|
|
const-class v3, Lkotlin/d/a;
|
|
|
|
invoke-virtual {v3}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object v3
|
|
|
|
new-instance v4, Ljava/lang/ClassCastException;
|
|
|
|
new-instance v5, Ljava/lang/StringBuilder;
|
|
|
|
const-string v6, "Instance classloader: "
|
|
|
|
invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", base type classloader: "
|
|
|
|
invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v4, v1}, Ljava/lang/ClassCastException;-><init>(Ljava/lang/String;)V
|
|
|
|
check-cast v2, Ljava/lang/Throwable;
|
|
|
|
invoke-virtual {v4, v2}, Ljava/lang/ClassCastException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "ClassCastException(\"Inst\u2026baseTypeCL\").initCause(e)"
|
|
|
|
invoke-static {v1, v2}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
throw v1
|
|
:try_end_5
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_5 .. :try_end_5} :catch_3
|
|
|
|
:catch_3
|
|
:cond_2
|
|
const v1, 0x10007
|
|
|
|
if-lt v0, v1, :cond_5
|
|
|
|
:try_start_6
|
|
const-string v0, "kotlin.d.a.a"
|
|
|
|
invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->newInstance()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "Class.forName(\"kotlin.in\u2026entations\").newInstance()"
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
:try_end_6
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_6 .. :try_end_6} :catch_5
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
:try_start_7
|
|
move-object v2, v0
|
|
|
|
check-cast v2, Lkotlin/d/a;
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_3
|
|
new-instance v1, Lkotlin/r;
|
|
|
|
const-string v2, "null cannot be cast to non-null type kotlin.internal.PlatformImplementations"
|
|
|
|
invoke-direct {v1, v2}, Lkotlin/r;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v1
|
|
:try_end_7
|
|
.catch Ljava/lang/ClassCastException; {:try_start_7 .. :try_end_7} :catch_4
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_7 .. :try_end_7} :catch_5
|
|
|
|
:catch_4
|
|
move-exception v1
|
|
|
|
:try_start_8
|
|
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object v0
|
|
|
|
const-class v2, Lkotlin/d/a;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object v2
|
|
|
|
new-instance v3, Ljava/lang/ClassCastException;
|
|
|
|
new-instance v4, Ljava/lang/StringBuilder;
|
|
|
|
const-string v5, "Instance classloader: "
|
|
|
|
invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v0, ", base type classloader: "
|
|
|
|
invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {v3, v0}, Ljava/lang/ClassCastException;-><init>(Ljava/lang/String;)V
|
|
|
|
check-cast v1, Ljava/lang/Throwable;
|
|
|
|
invoke-virtual {v3, v1}, Ljava/lang/ClassCastException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "ClassCastException(\"Inst\u2026baseTypeCL\").initCause(e)"
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
:try_end_8
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_8 .. :try_end_8} :catch_5
|
|
|
|
:catch_5
|
|
:try_start_9
|
|
const-string v0, "kotlin.internal.JRE7PlatformImplementations"
|
|
|
|
invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->newInstance()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "Class.forName(\"kotlin.in\u2026entations\").newInstance()"
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
:try_end_9
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_9 .. :try_end_9} :catch_7
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
:try_start_a
|
|
move-object v2, v0
|
|
|
|
check-cast v2, Lkotlin/d/a;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
new-instance v1, Lkotlin/r;
|
|
|
|
const-string v2, "null cannot be cast to non-null type kotlin.internal.PlatformImplementations"
|
|
|
|
invoke-direct {v1, v2}, Lkotlin/r;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v1
|
|
:try_end_a
|
|
.catch Ljava/lang/ClassCastException; {:try_start_a .. :try_end_a} :catch_6
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_a .. :try_end_a} :catch_7
|
|
|
|
:catch_6
|
|
move-exception v1
|
|
|
|
:try_start_b
|
|
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object v0
|
|
|
|
const-class v2, Lkotlin/d/a;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object v2
|
|
|
|
new-instance v3, Ljava/lang/ClassCastException;
|
|
|
|
new-instance v4, Ljava/lang/StringBuilder;
|
|
|
|
const-string v5, "Instance classloader: "
|
|
|
|
invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v0, ", base type classloader: "
|
|
|
|
invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {v3, v0}, Ljava/lang/ClassCastException;-><init>(Ljava/lang/String;)V
|
|
|
|
check-cast v1, Ljava/lang/Throwable;
|
|
|
|
invoke-virtual {v3, v1}, Ljava/lang/ClassCastException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "ClassCastException(\"Inst\u2026baseTypeCL\").initCause(e)"
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
:try_end_b
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_b .. :try_end_b} :catch_7
|
|
|
|
:catch_7
|
|
:cond_5
|
|
new-instance v2, Lkotlin/d/a;
|
|
|
|
invoke-direct {v2}, Lkotlin/d/a;-><init>()V
|
|
|
|
:goto_0
|
|
sput-object v2, Lkotlin/d/b;->bPX:Lkotlin/d/a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static final Fh()I
|
|
.locals 9
|
|
|
|
const-string v0, "java.specification.version"
|
|
|
|
invoke-static {v0}, Ljava/lang/System;->getProperty(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const v1, 0x10006
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
move-object v2, v0
|
|
|
|
check-cast v2, Ljava/lang/CharSequence;
|
|
|
|
const/4 v3, 0x6
|
|
|
|
const/16 v4, 0x2e
|
|
|
|
const/4 v5, 0x0
|
|
|
|
invoke-static {v2, v4, v5, v5, v3}, Lkotlin/text/l;->a(Ljava/lang/CharSequence;CIZI)I
|
|
|
|
move-result v3
|
|
|
|
const/high16 v6, 0x10000
|
|
|
|
if-gez v3, :cond_1
|
|
|
|
:try_start_0
|
|
invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
:try_end_0
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
mul-int v1, v0, v6
|
|
|
|
:catch_0
|
|
return v1
|
|
|
|
:cond_1
|
|
add-int/lit8 v7, v3, 0x1
|
|
|
|
const/4 v8, 0x4
|
|
|
|
invoke-static {v2, v4, v7, v5, v8}, Lkotlin/text/l;->a(Ljava/lang/CharSequence;CIZI)I
|
|
|
|
move-result v2
|
|
|
|
if-gez v2, :cond_2
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v2
|
|
|
|
:cond_2
|
|
if-eqz v0, :cond_4
|
|
|
|
invoke-virtual {v0, v5, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
|
|
|
|
invoke-static {v3, v4}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
invoke-virtual {v0, v7, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v2, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
|
|
|
|
invoke-static {v0, v2}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
:try_start_1
|
|
invoke-static {v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v2
|
|
|
|
mul-int v2, v2, v6
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
:try_end_1
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
add-int v1, v2, v0
|
|
|
|
:catch_1
|
|
return v1
|
|
|
|
:cond_3
|
|
new-instance v0, Lkotlin/r;
|
|
|
|
const-string v1, "null cannot be cast to non-null type java.lang.String"
|
|
|
|
invoke-direct {v0, v1}, Lkotlin/r;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_4
|
|
new-instance v0, Lkotlin/r;
|
|
|
|
const-string v1, "null cannot be cast to non-null type java.lang.String"
|
|
|
|
invoke-direct {v0, v1}, Lkotlin/r;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|