RFR: 8268124: Update java.lang to use switch expressions [v3]
Patrick Concannon
pconcannon at openjdk.java.net
Fri Jun 4 15:25:58 UTC 2021
On Thu, 3 Jun 2021 11:35:13 GMT, Rémi Forax <forax at openjdk.org> wrote:
>> My mistake. I've replaced the colon now with the lambda operator. See a8706b0
>
>> 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.
Ah OK, good to know. Thanks Remi!
-------------
PR: https://git.openjdk.java.net/jdk/pull/4312
More information about the core-libs-dev
mailing list