Re: [gwt-contrib] Potentially simple optimization when creating ObjectLiterals

2016-05-02 Thread Paul Stockley
Thanks. definitely wouldn't hold up 2.8 for it. Are you planning on doing any more compiler enhancements after 2.8 or is it all hands on deck for J2CL? On Sunday, May 1, 2016 at 10:06:34 PM UTC-4, Ray Cromwell wrote: > > A quick fix would be, in a linker, to substitute "new $wnd.Object" > with

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

Re: [gwt-contrib] Re: How to unit test JsInterop code

2016-05-02 Thread 'Goktug Gokdogan' via GWT Contributors
A powerful mocking tool. like PowerMock, will let you mock native JsType if you prefer pure JRE unit tests. On Sun, May 1, 2016 at 9:55 AM, Thomas Broyer wrote: > > > On Sunday, May 1, 2016 at 5:46:26 PM UTC+2, Jens wrote: >> >> Depending on what exactly you want to test I would try hard using p

[gwt-contrib] Re: How to unit test JsInterop code

2016-05-02 Thread Paul Stockley
I was looking more to do some basic sanity tests of JsInterop interfaces against actual Javascript libraries (to detect changes in API etc). I hadn't looked at GWTTestCase for a while but remembered it ran DevMode. Looks like I will be able to use webMode. On Sunday, May 1, 2016 at 12:55:24 PM

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

[gwt-contrib] Generator and Linker maintenance and changes

2016-05-02 Thread Colin Alworth
A few issues have come up (both in my own projects and in the issue tracker) where it seemed that continuing to maintain and update the GWT Generator and Linker types may be necessary. At least one was fairly low-hanging fruit (up for review at https://gwt-review.googlesource.com/#/c/14750/), b

[gwt-contrib] Newer gwt-maven-plugin than 2.8.0-beta1 ?

2016-05-02 Thread David Becker
Is there a newer gwt-maven-plugin than 2.8.0-beta1 that should be used with GWT 2.8.0-SNAPSHOT? I want to try out the latest snapshots to keep abreast of the current status-quo, but I'm getting red highlights on JRE Emulation in IntelliJ that I don't get if I use GWT 2.8.0-beta1 with the plugin