Draft Spec for Second Preview of Flexible Constructor Bodies (JEP 482)

Stephan Herrmann stephan.herrmann at berlin.de
Tue Jun 11 17:49:56 UTC 2024


Am 11.06.24 um 19:25 schrieb Maurizio Cimadamore:
>> What I took home so far is:
>> * javac and ecj both accept some programs that violate JLS version 22
> Yes. And, interestingly, before -source 22, ecj did not accept any of these 
> problematic programs.

Correction as per my other post - you are typing faster than I can research :)

=> before -source 1.5, ecj did not accept any of these problematic programs.

> I think that, in itself, this speaks quite a bit re. how common code like this really is.

not a strong point really

Stephan



More information about the amber-spec-experts mailing list