summaryrefslogtreecommitdiff
path: root/test/840-resolution/src2/SuperClassStaticFoo.java
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2022-07-07 18:01:39 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2022-07-07 18:01:39 +0000
commit385e5df0ca2a739a4bdbe2ab364ce71adfa00bff (patch)
tree69d6acba23cf45cccc6e959d30719858a7df1de7 /test/840-resolution/src2/SuperClassStaticFoo.java
parent50789e0685ceeb50e5adfe1d69ba1bd3f7a39c85 (diff)
parentffbdfeec4c9e851872513cfcc6508f7a39d19ad5 (diff)
Fix one edge case at method linking to throw at runtime. am: d88c1499ef am: 8bc8a6b5b6 am: 3c3a870149 am: ffbdfeec4c
Original change: https://android-review.googlesource.com/c/platform/art/+/2146626 Change-Id: Ic51a13650e185755797854c4b75dbbbcde7058d5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'test/840-resolution/src2/SuperClassStaticFoo.java')
-rw-r--r--test/840-resolution/src2/SuperClassStaticFoo.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/840-resolution/src2/SuperClassStaticFoo.java b/test/840-resolution/src2/SuperClassStaticFoo.java
new file mode 100644
index 0000000000..ecf8bc17a5
--- /dev/null
+++ b/test/840-resolution/src2/SuperClassStaticFoo.java
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) 2022 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+public class SuperClassStaticFoo {
+ public static Class<?> foo() {
+ return SuperClassStaticFoo.class;
+ }
+}