JEP 406
forax at univ-mlv.fr
forax at univ-mlv.fr
Sat Sep 4 09:14:20 UTC 2021
Thanks,
Rémi
> From: "Brian Goetz" <brian.goetz at oracle.com>
> To: "Remi Forax" <forax at univ-mlv.fr>, "amber-spec-experts"
> <amber-spec-experts at openjdk.java.net>
> Sent: Vendredi 3 Septembre 2021 22:03:42
> Subject: Re: JEP 406
> Fixed.
> On 9/3/2021 9:41 AM, Remi Forax wrote:
>> While i was re-reding the JEP, something struck me as odd,
>> in the method typeTester, in case of the enum Color, the method values() is
>> called on an instance of the enum but this method is static,
>> the code should be
>> case Color c -> System.out.println("Color with " + Color.values().length + "
>> values");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/amber-spec-experts/attachments/20210904/26100800/attachment.htm>
More information about the amber-spec-experts
mailing list