I have classes with inner enums such as public class Foo implements java.io.Serializable { public enum Status { ACTIVE, INACTIVE, NA }
private Status status; public Foo() {} public Status getStatus(){ return this.status; } .... } When I compile (gwtc), it does not complain; however, I get the following exception during runtime. .... Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'com.mycompany.gwt.Foo$Status' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = ACTIVE ... Any idea? Does gwt not able to serialize enums defined as an inner class? Do I have to create top level enum classes? BTW, I am using GWT 2.0.3 on OS X. Any help on this would be greatly appreciated. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.