< prev index next >

test/jdk/java/lang/invoke/SpecialInterfaceCall.java

Print this page

        

*** 23,34 **** /** * @test * @bug 8200167 8010319 * @summary Test direct and MethodHandle access to interface methods using invokespecial semantics ! * @comment This must be compiled for JDK 10 so that invokespecial is generated. ! * @compile -source 10 -target 10 SpecialInterfaceCall.java * @compile SpecialInterfaceCallI4.jasm * @run main/othervm -Xint SpecialInterfaceCall * @run main/othervm -Xbatch -XX:+TieredCompilation -XX:TieredStopAtLevel=1 SpecialInterfaceCall * @run main/othervm -Xbatch -XX:-TieredCompilation SpecialInterfaceCall */ --- 23,34 ---- /** * @test * @bug 8200167 8010319 * @summary Test direct and MethodHandle access to interface methods using invokespecial semantics ! * @comment This must be compiled so invokespecial is used ! * @compile -XDdisableVirtualizedPrivateInvoke SpecialInterfaceCall.java * @compile SpecialInterfaceCallI4.jasm * @run main/othervm -Xint SpecialInterfaceCall * @run main/othervm -Xbatch -XX:+TieredCompilation -XX:TieredStopAtLevel=1 SpecialInterfaceCall * @run main/othervm -Xbatch -XX:-TieredCompilation SpecialInterfaceCall */
< prev index next >