Upgrading from 2.4 to 2.5: Issues with Generics?
I'm working through the upgrade to 2.5 and I'm having trouble with my use of generics when used with an RPC service. My app works fine in 2.4, but if I change it to use 2.5, my service calls never make it to the server.
I've been able to reproduce the problem by using a generic method.
If I have something like this, it's fine:
public Result execute(Command command) { ... }
However, if it's like this, the method is never invoked on the server:
public <T extends SomeType> Result execute(Command<T> command) { ... }
Has anyone else encountered something similar?
-- 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/-/vZTt3ebl6jYJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home