Commit 48f977a3 authored by Calin Juravle's avatar Calin Juravle
Browse files

Extend dex load reporting to report the full ClassLoader chain

Report the full class loader chain to BaseDexClassLoader.reporter during
construction. The information will be passed down to the compiler when
compiling secondary dex modules.

Note that this only reports if the all class loader in the chain are
BaseDexClassLoader. This means that we will stop recording secondary dex
modules which are loaded in unsupported class loaders.

Bug: 38138251
Test: vogar
luni/src/test/java/libcore/dalvik/system/BaseDexClassLoaderTest.java

(cherry picked from commit 5ac512c0)

Change-Id: I7d4457b19684d0a87b1edd3b5689cfbb58559d03
parent 6ea6973d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment