tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ModuleClassLoader.java
0 → 100644
+62
−0
+4
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
When loading classes from the jar file, we can't just use the URLClassLoader since it can not enumerate files in a jar directory. Restoring the ModuleClassLoader and making all paths relative to the system class loader (as opposed to relative to the class location). Change-Id: Ib3f5d12dd5c964d0ba9cc6c5ec9cb556c989e653 (cherry picked from commit 2a4a6c81f8a103be5c48d8a0605a3e4416e8f7f1)