diff options
Diffstat (limited to 'runtime/mirror/string.h')
-rw-r--r-- | runtime/mirror/string.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/mirror/string.h b/runtime/mirror/string.h index fbee2d7bf3..80ebd2cf0f 100644 --- a/runtime/mirror/string.h +++ b/runtime/mirror/string.h @@ -27,6 +27,7 @@ namespace art { template<class T> class Handle; struct StringOffsets; class StringPiece; +class StubTest_ReadBarrierForRoot_Test; namespace mirror { @@ -179,7 +180,7 @@ class MANAGED String FINAL : public Object { static GcRoot<Class> java_lang_String_; friend struct art::StringOffsets; // for verifying offset information - ART_FRIEND_TEST(ObjectTest, StringLength); // for SetOffset and SetCount + ART_FRIEND_TEST(art::StubTest, ReadBarrierForRoot); // For java_lang_String_. DISALLOW_IMPLICIT_CONSTRUCTORS(String); }; |