Early access JDK 21 version

Alan Bateman Alan.Bateman at oracle.com
Mon Jun 12 05:10:03 UTC 2023


On 10/06/2023 03:26, viraj shetty wrote:
> Hello -
>
> I have been playing around with Virtual Threads and Structured 
> Concurrency. I love it.
>
> I was looking for the early access version for JDK 21 where the 
> StructuredTaskScope and related classes are now moved into the 
> java.util.concurrent package (from incubator).
>
> The Loom website sends me to an early access build site  which points 
> to "Build 25 (2023/6/1)". But in this build the classes have not moved 
> to java.util.concurrent package and Subtask is not defined.
>
> Which build for JDK 21 should I use to get latest changes to 
> StructuredTaskScope apis  and where can I get it ?
>
The Project Loom EA page should list 3 JEPs that are integrated into JDK 
21. JEP 453 integrated into JDK 21 build 26 so any EA build from b26 on 
would be good to try.

-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20230612/3ec6ee5d/attachment-0001.htm>


More information about the loom-dev mailing list