< prev index next >

test/compiler/linkage/CallSites.jasm

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke

*** 19,91 **** * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. * */ ! super class I version 52:0 { } ! super class CallSites version 52:0 { // Non-existent methods. // I.m1()V vs I.m1(I)V ! public static Method testI1:"(LI;)V" stack 1 locals 1 { aload_0; ! invokeinterface InterfaceMethod I."m1":"()V", 1; // throws NSME return; } // X.m1()V vs X.m1(I)V ! public static Method testX1:"(LX;)V" stack 1 locals 1 { aload_0; ! invokevirtual Method X."m1":"()V"; // throws NSME return; } // invokestatic of instance methods. public static Method testI2:"()V" stack 1 locals 0 { iconst_0; ! invokestatic InterfaceMethod I."m1":"(I)V"; // throws ICCE return; } public static Method testX2:"()V" stack 1 locals 0 { iconst_0; ! invokestatic Method X."m1":"(I)V"; // throws ICCE return; } // Virtual invocation of static methods. ! public static Method testI3:"(LI;)V" stack 1 locals 1 { aload_0; ! invokeinterface InterfaceMethod I."s1":"()V", 1; // throws ICCE return; } ! public static Method testX3:"(LX;)V" stack 1 locals 1 { aload_0; ! invokevirtual Method X."s1":"()V"; // throws ICCE return; } } // end Class CallSites --- 19,91 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. * */ ! super class compiler/linkage/I version 52:0 { } ! super class compiler/linkage/CallSites version 52:0 { // Non-existent methods. // I.m1()V vs I.m1(I)V ! public static Method testI1:"(Lcompiler/linkage/I;)V" stack 1 locals 1 { aload_0; ! invokeinterface InterfaceMethod compiler/linkage/I."m1":"()V", 1; // throws NSME return; } // X.m1()V vs X.m1(I)V ! public static Method testX1:"(Lcompiler/linkage/X;)V" stack 1 locals 1 { aload_0; ! invokevirtual Method compiler/linkage/X."m1":"()V"; // throws NSME return; } // invokestatic of instance methods. public static Method testI2:"()V" stack 1 locals 0 { iconst_0; ! invokestatic InterfaceMethod compiler/linkage/I."m1":"(I)V"; // throws ICCE return; } public static Method testX2:"()V" stack 1 locals 0 { iconst_0; ! invokestatic Method compiler/linkage/X."m1":"(I)V"; // throws ICCE return; } // Virtual invocation of static methods. ! public static Method testI3:"(Lcompiler/linkage/I;)V" stack 1 locals 1 { aload_0; ! invokeinterface InterfaceMethod compiler/linkage/I."s1":"()V", 1; // throws ICCE return; } ! public static Method testX3:"(Lcompiler/linkage/X;)V" stack 1 locals 1 { aload_0; ! invokevirtual Method compiler/linkage/X."s1":"()V"; // throws ICCE return; } } // end Class CallSites
< prev index next >