Here you can find the source of invokeVoid(MethodHandle mh)
public static void invokeVoid(MethodHandle mh) throws Throwable
//package com.java2s; //License from project: Open Source License import java.lang.invoke.MethodHandle; public class Main { public static void invokeVoid(MethodHandle mh) throws Throwable { mh.invokeExact();/*w ww. ja v a 2 s . co m*/ } }