OSDN Git Service

Fix issued with non-public interface methods.
authorAlex Light <allight@google.com>
Thu, 31 Mar 2016 17:03:07 +0000 (10:03 -0700)
committerAlex Light <allight@google.com>
Tue, 5 Apr 2016 18:35:23 +0000 (11:35 -0700)
commit565bc96291623bf617aef40739247b224188fd16
tree16faf8504afa09b6f89bd9f9f6440d6ce4160bd0
parent50e6f7ca6b071861d29a79736eb9e7a496b42c5b
Fix issued with non-public interface methods.

Some APK's ship with dex files containing non-public interface
methods. These would cause crashes on newer versions of ART due to
stricter verification of dex files. Make ART emit a warning but allow
this behavior.

Bug: 27928832

(cherry picked from commit d7c10c237bf2631630fac7982c3f374b1a27ed01)

Change-Id: Ia3689ee091aa154fb5954b1f6dd50c489128acce
runtime/class_linker.cc
runtime/dex_file_verifier.cc
runtime/dex_file_verifier_test.cc