Skip to content

Tag: jvm-bytecode

Invokedynamic with non-static context

I learnt that invokedynamic instruction of bytecode calls a static method representation of lambda. Please let me know if that is incorrect. if correct, then how is below code working? Answer It’s not correct to say that lambda expressions were always compiled to a static method. It’s not specified, how they …