开发者

Will Closures be supported in the final JDK 7 or not? [duplicate]

开发者 https://www.devze.com 2023-01-05 14:23 出处:网络
This question already has answers here: Closed 12 years ago. Possible Duplicate: Closures in Java 7 There are so many articles and web pages about Closures in JDK 7. As i remember, first
This question already has answers here: Closed 12 years ago.

Possible Duplicate:

Closures in Java 7

There are so many articles and web pages about Closures in JDK 7. As i remember, first they said that Closures will be in JDK7, then they said that they won't be - but that was in the beginning of 2009. Then in the end of 2009 they said that they will be in JDK7 again. Now as i'm researching this issue, i'm a bit confused and i just can't find a definite, absolutely final statement for this.

I found out that Closures are now under the hood of Project Lambda, but no开发者_Python百科t if it will be included in the final JDK (i only read "proposal", "eventual" etc.)

As i'm currently writing a thesis where i want to tell if Closures are supported in JDK 7 i need to be completely sure and i also need a good source for this information (as new as possible, possibly from someone from the JDK staff or so).

Any help highly appreciated!


Unfortunately I don't think there is any absolute answer to your question right now. JDK 7 may or may not have lambdas. Work is in progress and there has been quite a bit of activity on the project-lambda mailing list, but I don't think Oracle is saying anything right now about the schedule or whether or not project-lambda will be included. It still has a long ways to go and a lot of design issues to be worked out, I think.

You should follow the lambda-dev mailing list and check its archives if you want to know more.


You can surely expect 'Closures will be included in JDK 7' because among 8 milestones for this release Milestone 6 has been included Closures. Project Lambda also got approved.

When Milestone 6 has included Closures, we can surely expect it will be with JDK 7

0

精彩评论

暂无评论...
验证码 换一张
取 消