Re: Java array handling in JSNI

2010-05-26 Thread Alan Chaney
Thomas Thomas Broyer wrote: 1. Is what I've just said correct? If I correctly understood what you said, then yes. Good, thanks. I work on my own, so its nice to have confirmation of things like this. 2. If so, why doesn't the debug runtime system generate a warning when encounte

Re: Java array handling in JSNI

2010-05-26 Thread Thomas Broyer
On 26 mai, 15:34, Alan Chaney wrote: > Hi > > I'm using GWT 2.0.3 > > It seems to me that in hosted mode when I attempt to use (for example) a > float[] as a parameter to a native call it silently fails. > > The documentation only refers very obliquely to this: > > Although Java arrays are not d

Java array handling in JSNI

2010-05-26 Thread Alan Chaney
Hi I'm using GWT 2.0.3 It seems to me that in hosted mode when I attempt to use (for example) a float[] as a parameter to a native call it silently fails. The documentation only refers very obliquely to this: Although Java arrays are not directly usable in JavaScript, there are some helper