temporary alternative IDE-compatible annotation for "value" keyword

Remi Forax forax at univ-mlv.fr
Fri Mar 29 17:12:39 UTC 2019


It's a fine idea.

Rémi

----- Mail original -----
> De: "Michel Trudeau" <michel.trudeau at oracle.com>
> À: "John Rose" <john.r.rose at oracle.com>
> Cc: "Mikael Vidstedt" <mikael.vidstedt at oracle.com>, "valhalla-dev" <valhalla-dev at openjdk.java.net>
> Envoyé: Vendredi 29 Mars 2019 17:29:41
> Objet: Re: temporary alternative IDE-compatible annotation for "value" keyword

> I’ve assigned this enhancement to Srikanth, for further triage.
> 
> On Mar 29, 2019, at 9:26 AM, John Rose <john.r.rose at oracle.com> wrote:
> 
> Mikael Vidstedt observed to me the other day that
> he had a nice time experimenting with the "codes
> like a class" aspect of value types.  He noticed one
> thing that seems like a possible RFE to javac for
> the experimental phase:  If the javac parser were
> to accept "@__value__" as a *temporary* alias
> for the "value" quasi-keyword, then various IDEs
> would be able to process the syntax more easily.
> 
> Here's a tracking issue for this:
> https://bugs.openjdk.java.net/browse/JDK-8221699
> 
> — John


More information about the valhalla-dev mailing list