test/hotspot/jtreg/runtime/exceptionMsgs/IncompatibleClassChangeError/ImplementsSomeInterfaces.jasm
changeset 49368 2ed1c37df3a5
child 50633 b8055b38b252
equal deleted inserted replaced
49366:f95ef5511e1f 49368:2ed1c37df3a5
       
     1 /*
       
     2  * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
       
     3  * Copyright (c) 2018 SAP SE. All rights reserved.
       
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       
     5  *
       
     6  * This code is free software; you can redistribute it and/or modify it
       
     7  * under the terms of the GNU General Public License version 2 only, as
       
     8  * published by the Free Software Foundation.
       
     9  *
       
    10  * This code is distributed in the hope that it will be useful, but WITHOUT
       
    11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
       
    12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
       
    13  * version 2 for more details (a copy is included in the LICENSE file that
       
    14  * accompanied this code).
       
    15  *
       
    16  * You should have received a copy of the GNU General Public License version
       
    17  * 2 along with this work; if not, write to the Free Software Foundation,
       
    18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
       
    19  *
       
    20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
       
    21  * or visit www.oracle.com if you need additional information or have any
       
    22  * questions.
       
    23  */
       
    24 
       
    25 
       
    26 
       
    27 
       
    28 
       
    29 class ImplementsSomeInterfaces extends AbstractICCE0 {
       
    30 
       
    31     public Method "<init>":"()V"
       
    32         stack 1 locals 1
       
    33     {
       
    34         aload_0;
       
    35         invokespecial Method AbstractICCE0."<init>":"()V";
       
    36         return;
       
    37     }
       
    38 
       
    39   public Method firstAbstractMethod:"()Ljava/lang/String;"
       
    40         stack 1 locals 1
       
    41     {
       
    42         aload_0;
       
    43         invokevirtual Method java/lang/Object.getClass:"()Ljava/lang/Class;";
       
    44         invokevirtual Method java/lang/Class.getName:"()Ljava/lang/String;";
       
    45         areturn;
       
    46     }
       
    47 
       
    48   public Method secondAbstractMethod:"()Ljava/lang/String;"
       
    49         stack 1 locals 1
       
    50     {
       
    51         aload_0;
       
    52         invokevirtual Method java/lang/Object.getClass:"()Ljava/lang/Class;";
       
    53         invokevirtual Method java/lang/Class.getName:"()Ljava/lang/String;";
       
    54         areturn;
       
    55     }
       
    56 
       
    57   public Method firstFunctionOfMyInterface0:"()Ljava/lang/String;"
       
    58         stack 1 locals 1
       
    59     {
       
    60         aload_0;
       
    61         invokevirtual Method java/lang/Object.getClass:"()Ljava/lang/Class;";
       
    62         invokevirtual Method java/lang/Class.getName:"()Ljava/lang/String;";
       
    63         areturn;
       
    64     }
       
    65 
       
    66   public Method secondFunctionOfMyInterface0:"()Ljava/lang/String;"
       
    67         stack 1 locals 1
       
    68     {
       
    69         aload_0;
       
    70         invokevirtual Method java/lang/Object.getClass:"()Ljava/lang/Class;";
       
    71         invokevirtual Method java/lang/Class.getName:"()Ljava/lang/String;";
       
    72         areturn;
       
    73     }
       
    74 
       
    75   public Method firstFunctionOfMyInterface:"()Ljava/lang/String;"
       
    76         stack 1 locals 1
       
    77     {
       
    78         aload_0;
       
    79         invokevirtual Method java/lang/Object.getClass:"()Ljava/lang/Class;";
       
    80         invokevirtual Method java/lang/Class.getName:"()Ljava/lang/String;";
       
    81         areturn;
       
    82     }
       
    83 
       
    84   public Method secondFunctionOfMyInterface:"()Ljava/lang/String;"
       
    85         stack 1 locals 1
       
    86     {
       
    87         aload_0;
       
    88         invokevirtual Method java/lang/Object.getClass:"()Ljava/lang/Class;";
       
    89         invokevirtual Method java/lang/Class.getName:"()Ljava/lang/String;";
       
    90         areturn;
       
    91     }
       
    92 }