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.
29 lines
515 B
29 lines
515 B
7 months ago
|
.class public LNullLocks;
|
||
|
|
||
|
.super Ljava/lang/Object;
|
||
|
|
||
|
.method public static run(Z)V
|
||
|
.registers 3
|
||
|
|
||
|
invoke-static {}, LMain;->assertIsManaged()V
|
||
|
|
||
|
if-eqz v2, :Lfalse
|
||
|
|
||
|
const v0, 0 # Null.
|
||
|
monitor-enter v0
|
||
|
const v1, 0 # Another null. This should be detected as an alias, such that the exit
|
||
|
# will not fail verification.
|
||
|
monitor-exit v1
|
||
|
|
||
|
monitor-enter v0
|
||
|
monitor-exit v1
|
||
|
|
||
|
monitor-enter v1
|
||
|
monitor-exit v0
|
||
|
|
||
|
:Lfalse
|
||
|
|
||
|
return-void
|
||
|
|
||
|
.end method
|