<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/structured-concurrency-revamp-in-java-25-b37qqkz1c" -->

---
title: Structured Concurrency Revamp in Java 25 | daily.dev
description: JEP 505 revamps the structured concurrency API in JDK 25, previewing it for the fifth time with significant changes. The core type `StructuredTaskScope` is now...
canonical: https://daily.dev/posts/structured-concurrency-revamp-in-java-25-b37qqkz1c
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Structured Concurrency Revamp in Java 25 | daily.dev
og:description: JEP 505 revamps the structured concurrency API in JDK 25, previewing it for the fifth time with significant changes. The core type `StructuredTaskScope` is now...
og:url: https://daily.dev/posts/structured-concurrency-revamp-in-java-25-b37qqkz1c
og:image: https://api.daily.dev/og/posts/b37Qqkz1c.png
og:image:alt: Structured Concurrency Revamp in Java 25
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Structured Concurrency Revamp in Java 25

**[nipafx \(Nicolai Parlog\)](https://daily.dev/sources/nipafx)** · 10 min read · 0 upvotes · 0 comments

## Summary

JEP 505 revamps the structured concurrency API in JDK 25, previewing it for the fifth time with significant changes. The core type `StructuredTaskScope` is now a sealed interface instead of a non-final class, removing the ability to subclass it. Configuration is now handled via a `Configuration` object (supporting name, thread factory, and timeout) and a new `Joiner` abstraction that controls how subtask completion is handled. Built-in joiners cover common patterns: all-must-succeed with typed results, any-one-success short-circuit, and await-all regardless of outcome. The `join` method now throws subtask exceptions directly, eliminating the old `throwIfFailed` method. Cancellation propagates via thread interrupts, scoped values are inherited automatically by subtasks, and `jcmd` thread dumps now display the full task hierarchy tree.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://nipafx.dev/inside-java-newscast-91>

## Similar posts on daily.dev

- [JEP 525: Structured Concurrency \(Sixth Preview\)](https://daily.dev/posts/jep-525-structured-concurrency-sixth-preview--0p1e9yjdb) · Inside Java · 0 upvotes · 0 comments
- [JEP draft: Structured Concurrency](https://daily.dev/posts/jep-draft-structured-concurrency-xkio5cvnc) · Awesome Java Newsletter · 1 upvotes · 0 comments
- [JEP 525 Brings Timeout Handling and Joiner Refinements to Java’s Structured Concurrency](https://daily.dev/posts/jep-525-brings-timeout-handling-and-joiner-refinements-to-java-s-structured-concurrency-ubqrmnxhr) · InfoQ · 0 upvotes · 0 comments

---

Tags: [#java](https://daily.dev/tags/java)

[View this post on daily.dev](https://daily.dev/posts/structured-concurrency-revamp-in-java-25-b37qqkz1c)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Structured Concurrency Revamp in Java 25","url":"https://daily.dev/posts/structured-concurrency-revamp-in-java-25-b37qqkz1c","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/structured-concurrency-revamp-in-java-25-b37qqkz1c"},"datePublished":"2026-03-16T08:13:23.189Z","dateModified":"2026-03-16T08:22:53.342Z","description":"JEP 505 revamps the structured concurrency API in JDK 25, previewing it for the fifth time with significant changes. The core type `StructuredTaskScope` is now...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/4321e98b7c5cce9e9044676efadcaeec?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/4321e98b7c5cce9e9044676efadcaeec?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"nipafx (Nicolai Parlog)","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"nipafx (Nicolai Parlog)","logo":"https://media.daily.dev/image/upload/s--H_Echo_u--/f_auto,q_auto/v1773648772/logos/nipafx?_a=BAMAMiiu0","url":"https://daily.dev/sources/nipafx"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/structured-concurrency-revamp-in-java-25-b37qqkz1c","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"java","timeRequired":"PT10M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"nipafx (Nicolai Parlog)","item":"https://daily.dev/sources/nipafx"},{"@type":"ListItem","position":3,"name":"Structured Concurrency Revamp in Java 25"}]}
```

