This feature simplifies concurrent programming by introducing the concept of structured concurrency to " treat groups of related tasks running in different threads as a single unit of work, thereby streamlining error handling and cancellation, improving reliability, and enhancing observability." The only significant change is the addition of a method to the StructuredTaskScope.Joiner interface, that allows for implementations of that interface to return a result after the timeout expires.
This week's Java roundup for October 20th, 2025, features news highlighting: Oracle's Critical Patch Update (CPU) for October 2025; BellSoft CPU patches for Liberica JDK; the GA release of Grails 7.0; point releases for Micronaut, Hazelcast, LangChain4j and OpenXava; and the November 2025 beta release of Open Liberty.
Formerly known as Stable Values and Computed Constants, this JEP proposes a second preview, with changes, after the first round of preview, namely: JEP 502, Stable Values (Preview), for JDK 26. This feature introduces the concept of computed constants, defined as immutable value holders that are initialized at most once.