<html><body><div id="zimbraEditorContainer" style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000" class="13"><div>Thanks,<br></div><div>Rémi<br data-mce-bogus="1"></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Brian Goetz" <brian.goetz@oracle.com><br><b>To: </b>"Remi Forax" <forax@univ-mlv.fr>, "amber-spec-experts" <amber-spec-experts@openjdk.java.net><br><b>Sent: </b>Vendredi 3 Septembre 2021 22:03:42<br><b>Subject: </b>Re: JEP 406<br></blockquote></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><font size="+1"><font face="monospace">Fixed.</font></font><br>
<br>
<div class="moz-cite-prefix">On 9/3/2021 9:41 AM, Remi Forax wrote:<br>
</div>
<blockquote>
<pre class="moz-quote-pre">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");
</pre>
</blockquote>
<br><br></blockquote></div></div></body></html>