Life beyond Java 8
summary
75% of Java developers still run Java 8 and Java now ships every six months with designated LTS releases (Java 11, next LTS Java 17) and Oracle charging for its LTS builds. Java 11 adds JShell for REPL work, jlink small runtime for trimmed deployables, the new HTTP client, collection factories (List.of/Set.of/Map.of) and collectors.toUnmodifiableList. Java 14 brings switch expressions, text blocks and preview features like records auto-generated equals/hashCode and pattern matching; G1 is default and ZGC/Shenandoah target lower pause times.
AI-written summary · about
chapters (37)
- 0:00Start
- 1:072020 Developer Ecosystem Survey
- 1:56New Relic Survey
- 3:04New Release Cadence
- 4:48Long-Term Support Release
- 8:21Why Should We Bother Upgrading to either Java 11 or Java 14
- 8:35Java Features
- 10:11Tab Completion
- 11:25Anonymous Variables
- 15:24J Shell Console
- 17:31Live Templates
- 18:20Java 11 Features
- 19:04Best Practices for Using Var
- 21:16Minimize the Scope of Local Variables
- 26:08Convenience Factory Methods for Collections
- 30:44The Stream Api
- 31:49Java 11
- 33:09New Methods on Optional
- 33:25Methods on Optional
- 38:10Multi-Release Jar Files
- 39:50Jigsaw
- 49:37Language Features in Java 14
- 49:53Switch Expression
- 56:13Text Blocks
- 56:51Text Block
- 57:41Inject a Language
- 1:01:48Create a Canonical Constructor
- 1:02:25Overriding a Canonical Constructor
- 1:02:47Pattern Matching
- 1:03:23Beyond Java 14
- 1:04:26Garbage Collector
- 1:06:26Performance
- 1:07:07Better Use of Memory
- 1:07:26Garbage Collection Improvements in Java 11
- 1:09:27Tips for Migration
- 1:09:54Backwards Compatibility
- 1:10:44Update Your Dependencies
