Hi,

   I am relatively new to GWT and am trying to define a user defined
serialiable type Foo in order to do GWT RPC.

   public class Foo implements IsSerializable {
        private String foo;
        private transient Thread thread;

        public Foo() {
        }

        public String getFoo() {

                return foo;
        }

        public void setFoo(String foo) {
                this.foo = foo;
        }
  }

When I try to run this in a GWT module, I get the error:

[ERROR] No source code is available for type java.lang.Thread; did you
forget to inherit a required module?

Why is GWT even bothering with the Thread field when it has been
marked transient? Am I missing something here?

Thanks,
Srini.

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