commit | 6c4921b3a13ab645045dd20e5386daf552a31f41 | [log] [tgz] |
---|---|---|
author | Orion Hodson <oth@google.com> | Wed Sep 21 15:41:06 2016 +0100 |
committer | Orion Hodson <oth@google.com> | Thu Jan 19 09:01:02 2017 +0000 |
tree | 46ff2d2d320a250a1ce6e5094a67632293093a4b | |
parent | a6040d4cca09c1030bbfcfdc131e38c7d6da8888 [diff] |
ART: Improve class initializer and constructor verification. DEX file verifier checks additional properties of class initializers and constructors: (i) Names match expected <clinit> / <init>. (ii) The method descriptor for <clinit> is ()V. (iii) The return type of <init> is V. (iV) No other names start with '<'. Bug: 31313719 Change-Id: I60bffa6561e1bae353f97c42377ea556bfa790af Test: m test-art-host-gtest-dex_file_verifier_test