Just tried to migrate from 2.2 to 2.4 RC1. First, the project didn't compile because of internal compiler errors. All obsoleted RF-related stuff is removed (good), but there is no way to migrate to 2.4 as it was possible to 2.3 (for some people) if the project uses RF. 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 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 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) 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/-/dteQgwksMQEJ. 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.