Hello David!

I don't think it is a bug. How would the gwt compiler know that you want to
transfer Pojo_Object_Concrete_Class over RPC. You only declare
Custom_Pojo_Object_Interface  in your RPC interface. You have to explicitly
show the compiler what classes you want to transfer over RPC.

I hope this helps

Best
 - István


On Tue, Feb 9, 2010 at 11:21 PM, devadvocate <
[email protected]> wrote:

> While attempting to serialize this type with gwt-rpc in gwt 2.0:
>
> SortedMap<String, List<Custom_Pojo_Object_Interface>>
>
> and a concrete type of TreeMap, I get this error message at runtime:
>
> Type 'Pojo_Object_Concrete_Class' was not included
> in the set of types which can be serialized by this
> SerializationPolicy or its Class
> object could not be loaded. For security purposes, this type will not
> be serialized.:
> instance = fPojo_Object_Concrete_Class...
>
> Both Custom_Pojo_Object_Interface
>
> and
>
> Pojo_Object_Concrete_Class
>
> implement IsSerializable.
>
> is this a bug in GWT 2 or am I doing something wrong?
>
> Thanks,
> David
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
[email protected] | inepex.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to