Lambda Expressions Backported to Java 7, 6 and 5

Ali Ebrahimi ali.ebrahimi1781 at gmail.com
Wed Jul 24 08:09:44 PDT 2013


I think compiler should do this with target 1.7 and before than.


On Wed, Jul 24, 2013 at 6:54 PM, Brian Goetz <brian.goetz at oracle.com> wrote:

> Nice work.  It was part of the design process to enable a mechanism like
> this; it is nice to see this proven and satisfying to see that it was so
> simple to implement.
>
> There will in fact be a small change to the metafactory API before GA.
>
> Sent from my iPad
>
> On Jul 24, 2013, at 4:40 AM, Esko Luontola <esko.luontola at gmail.com>
> wrote:
>
> > Hi all,
> >
> > Thought you might want to know about this:
> >
> >
> http://blog.orfjackal.net/2013/07/lambda-expressions-backported-to-java-7.html
> > https://github.com/orfjackal/retrolambda
> >
> > And thanks for developing the lambdas. :)
> >
> > I would just like to know that what is the probability for the
> > implementation of LambdaMetafactory or InnerClassLambdaMetafactory being
> > changed before the GA release of JDK 8?
> >
> > Currently Retrolambda relies on the fact that LambdaMetafactory
> > dynamically generates exactly one class per each invocation of
> > LambdaMetafactory's methods. Also it relies on the naming pattern of the
> > generated lambda class and the synthetic methods in the class containing
> > the lambda. If any of those implementation details change, I'll have to
> > update Retrolambda.
> >
> > --
> > Esko Luontola
> > www.orfjackal.net
> >
>
>


More information about the lambda-dev mailing list