diff options
author | David Brazdil <dbrazdil@google.com> | 2019-02-05 18:13:44 +0000 |
---|---|---|
committer | David Brazdil <dbrazdil@google.com> | 2019-02-06 17:34:57 +0000 |
commit | 8fd6722f5840385462a31bd701426b3749ac1031 (patch) | |
tree | 7e5f202ed5596815c3638173273ab7d490c25636 /test/ProfileTestMultiDex/main.list | |
parent | ac52000e86077b3c45c192ec259d72413599ff11 (diff) |
Generalize vdex class redefinition check
The check introduced in CL If0c56b1970d8ebe701d198ffccec52f586aea9e6
skips fast verification if an apk's class is overshadowed by a class in
boot classpath because the vdex dependencies do not contain intra-apk
dependencies.
However, the change only checks for presence of a duplicate class in the
boot classloader, while a duplicate class could be in any of the parent
classloaders. Fix this and move the check into VerifierDeps to make it
a proper part of the verification process.
The CL also refactors VerifierDeps::ValidateDependencies to output
an error string for better logging.
Bug: 122968669
Test: test/testrunner/testrunner.py -t 719
Test: m test-art-gtest-verifier_deps_test
Change-Id: I0d06b82e31088c58d4493723a5435309740f1d0c
Diffstat (limited to 'test/ProfileTestMultiDex/main.list')
0 files changed, 0 insertions, 0 deletions