summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Second.java
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-02-26 04:06:30 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-02-26 04:06:30 +0000
commitb00366c29e9d0cbdc0ade987f70c152f8b8f33a9 (patch)
tree7be1f416621883f2b4b3bc646dc4c1dabb7def8b /test/ProfileTestMultiDex/Second.java
parent243927f866d109c44fde7103440e3205d998f94c (diff)
parent0ad516116e1b92d81b45e8c9209534331d6bc156 (diff)
Snap for 5335706 from 0ad516116e1b92d81b45e8c9209534331d6bc156 to qt-release
Change-Id: I0cdb7c6fee38259ab37d7531a4e9c569f26267a4
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
-rw-r--r--test/ProfileTestMultiDex/Second.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/ProfileTestMultiDex/Second.java b/test/ProfileTestMultiDex/Second.java
index 4b3c7a479b..9f5dc66742 100644
--- a/test/ProfileTestMultiDex/Second.java
+++ b/test/ProfileTestMultiDex/Second.java
@@ -30,3 +30,11 @@ class SubC extends Super {
int getValue() { return 24; }
}
+class TestIntrinsicOatdump {
+ Integer valueOf(int i) {
+ // ProfileTestMultiDex is used also for testing oatdump for apps.
+ // This is a regression test that oatdump can handle .data.bimg.rel.ro
+ // entries pointing to the middle of the "boot image live objects" array.
+ return Integer.valueOf(i);
+ }
+}