Java 16 & 17. What's new and noteworthy?
summary
Covers concrete changes and migration pain points: Java 17 is LTS and removes illegal-access removed so libraries must use explicit opens not setAccessible, ZGC becomes production-ready, sealed classes graduate, pattern matching for instanceof (and preview for switch) shortens casts, and records are real types where records deserialize via constructor and change serialized bytes; Panama merges foreign memory and linker into Panama foreign-memory+linker with resource scopes and VarHandles, Vector API remains preview, and jpackage creates native installers — demos show Spring/Jackson and Testcontainers working.
AI-written summary · about
chapters (19)
- 0:00Introduction
- 1:21Speaker background
- 4:00Java 16 and 17 overview
- 6:56Migration strategy
- 11:02The truth about LTS
- 13:47Preview features
- 15:55Infrastructure changes
- 17:50Value-based classes
- 20:56Accessing internals
- 24:23Pattern matching for instanceof
- 27:28Sealed classes
- 30:42Encapsulation and security
- 39:28Pattern matching for switch
- 50:00Refining pattern matching
- 58:04Records and data carriers
- 1:13:54Spring batch and JPA integration
- 1:25:47Garbage collection and tools
- 1:36:55Project Panama and Vector API
- 2:31:10Conclusion and closing
related talks
44mJava 17: New and Exciting!
01h 05mJava 11 to 17 - Exciting New Features
50mThe Cool Thing about Cool Things in Java 16 & 17 LTS
01h 13mJDK 16: What's Next For Java?
51mJava 17 - What to Expect in the Latest LTS Release?
40mSailing Java 16
01h 53mGet Ready for the Next LTS Java
56mEffective Java SE 16 APIs
