1 bsmLookupStatic [] 2 Hello World! 3 bsmLookupStatic [] 4 true 5 127 6 c 7 1024 8 123456 9 1.2 10 123456789 11 3.5123456789 12 String 13 bsmLookupStaticWithExtraArgs [1, 123456789, 123.456, 123456.789123] 14 targetMethodTest3 from InvokeCustom 15 bsmCreateCallSite [MethodHandle(InvokeCustom)void] 16 targetMethodTest4 from Super 17 bsmLookupStatic [] 18 targetMethodTest5 1000 + -923 = 77 19 targetMethodTest5 returned: 77 20 bsmLookupStatic [] 21 targetMethodTest6 8209686820727 + -1172812402961 = 7036874417766 22 targetMethodTest6 returned: 7036874417766 23 bsmLookupStatic [] 24 targetMethodTest7 0.50097656 * -0.50097656 = -0.2509775161743164 25 targetMethodTest6 returned: -0.2509775161743164 26 bsmLookupStatic [] 27 targetMethodTest8 First invokedynamic invocation 28 bsmLookupStatic [] 29 targetMethodTest8 Second invokedynamic invocation 30 bsmLookupStatic [] 31 targetMethodTest8 Dupe first invokedynamic invocation 32 bsmLookupTest9 [MethodHandle()int, MethodHandle(int)void, MethodHandle(InvokeCustom)float, MethodHandle(InvokeCustom,float)void] 33 targetMethodTest9 ()void 34 checkStaticFieldTest9: old 0 new 1985229328 expected 1985229328 OK 35 checkFieldTest9: old 0.0 new 1.99E-19 expected 1.99E-19 OK 36 helperMethodTest9 in class invokecustom.InvokeCustom 37 InvokeCustom.<init>(3) 38 run() for Test9 39 InvokeCustom.privateMethodTest9() 40 targetMethodTest9() 41