We are using GWT HEAD-SNAPSHOT in production with Java 11, both target and JDK, in a project using RxJava and AutoREST so looks like the bug was fixed and included in 3.17 JDT release which is the one added to GWT.
On Thursday, April 25, 2019 at 8:49:23 PM UTC+2, [email protected] wrote: > > This bug in the JDT compiler is worth noting. I ran into last summer when > trying to upgrade the JDT to handle newer versions of java inside of GWT: > https://bugs.eclipse.org/bugs/show_bug.cgi?id=538126 > > It affects RXJava/GWT-Autorest and is scheduled to be fixed in 4.12 (very > tentatively). > > On Thursday, February 7, 2019 at 2:23:03 AM UTC-5, Jens wrote: >> >> >> Colin, >>> My concern is that a lot of time is spent on re-writing RPC, XML >>> UI-binding. Given how short-handed the maintainers are, should we not focus >>> on just one thing - 2.9 with basic compiler support for Java 11 jdk? I >>> don't even advocate for porting any new core Java 9+ JDK APIs. >>> ... Even worse: downstream projects, such as Errai won't move to Java 11 >>> unless there is an official GWT release for it. >>> >> >> GWT depends on Eclipse JDT, and the current stable version used in >> https://gwt-review.googlesource.com/c/gwt/+/21540 is missing some >> valuable bugfixes that will be part of the next JDT 4.11 release (will be >> released when Eclipse 2019-03 will be released). One of the main features >> of Java 11 is using the var keyword in lambda parameters. However that >> fails for Function and Predicate with the current JDT release but has been >> fixed for the next release. There is also a compilation slowdown fixed. >> >> So I think it is better to wait for JDT 4.11 in march and use the time to >> review Colins JRE emulation (which you can also help reviewing), making the >> GWT ant build Java 11 compatible and update the CI build of GWT to use Java >> 11 (with -release 1.8 or course). >> >> >> -- J. >> > -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/ea9dae2c-edf3-4275-9ab8-df638f536bfa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
