gwt /
gwt /
4ae1eb646d0518769089c93712802e81cb634043 RequestFactoryGenerator generated invalid java classes.
In some cases RequestFactoryGenerator generated classes that implemented the same generic
interface twice with different generic parameters. For example:
class X extends AbstractRequest<ResultType>
implements InstanceRequest<BarProxy, ResultType> { ... }
where AbstractRequest is defined in the library as follows:
class AbstractRequest<X> implements InstanceRequest<BaseProxy, X> {... }
Although the code is not valid java the GWT compiler would ignore the error and generate
working code; but newer versions of the JDT reject the code.
The change here is to add a type argument to AbstractRequest:
AbstractRequest<P extends BaseProxy, X> … implements InstanceRequest<P, X>
Change-Id: Ib9a604ef63f05bbecd8bfed60255f74682607fcc
Review-Link: https://gwt-review.googlesource.com/#/c/2370/
Review by: skybrian@google.com
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11578 8db76d5a-ed1c-0410-87a9-c151d255dfc7
4 files changed