1fedd91d50930e160c021d65b3740264f6ffec260Alex Light#
2fedd91d50930e160c021d65b3740264f6ffec260Alex Light# Copyright (C) 2016 The Android Open Source Project
3fedd91d50930e160c021d65b3740264f6ffec260Alex Light#
4fedd91d50930e160c021d65b3740264f6ffec260Alex Light# Licensed under the Apache License, Version 2.0 (the "License");
5fedd91d50930e160c021d65b3740264f6ffec260Alex Light# you may not use this file except in compliance with the License.
6fedd91d50930e160c021d65b3740264f6ffec260Alex Light# You may obtain a copy of the License at
7fedd91d50930e160c021d65b3740264f6ffec260Alex Light#
8fedd91d50930e160c021d65b3740264f6ffec260Alex Light#     http://www.apache.org/licenses/LICENSE-2.0
9fedd91d50930e160c021d65b3740264f6ffec260Alex Light#
10fedd91d50930e160c021d65b3740264f6ffec260Alex Light# Unless required by applicable law or agreed to in writing, software
11fedd91d50930e160c021d65b3740264f6ffec260Alex Light# distributed under the License is distributed on an "AS IS" BASIS,
12fedd91d50930e160c021d65b3740264f6ffec260Alex Light# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13fedd91d50930e160c021d65b3740264f6ffec260Alex Light# See the License for the specific language governing permissions and
14fedd91d50930e160c021d65b3740264f6ffec260Alex Light# limitations under the License.
15fedd91d50930e160c021d65b3740264f6ffec260Alex Light
16fedd91d50930e160c021d65b3740264f6ffec260Alex Light
17fedd91d50930e160c021d65b3740264f6ffec260Alex Light.class public abstract interface LSuperInterface;
18fedd91d50930e160c021d65b3740264f6ffec260Alex Light.super Ljava/lang/Object;
19fedd91d50930e160c021d65b3740264f6ffec260Alex Light
20fedd91d50930e160c021d65b3740264f6ffec260Alex Light# public interface SuperInterface {
21fedd91d50930e160c021d65b3740264f6ffec260Alex Light#     public String runDefault() {
22fedd91d50930e160c021d65b3740264f6ffec260Alex Light#         return "SuperInterface default method called";
23fedd91d50930e160c021d65b3740264f6ffec260Alex Light#     }
24fedd91d50930e160c021d65b3740264f6ffec260Alex Light# }
25fedd91d50930e160c021d65b3740264f6ffec260Alex Light
26fedd91d50930e160c021d65b3740264f6ffec260Alex Light.method public runDefault()Ljava/lang/String;
27fedd91d50930e160c021d65b3740264f6ffec260Alex Light.registers 2
28fedd91d50930e160c021d65b3740264f6ffec260Alex Light    # Do an invoke super on this class, to confuse runtime/compiler.
29fedd91d50930e160c021d65b3740264f6ffec260Alex Light    const-string v0, "SuperInterface default method called"
30fedd91d50930e160c021d65b3740264f6ffec260Alex Light    return-object v0
31fedd91d50930e160c021d65b3740264f6ffec260Alex Light.end method
32