diff options
Diffstat (limited to 'runtime/class_linker.h')
| -rw-r--r-- | runtime/class_linker.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/class_linker.h b/runtime/class_linker.h index b9ac9caf0c..4f4cb4b942 100644 --- a/runtime/class_linker.h +++ b/runtime/class_linker.h @@ -17,6 +17,7 @@ #ifndef ART_RUNTIME_CLASS_LINKER_H_ #define ART_RUNTIME_CLASS_LINKER_H_ +#include <list> #include <set> #include <string> #include <unordered_map> @@ -89,6 +90,7 @@ template<class T> class ObjectLock; class Runtime; class ScopedObjectAccessAlreadyRunnable; template<size_t kNumReferences> class PACKED(4) StackHandleScope; +class Thread; enum VisitRootFlags : uint8_t; @@ -685,7 +687,9 @@ class ClassLinker { // Throw the class initialization failure recorded when first trying to initialize the given // class. - void ThrowEarlierClassFailure(ObjPtr<mirror::Class> c, bool wrap_in_no_class_def = false) + void ThrowEarlierClassFailure(ObjPtr<mirror::Class> c, + bool wrap_in_no_class_def = false, + bool log = false) REQUIRES_SHARED(Locks::mutator_lock_) REQUIRES(!Locks::dex_lock_); |