*** 53,63 **** } static { try { Class<?> clazz = TestMethodHandles.class; - ClassLoader loader = clazz.getClassLoader(); MethodHandles.Lookup lookup = MethodHandles.lookup(); MethodType mt = MethodType.methodType(MyValue3.class); test1_mh = lookup.findVirtual(clazz, "test1_target", mt); test2_mh = lookup.findVirtual(clazz, "test2_target", mt); --- 53,62 ----