On Sun, Apr 29, 2018 at 11:14 AM, Remi Forax <fo...@univ-mlv.fr> wrote:
I do not care about double and float, doing == on a double or a float is > already dubious, but why drop the support for long ? > I think the set should be expanded all at once. It's noisy otherwise. Secondarily to that I argued that it was better to wait and do them all together with patterns. > > * Misc smaller changes from community feedback (thanks!) > > > > Comments welcomed! > > Gavin > > Rémi > > > > >> On 12 Apr 2018, at 22:27, Gavin Bierman <gavin.bier...@oracle.com> > wrote: > >> > >> I have uploaded a draft spec for JEP 325: Switch expressions at > >> http://cr.openjdk.java.net/~gbierman/switch-expressions.html > >> > >> Note there are still three things missing: > >> > >> * There is no text about typing a switch expression, as this is still > being > >> discussed on this list. > >> * There is no name given for the exception raised at runtime when a > switch > >> expression fails to find a matching pattern label, as this is still > being > >> discussed on this list. > >> * The spec currently permits fall through from a "case pattern:” > statement group > >> into a "case pattern ->" clause. We are still working through the > consequences > >> of removing this possibility. > >> > >> Comments welcomed! > > > Gavin > -- Kevin Bourrillion | Java Librarian | Google, Inc. | kev...@google.com