Addressing a problem with GWT RPC type checking failing to correctly
detect the expected type when the object that is passed as an argument
is actually a base class of the expected type. In such cases, the
previous, wrong behavior was to use the instance's type variables to
resolve the expected type. The fix is to resolve the types using the
instance "cast" to the expected type.

This changes the method signatures for custom serializers. Users will
need to modify their code if they have already produced server-side
custom serializers.

Review by: jat@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@10582 8db76d5a-ed1c-0410-87a9-c151d255dfc7
29 files changed