Wednesday, September 5, 2018

Re: GWT 2.9 Questions

Hi Jens,

Any idea for a release date of GWT 2.x ?
Will it add better support for java interface default functions ?

Le mer. 5 sept. 2018 à 09:07, Jens <jens.nehlmeier@gmail.com> a écrit :
GWT 2.x will not drop JSNI anytime soon, only GWT 3 will as it uses a different Java -> JavaScript compiler internally. And yes there is really no timeline for GWT 3 as most work is done by contributors in free time. Currently we are trying to migrate GWT 2.x SDK code so it will become GWT 3 compatible with mostly no breaking changes. This process happens on Github and you can see a list of projects being converted here: ci.vertispan.com . Also some people are working on build plugins to provide a better experience out of the box.

GWT 2.x SNAPSHOT already supports Java 10 syntax, however no Java 9 + 10 API additions have been emulated yet in GWT SDK, so you can not use new Optional methods and such things. Also some Java 8 APIs are still missing.

The only syntax addition of Java 11 is using 'var' for lambda parameters. GWT depends on Eclipse JDT stable release in order to support new syntax features. If you don't use that feature then you should probably be able to run current GWT with Java 11, haven't tried it though. Never used OpenJDK with GWT but I can't think of a reason why it should not work.

-- J.

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment