hg: valhalla/valhalla: 8221699: [lworld] Implement temporary alternative IDE-compatible annotation for "value" keyword

Remi Forax forax at univ-mlv.fr
Mon Apr 8 22:52:50 UTC 2019


Hi Srikanth,
that's great !

may i ask for the the support of anonymous value class by adding the target ElementType.TYPE_USE,
  new @__value__ AnInterface() {
    ...
  }

cheers,
Rémi

----- Mail original -----
> De: "Srikanth" <srikanth.adayapalam at oracle.com>
> À: "valhalla-dev" <valhalla-dev at openjdk.java.net>
> Envoyé: Lundi 8 Avril 2019 14:56:56
> Objet: hg: valhalla/valhalla: 8221699: [lworld] Implement temporary alternative IDE-compatible annotation for "value"
> keyword

> Changeset: d70134da3046
> Author:    sadayapalam
> Date:      2019-04-08 18:26 +0530
> URL:       http://hg.openjdk.java.net/valhalla/valhalla/rev/d70134da3046
> 
> 8221699: [lworld] Implement temporary alternative IDE-compatible annotation for
> "value" keyword
> 
> + src/java.base/share/classes/java/lang/__value__.java
> ! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
> ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Names.java
> ! test/langtools/tools/javac/diags/CheckResourceKeys.java
> + test/langtools/tools/javac/valhalla/lworld-values/ValueAnnotationTest.java
> + test/langtools/tools/javac/valhalla/lworld-values/ValueAnnotationTest.out



More information about the valhalla-dev mailing list