hg: amber/amber: allow statements before this, super in a constructor
Brian Goetz
brian.goetz at oracle.com
Mon Jan 8 16:30:18 UTC 2018
I created https://bugs.openjdk.java.net/browse/JDK-8194743. This may get
rolled into the "Records" JEP, or (depending on timing) may gets its own
standalone JEP.
On 1/8/2018 8:01 AM, Vicente Romero wrote:
>
>
> 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