jdk20 in eclipse and Scoped values

Davor Hrg hrgdavor at gmail.com
Tue Mar 21 15:09:29 UTC 2023


Hi,

thank you for the hint. It is my first time trying preview features.

Still this is only one half of my problem, I still can not get it to allow
compliance level 20, only 19.
That is even with latest milestone build I could find.

It does not recognize ScopedValue.

thanks,

/davor



On Tue, Mar 21, 2023 at 1:22 PM Kasper Nielsen <kasperni at gmail.com> wrote:

> > Is there a way to run jdk20 code in eclipse ?
> >
>
> Really, the only thing you need is to run with "--enable-preview" it
> should work out of the box.
>
> If you are running on the module-path add
>    requires jdk.incubator.concurrent;
>
> /Kasper
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20230321/bf50a38b/attachment.htm>


More information about the loom-dev mailing list