summaryrefslogtreecommitdiff
path: root/runtime/mirror/object.h
diff options
context:
space:
mode:
author Dmitrii Ishcheikin <ishcheikin@google.com> 2024-01-16 18:09:15 +0000
committer Dmitrii Ishcheikin <ishcheikin@google.com> 2024-01-24 15:49:35 +0000
commitddfb9fa668c40e6fd6f4c4aa7627e9d3619d59ac (patch)
tree578ef6c6cc4fbd02fbf8dc2c63b037c6b7cd542d /runtime/mirror/object.h
parent1be176f5a78750e2f0e32470f8c83e3d1643954d (diff)
Add visibility attributes in runtime/mirror
Bug: 260881207 Test: presubmit Test: abtd app_compat_drm Test: abtd app_compat_top_100 Test: abtd app_compat_banking Change-Id: I6f5eacb96d0ead8144f090624aa99610f78fe57c
Diffstat (limited to 'runtime/mirror/object.h')
-rw-r--r--runtime/mirror/object.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/mirror/object.h b/runtime/mirror/object.h
index ecd8a48a96..f0b6a03eac 100644
--- a/runtime/mirror/object.h
+++ b/runtime/mirror/object.h
@@ -20,6 +20,7 @@
#include "base/atomic.h"
#include "base/casts.h"
#include "base/enums.h"
+#include "base/macros.h"
#include "dex/primitive.h"
#include "obj_ptr.h"
#include "object_reference.h"
@@ -29,7 +30,7 @@
#include "runtime_globals.h"
#include "verify_object.h"
-namespace art {
+namespace art HIDDEN {
class ArtField;
class ArtMethod;
@@ -74,7 +75,7 @@ static constexpr bool kCheckFieldAssignments = false;
static constexpr uint32_t kObjectHeaderSize = 8;
// C++ mirror of java.lang.Object
-class MANAGED LOCKABLE Object {
+class EXPORT MANAGED LOCKABLE Object {
public:
MIRROR_CLASS("Ljava/lang/Object;");