Closures for Java (0.6) specification part b

Jonathan Gibbons Jonathan.Gibbons at Sun.COM
Mon Dec 14 11:20:02 PST 2009


As much as I like control flow abstraction, it seems that your proposal 
0.6b leaves us in a half-way house with respect to control flow 
keywords.   Using the 'for' modifier, 'break' and 'continue' get to work 
as expected, but it would appear that 'return' is still local to the 
lambda function, which is mildly icky.  Have you considered this issue?

-- Jon

More information about the closures-dev mailing list