Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of JVM Bridge Methods in this 44-minute Java talk presented by Dan Heidinga. Delve into the history and purpose of bridge methods, understanding their origins and applications in modern Java programming. Learn about their relationship with erasure, lambda expressions, collection classes, and language-level rules. Examine implementation examples, including Invoke Dynamic, Invoke Interface, and Invoke Virtual. Compare class and interface approaches, and gain insights into separate compilation. Enhance your understanding of Java's inner workings and improve your ability to write efficient, compatible code.
Syllabus
Introduction
History of Bridge Methods
What are Bridge Methods
Where do they come from
erasure
lambda expressions
collection classes
language level rules
road not taken
Implementation example
Invoke Dynamic
Invoke Interface
Invoke Virtual
Interfaces
Class vs Interface
Separate Compilation
Taught by
Java