Hey guys!

I ran into the following problem:

my RemoteService class has the following method:

<T extends IsSerializable, Serializable> List<T> get( Class<T> cls );

AsyncService:

 <T extends IsSerializable, Serializable> void get( Class<T> cls,
AsyncCallback<List<T>> callback);

I'm calling the method with a class which directly inherits
Serializable and IsSerializable, and it also has a default
constructor!

I'm using gwt 1.5.3

When I try to run the application the error:

Parameter: java.lang.Class<T> cls
                           java.lang.Class<T>
                              [ERROR] Type 'java.lang.Class<T>' was
not serializable and has no concrete serializable subtypes

comes up, and the build fails....

Is this another bug, since this kind of problems have already occured
in previous releases of gwt, or am I doing something wrong..?!?

thanks in advance

greets!


--~--~---------~--~----~------------~-------~--~----~
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