RicochetTest.java revision 4183
0N/Apublic class RicochetTest {
0N/A private static final int MAX_ARITY = Integer.getInteger(CLASS.getSimpleName()+".MAX_ARITY", 40);
int testRepetition;
testNull();
testBoxLong();
testReturns();
@Test
@Test
@Test
Object res = list8ints.invokeExact(ints[0], ints[1], ints[2], ints[3], ints[4], ints[5], ints[6], ints[7]);
@Test
@Test
@Test
@Test
switch (nargs) {
@Test
switch (nargs) {
@Test
switch (nargs) {
@Test
//System.out.println("testIntCollects "+Arrays.asList(lister, pos, collector)+" on "+Arrays.toString(args));
private static MethodHandle collectArguments(MethodHandle lister, int pos, MethodHandle collector) {
return null;
@Test
if (ret != void.class) {
if (j == pos) continue;
return res;
assertEqualFunctionAt(i, x, y);
assertEqualFunctionAt(i, x, y);
private static void assertEqualFunctionAt(Object v, MethodHandle x, MethodHandle y) throws Throwable {
return ex;
stress();
for (int x : xs) {
private static final MethodHandle opI, opI2, opI3, opI4, opI_L, opJ, opJ2, opJ3, opL2, opL, opL2_I, opL_I, opL_J;
private static void stress() {
l.add(x);