Java 20 is almost round the corner. We already have a good idea of what new things will be in it. So let us visit them in this newscase: Sequenced Collections, Pattern Matching from project Amber with the support of nesting and type inference, Loom and the new Scoped Values, and an update on Valhalla and value objects.
⎯⎯⎯ Chapters ⎯⎯⎯
0:00 Introducing the JDK 20
1:00 Sequenced Collections
2:54 Pattern Matching
4:00 Loom
6:18 Valhalla and value objects
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
⎯⎯ Resources ⎯⎯⎯
JDK 20 EA builds ➱ https://jdk.java.net/20/
Valhalla Project and LW4 Early Access release ➱ https://jdk.java.net/valhalla/
JDK Release process ➱ https://openjdk.org/jeps/1
JEP 431: Sequenced Collections ➱ https://openjdk.org/jeps/431
JEP 269: Convenience Factory Methods for Collections ➱ https://openjdk.org/jeps/269
JEP 433: Pattern Matching for switch (Preview) ➱ https://openjdk.org/jeps/433
JEP 432: Record Patterns (Second Preview) ➱ https://openjdk.org/jeps/432
JEP 436: Virtual Threads (Second Preview) ➱ https://openjdk.org/jeps/436
JEP 437: Structured Concurrency (Second Incubator) ➱ https://openjdk.org/jeps/437
JEP 439: Scoped Values (Incubator) ➱ https://openjdk.org/jeps/439
JEP draft: Value Objects (Preview) ➱ https://openjdk.org/jeps/8277163
JEP 401: Primitive Classes (Preview) ➱ https://openjdk.org/jeps/401
Tags: #Java #OpenJDK #JDK20 #JVM #InsideJava #PatternMatching #Record #Loom #Valhalla