You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
108 lines
2.3 KiB
108 lines
2.3 KiB
2 years ago
|
.class Lcom/google/common/base/FinalizableReferenceQueue$SystemLoader;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "FinalizableReferenceQueue.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lcom/google/common/base/FinalizableReferenceQueue$FinalizerLoader;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lcom/google/common/base/FinalizableReferenceQueue;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x8
|
||
|
name = "SystemLoader"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field static disabled:Z
|
||
|
.annotation build Lcom/google/common/annotations/VisibleForTesting;
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 238
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public loadFinalizer()Ljava/lang/Class;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"()",
|
||
|
"Ljava/lang/Class",
|
||
|
"<*>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
.line 246
|
||
|
sget-boolean v1, Lcom/google/common/base/FinalizableReferenceQueue$SystemLoader;->disabled:Z
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
.line 264
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
return-object v0
|
||
|
|
||
|
.line 251
|
||
|
:cond_1
|
||
|
:try_start_0
|
||
|
invoke-static {}, Ljava/lang/ClassLoader;->getSystemClassLoader()Ljava/lang/ClassLoader;
|
||
|
:try_end_0
|
||
|
.catch Ljava/lang/SecurityException; {:try_start_0 .. :try_end_0} :catch_0
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 256
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
.line 258
|
||
|
:try_start_1
|
||
|
const-string v2, "com.google.common.base.internal.Finalizer"
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/lang/ClassLoader;->loadClass(Ljava/lang/String;)Ljava/lang/Class;
|
||
|
:try_end_1
|
||
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_1 .. :try_end_1} :catch_1
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 252
|
||
|
:catch_0
|
||
|
move-exception v1
|
||
|
|
||
|
.line 253
|
||
|
invoke-static {}, Lcom/google/common/base/FinalizableReferenceQueue;->access$000()Ljava/util/logging/Logger;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
const-string v2, "Not allowed to access system class loader."
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/util/logging/Logger;->info(Ljava/lang/String;)V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 259
|
||
|
:catch_1
|
||
|
move-exception v1
|
||
|
|
||
|
goto :goto_0
|
||
|
.end method
|