It seems that client side code can't work with EnumSet class. Is this
a known issue or am I doing something wrong?

I get this runtime error message:

 java.util.EnumSet.EnumSetImpl<E> is not default instantiable (it must
have a zero-argument constructor or no constructors at all)  and has
no custom serializer.


Here is a way to reproduce the error:

Service:
String echo (EnumSet<Names> name) throws IllegalArgumentException;

Client:
echoServ.echo (EnumSet.of(Names.JOHN), new AsyncCallback<String>()
{ ....... });


enum Names { JOHN, NUMAN, OBAMA }

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