blob: ab3dc4157b7da0d7e11d23a90f8e080b4243cd6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
.class public LB20843113;
.super Ljava/lang/Object;
.method public constructor <init>(I)V
.registers 2
:Label1
# An instruction that may throw, so as to pass UninitializedThis to the handler
div-int v1, v1, v1
# Call the super-constructor
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
# Return normally.
return-void
:Label2
:Handler
move-exception v0 # Overwrite the (last) "this" register. This should be
# allowed as we will terminate abnormally below.
throw v0 # Terminate abnormally
.catchall {:Label1 .. :Label2} :Handler
.end method
# Just a dummy.
.method public static run()V
.registers 1
return-void
.end method
|