From df68c0a6f0d36728fa728049e5bcec20de2d0d5e Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Tue, 3 Jan 2023 14:01:00 +0000 Subject: Write classes in runtime-generated app image. Test: 845-data-image Bug: 260557058 Change-Id: I640b78942984ac3d3f8d24abda619d78154acd86 --- runtime/mirror/class.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime/mirror/class.h') diff --git a/runtime/mirror/class.h b/runtime/mirror/class.h index bd37534b6b..b9eb9d05b4 100644 --- a/runtime/mirror/class.h +++ b/runtime/mirror/class.h @@ -65,6 +65,7 @@ template class StrideIterator; template class PACKED(4) StackHandleScope; class Thread; class DexCacheVisitor; +class RuntimeImageHelper; namespace mirror { @@ -1579,6 +1580,7 @@ class MANAGED Class final : public Object { friend struct art::ClassOffsets; // for verifying offset information friend class Object; // For VisitReferences friend class linker::ImageWriter; // For SetStatusInternal + friend class art::RuntimeImageHelper; // For SetStatusInternal DISALLOW_IMPLICIT_CONSTRUCTORS(Class); }; -- cgit v1.2.3-59-g8ed1b