summaryrefslogtreecommitdiffstats
path: root/test/800-smali/smali/b_21645819.smali
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-06-26 17:33:47 -0700
committerAndreas Gampe <agampe@google.com>2015-06-26 17:40:23 -0700
commit3ae8da0a803370be9dd410226438f636af553e22 (patch)
tree346c8f1ba2abc9a2f6af283d4abcefc1f4de7f06 /test/800-smali/smali/b_21645819.smali
parentffd43f62c23d2cbf84ab549dc37ca1dda2ac438d (diff)
downloadart-3ae8da0a803370be9dd410226438f636af553e22.zip
art-3ae8da0a803370be9dd410226438f636af553e22.tar.gz
art-3ae8da0a803370be9dd410226438f636af553e22.tar.bz2
ART: Fix invalid access and DCHECK in verifier
If we get a throwing failure when setting types from the signature, the work instruction index is still invalid. Do not try to copy the line then. As a throwing failure might happen in the above instance, but the flow analysis expects to have a cleared failure flag before processing each instruction, clear the flag. Bug: 21645819 Bug: 22080519 Change-Id: I224c4dad98fa5bb50e62210f0ee30c0dd020e3a6
Diffstat (limited to 'test/800-smali/smali/b_21645819.smali')
-rw-r--r--test/800-smali/smali/b_21645819.smali9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/800-smali/smali/b_21645819.smali b/test/800-smali/smali/b_21645819.smali
new file mode 100644
index 0000000..195d662
--- /dev/null
+++ b/test/800-smali/smali/b_21645819.smali
@@ -0,0 +1,9 @@
+.class public LB21645819;
+.super Ljava/lang/Object;
+
+# The method declares a parameter of an inaccessible class. This should not abort/kill us.
+
+.method public static run(Lpkg/ProtectedClass;)V
+.registers 10
+ return-void
+.end method \ No newline at end of file