diff options
Diffstat (limited to 'runtime/mirror/art_method.h')
-rw-r--r-- | runtime/mirror/art_method.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/mirror/art_method.h b/runtime/mirror/art_method.h index 081bee1d88..01e6149e23 100644 --- a/runtime/mirror/art_method.h +++ b/runtime/mirror/art_method.h @@ -18,6 +18,7 @@ #define ART_RUNTIME_MIRROR_ART_METHOD_H_ #include "dex_file.h" +#include "gc_root.h" #include "invoke_type.h" #include "modifiers.h" #include "object.h" @@ -514,7 +515,7 @@ class MANAGED ArtMethod FINAL : public Object { // ifTable. uint32_t method_index_; - static Class* java_lang_reflect_ArtMethod_; + static GcRoot<Class> java_lang_reflect_ArtMethod_; private: friend struct art::ArtMethodOffsets; // for verifying offset information |