summaryrefslogtreecommitdiff
path: root/test/155-java-set-resolved-type/src/TestImplementation.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix dex cache resolved types and class table mismatch.Vladimir Marko2017-02-091-0/+19
Record class table in ClassLinker::DexCacheData and use it in DexCache.setResolvedType() to store the type also in the initiating loader's class table if the dex file has been registered. Also throw InternalError when trying to register the same DexFile with multiple class loaders. (Different DexFile instances referencing the same file are OK.) Test: 155-java-set-resolved-type Test: m test-art-host Bug: 30627598 Bug: 34193123 Bug: 34839984 Change-Id: Ia48acb300337c45880ea1459d2d32789546d67f4