OSDN Git Service

Only visit app image classes in class loader
authorMathieu Chartier <mathieuc@google.com>
Thu, 3 Mar 2016 00:08:31 +0000 (16:08 -0800)
committerMathieu Chartier <mathieuc@google.com>
Fri, 4 Mar 2016 17:58:25 +0000 (09:58 -0800)
commit6973100705716bffce3768a8a0908d7ca1d02ec1
treee17f49598cea71828bdebb28db8b2c8baddac151
parent3040f4ae0bf9d8ebe0e7e43f4843929f7a4da4d9
Only visit app image classes in class loader

Only update dex cache arrays of added classes since the declaring
class is in image DCHECK fails for other classes in the class loader.

Also some cleanup to prevent app images leaving invalid state if
they get rejected.

Bug: 22858531
Bug: 27431418
Change-Id: Ib2a5692a1ad78b014a1bfc6b27fb1c12bc8565e6
runtime/class_linker.cc
runtime/class_linker.h
runtime/class_table.cc
runtime/class_table.h