Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the key features and enhancements introduced in OpenJDK versions 12 through 17 in this comprehensive conference talk from Devoxx Poland 2021. Dive into crucial language additions such as switch expressions, text blocks, records, pattern matching for instanceof, sealed classes, and pattern matching for switch. Examine important API developments, including the Foreign-Memory Access API, Vector API, and Foreign Linker API. Learn about helpful NullPointerExceptions, the new packaging tool, and changes to Java inheritance. Gain insights into warnings for value-based classes and the concept of guarded patterns. By the end of this talk, acquire the knowledge needed to leverage modern Java features effectively in your projects and prepare for migrating production environments to JDK 17.
Syllabus
Intro
Foreign-Memory Access API (JEP 393)
Helpful NullPointerException
Packaging Tool
Java Inheritance
Sealed Classes (JEP 360)
Records (Second Preview)
Pattern Matching instanceof
Streams mapMulti
Vector API (Incubator Module)
Code Example With Vector API
Foreign Linker API (JEP 389): Incubator
Warnings for Value-Based Classes
Pattern Matching for switch (Completeness)
Guarded Patterns
Taught by
Devoxx Poland