To Java 18 and Beyond!
summary
Survey of concrete changes since Java 11: JEP 378 adds text blocks (triple quotes) so multiline JSON no longer needs escapes; JEP 361 makes switch an expression with arrow syntax and yield; JEP 394 brings pattern matching for instanceof; JEP 395 adds records as compact immutable data classes; JEP 409 adds sealed classes to limit subtypes; ZGC delivers sub-millisecond pauses (~100 µs typical); AppCDS and the simple jwebserver speed startup (startup often drops ~1s); security manager and finalizers are deprecated for removal.
AI-written summary · about
chapters (15)
- 0:00Start
- 0:50IMPORTANT INFORMATION
- 3:48TEXT BLOCKS
- 6:29SWITCH UPDATES
- 11:14PATTERN MATCHING FOR INSTANCEOF
- 22:06INTERNET-ADDRESS RESOLUTION SPI
- 24:02CODE SNIPPETS IN JAVA API DOCUMENTATION
- 25:43SIMPLE WEB SERVER
- 28:13NEW RUNTIME FEATURES AND IMPROVEMENTS
- 42:49PATTERN MATCHING FOR SWITCH
- 43:40RECORD PATTERNS
- 44:18VIRTUAL THREADS
- 45:22STRUCTURED CONCURRENCY
- 45:47FOLLOW UP LINKS
- 47:01THANK YOU!
related talks
50mTo Java 20 and Beyond
59mEffective Java SE 18 APIs/Lang features, makes your life easier.
44mJava: Java 12, 13 & 14. What's new and noteworthy?
52mTo Java 21 and Beyond!
01h 11mModern Java: This is not your father's Java anymore
01h 03mModern Java 21+: The Next-Level Upgrade
01h 05mJava 11 to 17 - Exciting New Features
51m#JavaNext Language Features
