<i18n dev> RFR: 8268124: Update java.lang to use switch expressions [v3]

Rémi Forax forax at openjdk.java.net
Thu Jun 3 11:38:40 UTC 2021


On Thu, 3 Jun 2021 10:57:16 GMT, Patrick Concannon <pconcannon at openjdk.org> wrote:

> My mistake. I've replaced the colon now with the lambda operator.

Drive by comment, in term of name, `->` is the arrow operator not the lambda operator.
- lambda = parameters + arrow + code
- arrow case =  case + arrow + code

The difference is important because a lambda is a function while an arrow case is a block.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4312


More information about the i18n-dev mailing list