summaryrefslogtreecommitdiff
path: root/runtime/mirror/array-inl.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2022-06-08 15:00:06 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2022-06-28 14:07:45 +0000
commit868e576d4f67026bb7109286f922cb26e0e84145 (patch)
tree511ec0c933276cad9ba57cd12dbb01ec01a533ae /runtime/mirror/array-inl.h
parentc8e67bdca92f527a2e9b58f417c1f2af2afa6d41 (diff)
Adjust how we assign vtable indexes during class loading.
Only populate the super vtable set in the edge case of a super class overriding a method from a new interface. Test: test.py Bug: 211854716 Bug: 233545487 Change-Id: I350f545df1cb193cd50a76e85b582c5bff9c15cc
Diffstat (limited to 'runtime/mirror/array-inl.h')
-rw-r--r--runtime/mirror/array-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/mirror/array-inl.h b/runtime/mirror/array-inl.h
index b0e77b45a6..b7a8a8ce49 100644
--- a/runtime/mirror/array-inl.h
+++ b/runtime/mirror/array-inl.h
@@ -98,7 +98,7 @@ inline void PrimitiveArray<T>::SetWithoutChecks(int32_t i, T value) {
if (kTransactionActive) {
Runtime::Current()->RecordWriteArray(this, i, GetWithoutChecks(i));
}
- DCHECK(CheckIsValidIndex<kVerifyFlags>(i));
+ DCHECK(CheckIsValidIndex<kVerifyFlags>(i)) << i << " " << GetLength<kVerifyFlags>();
GetData()[i] = value;
}
// Backward copy where elements are of aligned appropriately for T. Count is in T sized units.