Java 17 preview language level use

Archie Cobbs archie.cobbs at gmail.com
Fri Dec 1 21:50:52 UTC 2023


On Fri, Dec 1, 2023 at 9:50 AM Tagir Valeev <amaembo at gmail.com> wrote:

> >If I start up the IDE, configure Java 17 and want to have preview
> features enabled (i.e., turn on --enable-preview), are you saying I can't
> do that?
>
> Yes. Similarly, if you install Java 21 and use `--enable-preview
> --release=17`. You can't do that. You have to install an older version of
> Java, or (in our case) an older version of IDE.
>

I agree with Alex - In short, "preview feature" and "long term support" are
orthogonal concepts, and therefore this seems like just a problem with an
IDE limitation.

-Archie

-- 
Archie L. Cobbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-spec-observers/attachments/20231201/1690620e/attachment.htm>


More information about the amber-spec-observers mailing list