summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2019-03-28 17:37:28 +0000
committerDavid Brazdil <dbrazdil@google.com>2019-04-01 23:54:18 +0100
commit2fb58aef4e344044bb3355947677b57cf8c303d8 (patch)
tree8c7237ee7f7669864a64810f54bd167696fe0c40 /annotations/generate_annotated_java_files.py
parentd1aa7cd9588a3108ea8e81b1009d7fc2f752d4c9 (diff)
Provide class loader context to DexFile.verifyInBackground
The vdex file generated by a background verification thread for bytecode loaded with InMemoryDexClassLoader needs to store a class loader context. However, to be able to resolve the loaded classes, the verifier needs to be called after the DexPathList element has been initialized. But its initialization changes the class loader context compared to the point where the vdex will be loaded to back an oat file, which has to be before the DexPathList element is initialized. To this end, obtain the class loader before element init and pass it to verifyInBackground() after the init. Bug: 72131483 Test: art/tools/run-libcore-tests.sh Test: art/test.py -b -r -t 692 -t 693 Change-Id: I52a6a5b064bbc211aee8231e7ab5523746dc4591
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions