Re: Upgrade from 2.7 to 2.8.1 is failing

2017-06-16 Thread Thomas Broyer
On Friday, June 16, 2017 at 10:57:53 AM UTC+2, Aliuska Marrero wrote: > > Hi Everyone: > > I am developing a big application in GWT, I started migration of versions, > from 2.7 to 2.8.1 and I have some errors that I do not how to solve. I > believe is related with dependencies but do not know h

Re: how to avoid JSNI

2017-06-16 Thread Thomas Broyer
On Friday, June 16, 2017 at 10:38:09 AM UTC+2, Kirill Prazdnikov wrote: > > Hi, since arrays are very slow (see > https://github.com/gwtproject/gwt/issues/9501) > > I have to use the following code to workaround: > > public native byte[] createFastInt8(int size) /*-{ > return new Int8Array(s

Re: how to avoid JSNI

2017-06-16 Thread Jens
Maybe jsinterop.base library has some utility methods for cross casting. Otherwise your options probably are (all untested): 1.) create a JavaScript file with a function that creates the array, then use JsInterop to call that function. 2.) If you want it to be more generic and super unsafe you

Upgrade from 2.7 to 2.8.1 is failing

2017-06-16 Thread Aliuska Marrero
Hi Everyone: I am developing a big application in GWT, I started migration of versions, from 2.7 to 2.8.1 and I have some errors that I do not how to solve. I believe is related with dependencies but do not know how to solve it. So any help will be really appreciated. The version with 2.7 is p

how to avoid JSNI

2017-06-16 Thread Kirill Prazdnikov
Hi, since arrays are very slow (see https://github.com/gwtproject/gwt/issues/9501) I have to use the following code to workaround: public native byte[] createFastInt8(int size) /*-{ return new Int8Array(size); }-*/; The same time I want to avoid using JSNI to be future compatible so How t