2020-04-27 20:53:11 +00:00
|
|
|
.class public final Lx/t/b;
|
2019-12-06 03:29:40 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "PlatformImplementations.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2020-04-27 20:53:11 +00:00
|
|
|
.field public static final a:Lx/t/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 11
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
const-class v0, Lx/t/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const-string v1, "java.specification.version"
|
|
|
|
|
|
|
|
invoke-static {v1}, Ljava/lang/System;->getProperty(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
|
|
|
const/4 v2, 0x6
|
|
|
|
|
|
|
|
const/16 v3, 0x2e
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v1, v3, v4, v4, v2}, Lx/a0/u;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
const/high16 v5, 0x10000
|
|
|
|
|
|
|
|
if-gez v2, :cond_0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
mul-int v1, v1, v5
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
add-int/lit8 v6, v2, 0x1
|
|
|
|
|
|
|
|
const/4 v7, 0x4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v1, v3, v6, v4, v7}, Lx/a0/u;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-gez v3, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-virtual {v1, v4, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const-string v4, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v2, v4}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1, v6, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v1, v4}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:try_start_1
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
mul-int v2, v2, v5
|
|
|
|
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
:try_end_1
|
|
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
|
|
|
|
add-int/2addr v1, v2
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
:cond_2
|
|
|
|
const v1, 0x10006
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
const v2, 0x10008
|
|
|
|
|
|
|
|
const-string v3, "ClassCastException(\"Inst\u2026baseTypeCL\").initCause(e)"
|
|
|
|
|
|
|
|
const-string v4, ", base type classloader: "
|
|
|
|
|
|
|
|
const-string v5, "Instance classloader: "
|
|
|
|
|
|
|
|
const-string v6, "Class.forName(\"kotlin.in\u2026entations\").newInstance()"
|
|
|
|
|
|
|
|
if-lt v1, v2, :cond_3
|
|
|
|
|
|
|
|
const-string v2, "kotlin.internal.jdk8.JDK8PlatformImplementations"
|
|
|
|
|
|
|
|
:try_start_2
|
|
|
|
invoke-static {v2}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Class;->newInstance()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v2, v6}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
:try_end_2
|
|
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_2 .. :try_end_2} :catch_2
|
|
|
|
|
|
|
|
:try_start_3
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v2, Lx/t/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
:try_end_3
|
|
|
|
.catch Ljava/lang/ClassCastException; {:try_start_3 .. :try_end_3} :catch_1
|
|
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_3 .. :try_end_3} :catch_2
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:catch_1
|
|
|
|
move-exception v7
|
|
|
|
|
|
|
|
:try_start_4
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
new-instance v9, Ljava/lang/ClassCastException;
|
|
|
|
|
|
|
|
new-instance v10, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v10}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v10, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v10, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v10, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v10, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-direct {v9, v2}, Ljava/lang/ClassCastException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v9, v7}, Ljava/lang/ClassCastException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v2, v3}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v2
|
|
|
|
:try_end_4
|
|
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_4 .. :try_end_4} :catch_2
|
|
|
|
|
|
|
|
:catch_2
|
|
|
|
const-string v2, "kotlin.internal.JRE8PlatformImplementations"
|
|
|
|
|
|
|
|
:try_start_5
|
|
|
|
invoke-static {v2}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Class;->newInstance()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v2, v6}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
:try_end_5
|
|
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_5 .. :try_end_5} :catch_4
|
|
|
|
|
|
|
|
:try_start_6
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v2, Lx/t/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
:try_end_6
|
|
|
|
.catch Ljava/lang/ClassCastException; {:try_start_6 .. :try_end_6} :catch_3
|
|
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_6 .. :try_end_6} :catch_4
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:catch_3
|
|
|
|
move-exception v7
|
|
|
|
|
|
|
|
:try_start_7
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
new-instance v9, Ljava/lang/ClassCastException;
|
|
|
|
|
|
|
|
new-instance v10, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v10}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v10, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v10, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v10, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v10, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-direct {v9, v2}, Ljava/lang/ClassCastException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v9, v7}, Ljava/lang/ClassCastException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v2, v3}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v2
|
|
|
|
:try_end_7
|
|
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_7 .. :try_end_7} :catch_4
|
|
|
|
|
|
|
|
:catch_4
|
|
|
|
nop
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const v2, 0x10007
|
|
|
|
|
|
|
|
if-lt v1, v2, :cond_4
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
const-string v1, "x.t.c.a"
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:try_start_8
|
|
|
|
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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v1, v6}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
:try_end_8
|
|
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_8 .. :try_end_8} :catch_6
|
|
|
|
|
|
|
|
:try_start_9
|
|
|
|
move-object v2, v1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v2, Lx/t/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
:try_end_9
|
|
|
|
.catch Ljava/lang/ClassCastException; {:try_start_9 .. :try_end_9} :catch_5
|
|
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_9 .. :try_end_9} :catch_6
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:catch_5
|
|
|
|
move-exception v2
|
|
|
|
|
|
|
|
:try_start_a
|
|
|
|
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
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
|
|
|
new-instance v8, Ljava/lang/ClassCastException;
|
|
|
|
|
|
|
|
new-instance v9, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v9, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v9, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v9, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v9, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-direct {v8, v1}, Ljava/lang/ClassCastException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v8, v2}, Ljava/lang/ClassCastException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v1, v3}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v1
|
|
|
|
:try_end_a
|
|
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_a .. :try_end_a} :catch_6
|
|
|
|
|
|
|
|
:catch_6
|
|
|
|
const-string v1, "kotlin.internal.JRE7PlatformImplementations"
|
|
|
|
|
|
|
|
:try_start_b
|
|
|
|
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
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v1, v6}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
:try_end_b
|
|
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_b .. :try_end_b} :catch_8
|
|
|
|
|
|
|
|
:try_start_c
|
|
|
|
move-object v2, v1
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
check-cast v2, Lx/t/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
:try_end_c
|
|
|
|
.catch Ljava/lang/ClassCastException; {:try_start_c .. :try_end_c} :catch_7
|
|
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_c .. :try_end_c} :catch_8
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:catch_7
|
|
|
|
move-exception v2
|
|
|
|
|
|
|
|
:try_start_d
|
|
|
|
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
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
new-instance v6, Ljava/lang/ClassCastException;
|
|
|
|
|
|
|
|
new-instance v7, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v7, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v7, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v7, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v7, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-direct {v6, v0}, Ljava/lang/ClassCastException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v6, v2}, Ljava/lang/ClassCastException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-static {v0, v3}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
:try_end_d
|
|
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_d .. :try_end_d} :catch_8
|
|
|
|
|
|
|
|
:catch_8
|
|
|
|
:cond_4
|
2020-04-27 20:53:11 +00:00
|
|
|
new-instance v2, Lx/t/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-27 20:53:11 +00:00
|
|
|
invoke-direct {v2}, Lx/t/a;-><init>()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:goto_1
|
2020-04-27 20:53:11 +00:00
|
|
|
sput-object v2, Lx/t/b;->a:Lx/t/a;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|