Re: [gwt-contrib] Creating an Array class using Interop

2016-05-02 Thread Paul Stockley
Actually the problem is when you set it to MINIMAL you get an undefined error in SDM. I will see if I can get a small reproducible case and file a bug. On Monday, May 2, 2016 at 4:56:02 PM UTC-4, Goktug Gokdogan wrote: > > Oh sorry. I totally misread. So you are saying if you DON'T set > 'jre.

Re: [gwt-contrib] Creating an Array class using Interop

2016-05-02 Thread 'Goktug Gokdogan' via GWT Contributors
Oh sorry. I totally misread. So you are saying if you DON'T set 'jre.checks.checkLevel" to MINIMaL everything works fine? That's very surprising. You should reproduce the the issue and file a bug. On Mon, May 2, 2016 at 12:03 PM, Paul Stockley wrote: > It wasn't to get around underlying cast pro

Re: [gwt-contrib] Creating an Array class using Interop

2016-05-02 Thread Paul Stockley
It wasn't to get around underlying cast problems, just more for code size and speed improvements. I guess the behavior was kind of unexpected in SDM. Ideally using jre.checks.checkLevel mininal should work in SDM or at the very least give an error stating it is incompatible. On Monday, May

Re: [gwt-contrib] Creating an Array class using Interop

2016-05-02 Thread 'Goktug Gokdogan' via GWT Contributors
If you need to disable cast checking, you are definitely doing something wrong; you should fix underlying problem instead of disabling checks. On Sun, May 1, 2016 at 6:19 AM, Paul Stockley wrote: > I am trying to create a native JsType to represent a javascript Array. Up > to this point I have b

[gwt-contrib] Creating an Array class using Interop

2016-05-01 Thread Paul Stockley
I am trying to create a native JsType to represent a javascript Array. Up to this point I have been using JSNI. Below is the outline of what I have. I want to use an Interface as my eventual goal is to be able to define JSON structures using the same class on client and server. @JsType(isNative