summaryrefslogtreecommitdiff
path: root/runtime/mirror/class.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2023-01-03 14:01:00 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2023-01-28 16:42:34 +0000
commitdf68c0a6f0d36728fa728049e5bcec20de2d0d5e (patch)
treef65b2ffdf3f998dc7980853c71d169cb489289a8 /runtime/mirror/class.h
parent09c218c61ab525b05d7181be92e78d69d035e122 (diff)
Write classes in runtime-generated app image.
Test: 845-data-image Bug: 260557058 Change-Id: I640b78942984ac3d3f8d24abda619d78154acd86
Diffstat (limited to 'runtime/mirror/class.h')
-rw-r--r--runtime/mirror/class.h2
1 files changed, 2 insertions, 0 deletions
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<typename T> class StrideIterator;
template<size_t kNumReferences> 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);
};