commit | 3f9186446faa01636475596335240f39472ba9f4 | [log] [tgz] |
---|---|---|
author | Calin Juravle <calin@google.com> | Tue Jul 11 19:04:20 2017 -0700 |
committer | Calin Juravle <calin@google.com> | Tue Jul 18 11:42:36 2017 -0700 |
tree | ac0320e73671d11551ba65867a51d74b5dc69aee | |
parent | 57d0accc081c1779edb604ab86e5a4c0cfba16eb [diff] |
Verify the class loader context when loading oat files Previously, the oat_file_manager would expect and perform validation on a simple classpath: a list of dex files separated by ':'. This is no longer enough since the oat file may encode a chain of class loaders now. The CL moves the validation logic in ClassLoaderContext and extends it to verify the complete chain of class loaders. Test: m test-art-host Bug: 38138251 Change-Id: I8ac9c65db1a14909aaecb04fa7a7115ddedc673f