OSDN Git Service

ART: Generalize FindClassInPathClassLoader
authorAndreas Gampe <agampe@google.com>
Fri, 28 Oct 2016 22:34:26 +0000 (15:34 -0700)
committerAndreas Gampe <agampe@google.com>
Tue, 1 Nov 2016 15:23:27 +0000 (08:23 -0700)
commitfd1ae75a03b0b17fdbbb0097e856f494edf12312
tree0f3f131d2d3438d06ecdfc05137ebfcc1ff6f1f3
parent46aba36a1c982567d7e80a62b0cff9c0935e7455
ART: Generalize FindClassInPathClassLoader

Also accept DexClassLoader. Do a fast check for subclasses of
BaseDexClassLoader that are in the boot classpath.

Bug: 32510706
Test: m test-art-host
Change-Id: I7d79aa90e0241e7717c5d146d1123f41746e4ffa
runtime/class_linker.cc
runtime/class_linker.h
runtime/native/java_lang_VMClassLoader.cc
runtime/well_known_classes.cc
runtime/well_known_classes.h