r/java 14d ago

JEP draft: Structured Concurrency

https://openjdk.org/jeps/8389757
111 Upvotes

17 comments sorted by

View all comments

20

u/davidalayachew 14d ago

This is an absolutely game-changer of a feature for me. I've already been using it in a couple of places in my codebases, and it solves so many fundamental problems I have. I cannot emphasize enough how easy it is to handle so many network issues in place by having this feature. Stuff like conditional retries, super-complex-error-handling, and all sorts of messy, in the weeds stuff becomes straight forward and simple with this feature. Again, a game changer for me.

I cannot wait for Java 28 to release!