OSDN Git Service

Add DexClassLoader to the list of supported class loaders
authorCalin Juravle <calin@google.com>
Tue, 25 Jul 2017 00:56:51 +0000 (17:56 -0700)
committerCalin Juravle <calin@google.com>
Tue, 25 Jul 2017 17:08:55 +0000 (17:08 +0000)
commitd08b3156e8e908bae63dfd8f47c8e6f7ba98967f
treefafa90c59aed0e52c2f00bf5ac2b6461ec4569f9
parent68ff051e5de73062d38696f62e47543e6e988d53
Add DexClassLoader to the list of supported class loaders

DexClassLoader have the same behavior as PathClassLoader and is still in
use by apps. Add it to the list of supported class loaders so that it can be
recognized during secondary dex file loads.

Bug: 38138251
Bug: 36044779

Test: runtest -x
services/tests/servicestests/src/com/android/server/pm/dex/DexoptUtilsTest.java

Change-Id: I88617c446c0471ffa8daffa5bc1961785910005a
core/java/com/android/internal/os/ClassLoaderFactory.java
services/tests/servicestests/src/com/android/server/pm/dex/DexoptUtilsTest.java