summaryrefslogtreecommitdiff
path: root/test/008-exceptions/src-multidex/MultiDexBadInitWrapper2.java
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2017-01-18 15:22:59 +0000
committerVladimir Marko <vmarko@google.com>2017-01-20 17:29:39 +0000
commit6ad2f6d0e17b8cd1fd20aeb1958196e856475e80 (patch)
treeceb67cae125206390513b660a785500c01cce4db /test/008-exceptions/src-multidex/MultiDexBadInitWrapper2.java
parenta8b4390a3b817a455b0abdf575922fea6182170d (diff)
Fix inserting classes to initiating loader's class table.
Fix two cases that were missed in https://android-review.googlesource.com/312285 First, copy all class references to app image class table, including boot image classes where the class loader used for AOT is only the initiating loader, not the defining loader. Second, add array classes to the initiating loader's class table. Without these fixes, ClassLinker::LookupResolvedType() was actually relying on the type being in the dex cache because in some cases the slow path would not be able to find it. Add a test for ClassLinker::LookupResolvedType() with an array type and fix that function to avoid null pointer dereference. Test: m test-art-host Bug: 30627598 Change-Id: I7cb14788700e6a22d16c364f8a35e2b6b3d954e4
Diffstat (limited to 'test/008-exceptions/src-multidex/MultiDexBadInitWrapper2.java')
0 files changed, 0 insertions, 0 deletions