Lambda's/Closures & Extension Methods in JDK 1.6

Llewellyn Falco isidore at
Wed Sep 29 00:36:56 PDT 2010

On Tue, Sep 28, 2010 at 11:55 AM, Brian Goetz <brian.goetz at>wrote:

> I've implemented 2 features to the JDK 6 without any changes to the JDK,
>> JavaC, Java Syntax, or Java Byte code. As such, I think they might be of
>> interest to Project Coin.
>> Those 2 features are:
>> Lambdas
>> Extension Methods
> We considered, and explicitly rejected, implementing extension methods with
> a compiler-only strategy because it can cause all sorts of "brittle class"
> problems.

As I mentioned, I'm currently using them without even changing the compiler.
They work well, but I find the syntax a bit cumbersome. I haven't found any
brittle class issues. I should mention that the syntax was cumbersome enough
that I didn't use them for about a year, until I started using lambdas. Now
they have become more essential.

Did you try out the solution?


More information about the coin-dev mailing list