groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesper Steen Møller <>
Subject Re: About the native lambda
Date Fri, 22 Dec 2017 10:26:06 GMT

> On 22 Dec 2017, at 10.48, Daniel.Sun <> wrote:
>       The problem I am trying to resolve is how to get the method's name
> and descriptor? [2] It seems the type flow analysis have to rely on the
> existing static compilation...

There is no short cut possible here: You need full static analysis to make lambdas Java-compatible
and emit the right invokedynamic calls. And the type inference is really complicated w.r.t

You can read about it here:

View raw message