Wednesday, December 17, 2014

Re: What is planned release date for GWT 2.8 (with lambdas) ?

Well GWT is bad at defining exact release dates as they are usually not met. GWT prefers to put something into the wild that works instead of following exact release dates.

The general plan is to release a GWT version roughly every 6 month: Around Google IO and december/january which happens to be the time frame of GWT.create conference.

The current state of Java8 language features in GWT is:

- Lambda / method reference is implemented in the master branch but some bugs exists the the current JDT version that GWT uses. These bugs are fixed once Eclipse releases the new JDT core package that will also be used in Eclipse 4.5. You can workaround these bugs by building a GWT checkout locally using a JDT snapshot dependency.

https://gwt-review.googlesource.com/#/c/9260/
https://code.google.com/p/google-web-toolkit/issues/detail?id=9036

- interface default/static methods are in review

https://gwt-review.googlesource.com/#/c/10330/

- intersection casts need to be done

Beside language features GWT also needs to add emulation of Java8 APIs which might take some time (Optional, java.util.function, streams, javax.time).


So IMHO it is likely that you can use Java8 language features around GWT.create 2015 (most likely after the conference) in an official GWT 2.8 release. API emulation is a different story.
As said above you can already use lambdas and method references today if you build GWT from trunk and update the JDT dependency before building (see linked issue)


-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment