JCrete2013:Java 8 JVM and Bytecode

From WikiEducator
Jump to: navigation, search
Java 8 JVM and Bytecode
Convenor: Marc Hoffmann
  • Chris Newland
  • Donnchadh Ó Donnabháin
  • Jesper Udby
  • Michael Hunger
  • Marek Nowicki
Java 8 JVM and Bytecode - JCrete2013

Free content media streamed from Wikimedia Commons

Download: .ogg

How do the new Java 8 language features (lambda and default methods) map to Java byte code?

  • Lambda expressions get compiled to synthetic methods ("unsugar")
  • Method references are based on INVOKEDYNAMIC which has already been introduced with Java 7.
  • The class file specification was updated for default methods in interfaces and type annotations.

Recommendations go here