summaryrefslogtreecommitdiff
path: root/src/class_linker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/class_linker.h')
-rw-r--r--src/class_linker.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/class_linker.h b/src/class_linker.h
index 90ac6780f8..e83c850a77 100644
--- a/src/class_linker.h
+++ b/src/class_linker.h
@@ -39,7 +39,8 @@ class ClassLinker {
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 @@ class ClassLinker {
void Init(const std::vector<DexFile*>& boot_class_path_);
+ bool InitializeClass(Class* klass);
+
// For early bootstrapping by Init
Class* AllocClass(Class* java_lang_Class);