OSDN Git Service

Tracking change to make Class.getDeclaredFields/Methods public
authorBrian Carlstrom <bdc@google.com>
Fri, 17 Oct 2014 05:02:23 +0000 (22:02 -0700)
committerBrian Carlstrom <bdc@google.com>
Fri, 17 Oct 2014 05:02:51 +0000 (22:02 -0700)
Bug: 17375269
Change-Id: Ib3bc256e2034258210e153ff664ee9b1f2d806f7

runtime/mirror/class.h

index 43ac98d..03a8563 100644 (file)
@@ -498,7 +498,7 @@ class MANAGED Class FINAL : public Object {
   // The size of java.lang.Class.class.
   static uint32_t ClassClassSize() {
     // The number of vtable entries in java.lang.Class.
-    uint32_t vtable_entries = Object::kVTableLength + 64;
+    uint32_t vtable_entries = Object::kVTableLength + 66;
     return ComputeClassSize(true, vtable_entries, 0, 1, 0);
   }