hg: amber/amber: allow statements before this, super in a constructor
Vicente Romero
vicente.romero at oracle.com
Mon Jan 8 13:01:27 UTC 2018
On 01/07/2018 07:09 AM, Remi Forax wrote:
> Very cool,
> always wanted to do that in Java,
> i suppose it's a preparation for the 'default' call in constructor.
nice to see that the feature is likable :)
Vicente
>
> 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