Initialize classes in GetFieldID/GetMethodID.

Change-Id: I2ccf5d021067e4d18803bd505d5bdc1fcbbb3433
diff --git a/src/class_linker.h b/src/class_linker.h
index 90ac678..e83c850 100644
--- a/src/class_linker.h
+++ b/src/class_linker.h
@@ -39,7 +39,8 @@
     return FindClass(descriptor, NULL);
   }
 
-  bool InitializeClass(Class* klass);
+  // Returns true on success, false if there's an exception pending.
+  bool EnsureInitialized(Class* c);
 
   void RegisterDexFile(const DexFile* dex_file);
 
@@ -53,6 +54,8 @@
 
   void Init(const std::vector<DexFile*>& boot_class_path_);
 
+  bool InitializeClass(Class* klass);
+
   // For early bootstrapping by Init
   Class* AllocClass(Class* java_lang_Class);