langtools/test/tools/javac/defaultMethods/super/TestDirectSuperInterfaceInvoke.java
changeset 30730 d3ce7619db2c
parent 21708 9642be503906
child 30846 2b3f379840f0
equal deleted inserted replaced
30729:398f0f51917a 30730:d3ce7619db2c
     1 /*
     1 /*
     2  * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 8027281
    26  * @bug 8027281
    27  * @summary As per JVMS 4.9.2, invokespecial can only refer to direct superinterfaces
    27  * @summary As per JVMS 4.9.2, invokespecial can only refer to direct superinterfaces
       
    28  * @modules jdk.compiler/com.sun.tools.classfile
    28  * @compile TestDirectSuperInterfaceInvoke.java
    29  * @compile TestDirectSuperInterfaceInvoke.java
    29  * @run main TestDirectSuperInterfaceInvoke
    30  * @run main TestDirectSuperInterfaceInvoke
    30  */
    31  */
    31 
    32 
    32 import java.io.File;
    33 import java.io.File;