Getting the most from modern Java
summary
Eight Java releases arrive in 3.5 years and the talk lists concrete, usable changes: eight versions in 3.5 years. It demos switch expressions that return values, the teeing collector to compute averages without extra passes, text blocks with incidental whitespace rules, records that collapse a 14-line data class into a single declaration (records reduce 14 lines to one), pattern matching for instanceof, sealed classes, the Vector and Panama incubators, and the helpful NPE that names the null field — preview features require --enable-preview and jextract speeds native calls; Azul's Zulu build backports TLS 1.3 and Flight Recorder to JDK 8.
AI-written summary · about
chapters (41)
- 0:00Start
- 0:49Favorite New Feature Coming to Java
- 4:28How To Get the Most from Modern Java
- 4:55Incubator Modules
- 5:36Preview Features
- 7:02Jdk 12
- 7:17Switch Expressions
- 7:32Switch Construct
- 8:40The Switch Statement
- 10:13Comma Separated List
- 14:05Jdk 13
- 14:19Jdk 13
- 16:31Incidental White Space
- 18:12Switch Expression
- 19:13Jdk 14
- 19:40Simple Data Class
- 22:02Compact Constructor
- 25:29Additional Instance Fields
- 26:25Instance of Operator
- 30:48Text Blocks
- 30:59New Escape Sequences
- 32:06Helpful Null Pointer Exception
- 34:21Jdk 15
- 34:32Changes to the Language Syntax
- 34:52Inheritance
- 36:02Sealed Classes
- 38:26Contextual Keywords
- 41:28Contextual Keyword Humor
- 42:08Hidden Classes Introduced in Jdk 15
- 44:41Local Records
- 46:36Patent Matching
- 48:06Unix Domain Sockets
- 48:50Streams Map Multi
- 50:04Vector Api
- 52:47Memory Access Api
- 53:55Memory Layout
- 54:47Remote Libraries
- 56:34Warnings for Value-Based Classes
- 57:17The Default Encapsulation for Jdk Internals
- 59:02Jdk 17
- 1:00:14Null Pointer Exception
