My *Async interface contains the following method signature:

void reportsAvailableFor(Class<? extends AbstractRow> rowClass,
AsyncCallback<Boolean> callback);

The method signature in the application i.e. Servlet interface
likewise looks like:

Boolean reportsAvailableFor(Class<? extends AbstractRow> rowClass);

The GWT shell complains at startup that:

[ERROR] Type 'java.lang.Class<? extends
ch.netcetera.eveni.client.model.table.AbstractRow>' was not
serializable and has no concrete serializable subtypes

At that point I thought that GWT had an issue with the Generics
parameter. Hence, I removed the restrictive "<? extends AbstractRow>"
suffix from the Class type, but GWT still complains about:

"'java.lang.Class' was not serializable and has no concrete
serializable subtypes"

Now this is definitely bogus IMO as java.lang.Class<T> clearly states
"implements java.io.Serializable" - and yes, I'm using GWT 1.5.3.

Marcel





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