Just tried to migrate from 2.2 to 2.4 RC1. First, the project didn't compile because of internal compiler errors. All obsolete RF-related stuff is removed from 2.4 (good), but if the project uses RF there is no way to move to 2.4 without migrating from gwt to web.bindery. After migrating from gwt to web.bindery the internal compiler error disappeared (good). After fixing some incompatibilities the project now compiles and the application starts (good). But it fails to run in exactly the same spot as when moving from 2.2 to 2.3 without migration from gwt to web.bindery (bad). And in 2.2 the application runs fine.
Here is the culprit: interface P extends EntityProxy { ... } interface PA extends P { ... } interface PB extends P { ... } interface R extends RequestContext { Request<Long> queryCountOfP(P p); } When queryCountOfP() accepts an instance of PA, the onSuccess() callback is called fine. When queryCountOfP() accepts an instance of PB, the failure occurs: java.lang.IllegalArgumentException: Unknown proxy type PB The server receives the call, the argument type of the service method is correct (B), but after returning to the client the following method throws an exception: at com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext.createProxy(AbstractRequestContext.java:489) Neither onSuccess() nor onFailure() nor onViolation() gets called. Why does the method fails on PB but not on PA? Is there anything wrong with this usage pattern? Thanks! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/NcKdpIa6arQJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.