21 brings new preview features in the form of string templates and unnamed patterns / variables, and finalizes record patterns and virtual threads (both introduced in Java 19).
By upgrading from 17, we also get better Unicode handling, and a couple of other minor library changes that would...