OSDN Git Service

Fix bug with verification of constructors
authorAlex Light <allight@google.com>
Fri, 12 Feb 2016 19:01:54 +0000 (11:01 -0800)
committerAlex Light <allight@google.com>
Fri, 12 Feb 2016 23:17:08 +0000 (15:17 -0800)
commit4a2c8fc0fc47631550bc5ff8edd8221a3aea1b23
tree3c3e2e8e8ab38510ef8a7440bf893f8684bce9e4
parentb9adbf63f880f246d83b3af4ca03aca07711f857
Fix bug with verification of constructors

We would incorrectly allow the storing of values into superclass
fields before the superclass constructor was called.

Bug: 26965384

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