< prev index next >

test/compiler/jsr292/methodHandleExceptions/p/Tdirect.java

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

*** 26,44 **** /** * Invokes I.m directly using invokeInterface bytecodes. */ public class Tdirect { ! public static int test(p.I i) { int accum = 0; for (int j = 0; j < 100000; j++) { accum += i.m(); } return accum; } ! public static int test(p.I ii, byte b, char c, short s, int i, long l, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6) { int accum = 0; for (int j = 0; j < 100000; j++) { accum += ii.m(b,c,s,i,l,o1,o2,o3,o4,o5,o6); } --- 26,44 ---- /** * Invokes I.m directly using invokeInterface bytecodes. */ public class Tdirect { ! public static int test(I i) { int accum = 0; for (int j = 0; j < 100000; j++) { accum += i.m(); } return accum; } ! public static int test(I ii, byte b, char c, short s, int i, long l, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6) { int accum = 0; for (int j = 0; j < 100000; j++) { accum += ii.m(b,c,s,i,l,o1,o2,o3,o4,o5,o6); }
< prev index next >