hg: amber/amber: allow statements before this, super in a constructor

Remi Forax forax at univ-mlv.fr
Sun Jan 7 12:09:56 UTC 2018


Very cool,
always wanted to do that in Java,
i suppose it's a preparation for the 'default' call in constructor.

Rémi

----- Mail original -----
> De: "Vicente Romero" <vicente.romero at oracle.com>
> À: "amber-dev" <amber-dev at openjdk.java.net>
> Envoyé: Dimanche 7 Janvier 2018 03:48:25
> Objet: hg: amber/amber: allow statements before this, super in a constructor

> Changeset: 35b9d7ffcd88
> Author:    vromero
> Date:      2018-01-06 21:42 -0500
> URL:       http://hg.openjdk.java.net/amber/amber/rev/35b9d7ffcd88
> 
> allow statements before this, super in a constructor
> 
> ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
> !
> src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
> - test/langtools/tools/javac/diags/examples/CallMustBeFirst.java
> + test/langtools/tools/javac/diags/examples/OnlyOneSuper.java


More information about the amber-dev mailing list