Found another issue with 2.4 RC1. It seems that polymorphism is still broken.
interface A extends EntityProxy { ... }
interface B extends A { ... }
interface C extends A { ... }
interface D {
A getA();
}
interface S extends RequestContext {
RequestContext<List<D>> queryDs();
}
The service is called correctly, and returns the correct results, but the client fails when it receives a response:
generated class: SImpl(AbstractRequestContext).createProxy(Class<T>, SimpleProxyId<T>) line: 489
failing method: public <T extends BaseProxy> AutoBean<T> createProxy(Class<T> clazz, SimpleProxyId<T> id)
Line 489: throw new IllegalArgumentException("Unknown proxy type " + clazz.getName());
Messages: "Unknown proxy type B", "Unknown proxy type C"
Note that this code worked fine in GWT 2.2.