Question.. if I have an interface:

public MyInterface {
   ArrayList<Something> getSomethings();
}

Then on the client I implement:

public JSMyInterface extends JavascriptObject implements MyInterface {
   private ArrayList<Something> mySomethings;

   public ArrayList<Something> getSomethings() {
       return mySomethings;
   }
}

This works great when I deploy my app/run it in a browser.

BUT, if I run it in DevMode(2.0).. I get:

ClasscastException, cannot cast javaScriptObject to ArrayList.

So why is DevMode being a stickler/stinker hah

Roger

On Jan 23, 2010, at 8:23 AM, Fletch wrote:

> Upon upgrading to GWT 2.0 on my laptop I am able to take advantage of
> the new "Development Mode" and run GWT applications in my browser
> without any error. Unfortunately there is basically no error logging
> like 1.71, there is no way to debug server interactions that I can
> see. Can someone please help me figure out how to enable this for the
> Eclipse plugin?? Is there something I am doing wrong? Please let me
> know if you need any more information from me.
> 
> Thank you,
> 
> Fletch
> 
> -- 
> 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.
> 

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