MethodHandle invoker = callSite.dynamicInvoker();
assertThat((String) invoker.invokeWithArguments(handle, 1, 2), is("12"));
handle = lookup().findStatic(ClosureCallSupportTest.class, "concat", genericMethodType(0, true));
callSite = ClosureCallSupport.bootstrap(lookup(), "closure", methodType(Object.class, MethodHandle.class, Object.class));
invoker = callSite.dynamicInvoker();
assertThat((String) invoker.invokeWithArguments(handle, 1), is("1"));
handle = lookup().findStatic(ClosureCallSupportTest.class, "concat", genericMethodType(0, true));
callSite = ClosureCallSupport.bootstrap(lookup(), "closure", methodType(Object.class, MethodHandle.class));
invoker = callSite.dynamicInvoker();