Open zhy2002 opened 7 years ago
The error is reported by JDT (the Java "compiler" toolkit part of Eclipse) which GWT uses type check Java. JDT has some open bugs (like https://bugs.eclipse.org/bugs/show_bug.cgi?id=422503) around Java 8 type checking.
Thanks @rluble
I think we should keep that open as a reminder to update JDT in the future
GWT version: 2.8 Browser (with version): N/A Operating System: Windows 8
Description
Dagger2 generated MembersInjector compiles fine in Java but fails in GWT 2.8 with the error below:
Steps to reproduce
this is a compilation error
Known workarounds
Change ListUiNode signature to:
Links to further discussions
Also logged an issue with Dagger2 project: https://github.com/google/dagger/issues/586
From my experience the GWT compiler has a number of limitations when handling generics code/Java8 features. Are these documented anywhere so we can avoid these situations?