How can I make an enum that implements a marker interface serializable
in GWT 2.0?

The below example:

public interface IsConfigurable
{
}

public enum Color implements IsConfigurable
{
    BLUE,
    RED;
}

Results in the following:
     [java] Compiling module com.colors
     [java]    Validating newly compiled units
     [java]       [ERROR] Errors in 'file:...Color.java'
     [java]          [ERROR] Line 7: The import ...IsConfigurable
cannot be resolved
     [java]          [ERROR] Line 12: IsConfigurable cannot be
resolved to a type
     [java]    Compiling 6 permutations
...

Thanks!
Mike

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