Increase the size of Class class
to match the size of java.lang.Class.class after adding isFinalizable method.
Change-Id: Iabc74be9ce7fb7cc5a7c59d54d0b59bc6fe611c2
diff --git a/runtime/mirror/class.h b/runtime/mirror/class.h
index 7af391e..d8b826e 100644
--- a/runtime/mirror/class.h
+++ b/runtime/mirror/class.h
@@ -522,8 +522,8 @@
// The size of java.lang.Class.class.
static uint32_t ClassClassSize(size_t pointer_size) {
// The number of vtable entries in java.lang.Class.
- uint32_t vtable_entries = Object::kVTableLength + 68;
- return ComputeClassSize(true, vtable_entries, 0, 0, 3, 1, 0, pointer_size);
+ uint32_t vtable_entries = Object::kVTableLength + 69;
+ return ComputeClassSize(true, vtable_entries, 0, 0, 4, 1, 0, pointer_size);
}
// The size of a java.lang.Class representing a primitive such as int.class.