commit | 3f1dc56914177993b1b018bf21ce7d39d7feecda | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Mon May 18 15:52:22 2015 -0700 |
committer | Andreas Gampe <agampe@google.com> | Wed May 20 14:04:58 2015 -0700 |
tree | 6043e28732d988731bd177e9502bfa05a5f48de6 | |
parent | c1c5de731e2a23646e02e91311de29ecdd167dbd [diff] |
ART: Fix RegisterNative order First check for both direct and virtual methods in the current class, then move to the parent. Optimize registration by checking first whether the current method under test is native. This slows down registering implementations in parent classes. Add a CheckJNI warning for this. Add a run-test to check the behavior. Fix host comparison testing. Bug: 19569721 Change-Id: I61e77117d96310632aad123d7f1279d0f834dc99