tags:

views:

626

answers:

6
+2  Q: 

Closures in Java 7

So is Java 7 finally going to get the closures? What's the latest news?

+1  A: 

http://java.dzone.com/news/closures-coming-java-7

Marcelo Cantos
Is that err... latest?
Bill Skapfman
+1  A: 

Already has been asked here http://stackoverflow.com/questions/233579/closures-in-java-7 :) Should followup there

Neer
This should've been a comment then :)
Bill Skapfman
More links info here http://is.gd/b1XA3and here http://is.gd/b1XEG
Neer
Lesson learnt .. :)
Neer
A: 

The latest news is AFAIK still as of late Nov 2009 that closures will be in Java 7 in some form. Since this was given as the main reason for a significant delay in the release, it seems pretty unlikely that they'll drop it again.

Michael Borgwardt
No, it wasn't given as the main reason for a significant delay in the release. A significant delay in release was given as one of the reasons they were going to try to add closures.
ColinD
+4  A: 

Yes, closures were include to release plan of java 7 (and it was the most significant reason to delay release from winter to autumn (expected in September 2010)).

The latest news could be found at Project Lambda. You may also be interested in reading latest specification draft.

Roman
Actually, the delay was needed for other reasons, and the extra time made it possible to add closures.
Neal Gafter
A: 

There's been a whole lot of syntax and transparency related debating (particularly focusing on how hard to read a currying function with a particular syntax is, it seems like) going on on the lambda-dev mailing list, and there have been a couple draft proposal iterations from Sun, but I haven't seen much from them on that list in a while.

ColinD
+2  A: 
soc