RFR: 8284199: Implementation of Structured Concurrency (Incubator)

Paul Sandoz psandoz at openjdk.java.net
Mon May 23 19:03:51 UTC 2022


On Thu, 19 May 2022 13:05:54 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> This is the implementation of JEP 428: Structured Concurrency (Incubator).
> 
> This is a non-final API that provides a gentle on-ramp to structure a task as a family of concurrent subtasks, and to coordinate the subtasks as a unit.

Previously reviewed while in the loom repo.

src/jdk.incubator.concurrent/share/classes/jdk/incubator/concurrent/StructureViolationException.java line 40:

> 38: 
> 39:     /**
> 40:      * Constructs an {@code StructureViolationException} with no detail message.

Suggestion:

     * Constructs a {@code StructureViolationException} with no detail message.

src/jdk.incubator.concurrent/share/classes/jdk/incubator/concurrent/StructureViolationException.java line 47:

> 45: 
> 46:     /**
> 47:      * Constructs an {@code StructureViolationException} with the specified

Suggestion:

     * Constructs a {@code StructureViolationException} with the specified

-------------

Marked as reviewed by psandoz (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/8787


More information about the core-libs-dev mailing list