I tried changing the line to: public enum Color implements IsConfigurable, Serializable
and I'm still getting the same compile error. Thanks! Mike On Oct 29, 3:57 pm, Patrick Tucker <[email protected]> wrote: > The enum itself can implement Serializable > > On Oct 29, 2:41 pm, Mike <[email protected]> wrote: > > > 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.
