OSDN Git Service

ART: Fix wrong hard-failure handling in verifier
authorAndreas Gampe <agampe@google.com>
Tue, 26 May 2015 20:35:39 +0000 (13:35 -0700)
committerAndreas Gampe <agampe@google.com>
Mon, 1 Jun 2015 16:51:45 +0000 (09:51 -0700)
commitb588f4c037d27dedeef358b478c281ebb3fbb900
treee9ea063f9dea2612083f1938c981b8950b873f8c
parentc2ec62874804f341439455fb00a128010139d0fc
ART: Fix wrong hard-failure handling in verifier

Correctly return null for the method when a hard failure is
encountered. Also improve logging for order failures. Add a
regression test.

Bug: 20224106

(cherry picked from commit 3b74e275838729c5023cd80116f1b3b81306ee19)

Change-Id: I6e08202617147378b204af169308b67fc69f92c6
runtime/verifier/method_verifier.cc
test/800-smali/expected.txt
test/800-smali/smali/b_20224106.smali [new file with mode: 0644]
test/800-smali/src/Main.java