Discover and read the best of Twitter Threads about #Java19

Most recents (2)

Record Patterns in Java 19 A 🧡
deconstructing or extracting the record values has been improved.
Before this release we need to extract the record value manually
#java #java19 #programming Image
1/2 we now can use the record pattern to get the record value
#java #java19 #programming Image
2/2 record nested pattern example Image
Read 4 tweets
In two weeks, #Java19 will be released with some of Java's most anticipated features: virtual threads and structured concurrency! 🀩

To make the best use of virtual threads, servers/frameworks need to support them - here's a list of those that do (reply with those I missed). 🧡
πŸ“£ All of this is still experimental!

Virtual threads and the new APIs are (you need `--enable-preview` and the incubator module `jdk.incubator.concurrent` to use them) and so is support in these projects. You can help them mature over the next months by testing with your app.
The @JakartaEE server @TheApacheTomcat provided experimental support as a part of their 10.1.0-M16 release back in June, but there was a bug that broke HTTP/2 support if async IO was disabled. The unreleased 10.1.0-M17 will include a fix.

Details: tomcat.apache.org/tomcat-10.1-do…
Read 15 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!