Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Java 17 - New Features and Long-Term Support Release

Java via YouTube

Overview

Explore the key features and enhancements introduced in Java 17, the second Long-Term-Support (LTS) release since adopting a six-month release cadence. Dive into 14 new JEPs, including sealed classes, pattern matching for switch previews, and API improvements. Learn about enhanced pseudo-random number generators, context-specific deserialization filters, and the Foreign Function & Memory API incubator. Discover updates to Vector API, stronger encapsulation of JDK internals, and restored strict floating-point semantics. Gain insights into deprecated features, the new macOS AArch64 port, and the benefits of Oracle Java SE Subscription. Understand how these changes impact Java development and prepare for the future of the Java platform.

Syllabus

Intro
Moving Java forward
Sealed Class Example
Pattern Matching for switch Preview JEP 406 Enhance the Java programming language with pattern matching for switch expressions and statements.
Pattern matching for switch - Before
Pattern matching for switch - After
Pattern matching for switch - Matching null
Pattern matching for switch - Guarded patterns
Pattern matching for switch Possible issues Dominance of pattern labels
Enhanced Pseudo-Random Number Generators (PRNGS)
Context-Specific Deserialization Filters
Foreign Function & Memory API Incubator
Vector API Incubator
Vector API Simplified example
Strongly Encapsulate JDK Internals by default 17 JEP 408
Restore Always-Strict Floating-Point Semantics
Deprecated for removal
Gone with JDK 17
macOS AArch64 Port JEP 391
Oracle Java SE Subscription Empowering organizations to run on Java
Java SE Subscription: value to customers
GraalVM Enterprise
Java Management Service

Taught by

Java

Reviews

Start your review of Java 17 - New Features and Long-Term Support Release

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.