_death_dude_
Re:IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8
on Sunday January 03, 2016 @02:22PM (#10831875)
No, invokedynamic is not mandatory for lambda.
It's a proposed translation, which has the advantage to make lambdas that do not capture values to be seen as constant by the VM.
But you're right that certified Java 7 VM must have an invokedynamic opcode.
Re:IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8
on Sunday January 03, 2016 @12:16PM (#10831299)
"Java 8 was SUPPOSED to an even bigger shift than Java 5"
No, it's not, Java 8 is mostly lambdas and unlike generics which requires coordinate effort between the client side and the API side, lambdas are just syntactic sugar at client side and plain old interfaces at API side.
Because of that, Java 8 is supposed to be a smaller shift than Java 5.