Java 19 has been available since September 20, 2022 and I didn’t want to miss the opportunity to write some blog posts about some cool new features. Most of them have been made available either as a preview feature or incubator module. This means that these features have to be explicitly activated during the compilation process and at runtime. You’ll find more information on this in the posts listed below.
As a basis for this blog post series, I have consulted the official JDK Enhancement Proposals (JEPs). If you miss any information in this article, please look there directly. I have added links to all the documentation in the corresponding blog posts.
In this blog series, I will go into more detail on the following topics:
- How Structured Concurrency in Java 19 Helps to Make Programming of Concurrent Applications Easier
- Writing Less Boilerplate Code in Java 19 With Instanceof and Record Classes Thanks to Record Patterns
- How Java 19’s Foreign Function and Memory API Simplifies Calling Native APIs
- Virtual Threads (coming soon!)
- Making Use of Java 19’s Enhancements for Switch Statements and Expressions
- How to Speed Up Your Vector Operations Using the Java 19 Vector API
I’d love to hear what you think about the new features in Java 19. Feel free to write me a comment on this page or in one of the articles mentioned above. Thanks a lot!