JDK 18 and JDK 19 preview a number of big ticket features but they also come with a lot of smaller improvements. Here are 24 less-known features that were added to Java in 2022. Among them additions to `Future` and `ForkJoinPool`, to `HashSet` and `HashMap`, Security and GC improvements, Custom Localized Date-Time Formats and an Internet Address Resolution SPI, and much more.
__Chapters:__
0:00 ➠ Intro
0:55 ➠ Structured Concurrency Debugging
APIs: [ Ссылка ]
1:39 ➠ Chaotic Concurrency 😋
Javadoc `Future`: [ Ссылка ]
Javadoc `ForkJoinTask`: [ Ссылка ]
Javadoc `ForkJoinPool`: [ Ссылка ]
2:34 ➠ Hash, Set, and Map 🎾
Javadoc `newHashSet`: [ Ссылка ]
Javadoc `newHashMap`: [ Ссылка ]
3:11 ➠ GitHub Action
oracle-actions/setup-java: [ Ссылка ]
Blog post on the action: [ Ссылка ]
3:38 ➠ Compressing and Expanding
Javadoc `Vector::compress`: [ Ссылка ](jdk.incubator.vector.VectorMask)
Javadoc `Vector::expand`: [ Ссылка ](jdk.incubator.vector.VectorMask)
Javadoc `Integer::compress`: [ Ссылка ](int,int)
Javadoc `Integer::expand`: [ Ссылка ](int,int)
PEXT: [ Ссылка ]
5:05 ➠ Suppressing Javadoc Linting
Documentation: [ Ссылка ]
5:22 ➠ String Deduplication
5:57 ➠ G1 Region Size
7:17 ➠ Security Performance
JDK-8275914: [ Ссылка ]
JDK-8286433: [ Ссылка ]
JDK-8284694: [ Ссылка ]
JDK-8285398: [ Ссылка ]
7:48 ➠ Custom Localized Date-Time Formats
Javadoc `ofLocalizedPattern`: [ Ссылка ](java.lang.String)
8:30 ➠ Javadoc Search
Custom search in Firefox: [ Ссылка ]
Custom search in Chrome: [ Ссылка ]
8:53 ➠ jarsigner Provider Path
9:05 ➠ Address Resolution SPI
JEP-418: [ Ссылка ]
9:54 ➠ Metal Rendering
JEP-382: [ Ссылка ]
10:22 ➠ JAAS without Security Manager
JDK-8267108: [ Ссылка ]
10:47 ➠ Named Record Patterns
JEP-405: [ Ссылка ]
11:11 ➠ Simple Web Server
JEP-408: [ Ссылка ]
Working with the server: [ Ссылка ]
11:30 ➠ Outro
Tags: #Java #JDK18 #JDK19 #OpenJDK #insidejava
![](https://i.ytimg.com/vi/ghGvFcg6GEQ/maxresdefault.jpg)