Hey folks...
-- I have some code that looks like this:
private native void myNativeMethod() /*-{
...
var myArrayBuffer = [something that gets an ArrayBuffer);
this.@myPackmage::myNonNativeMethod(Lcom/google/gwt/typedarrays/shared/ArrayBuffer;)(myArrayBuffer);
}-*/
private void myNonNativeMethod(ArrayBuffer buffer) {
Uint8Array uint8Array = TypedArrays.createUint8Array(buffer);
uint8Array.byteLength(); // *** HERE ***
}
At "*** HERE ***", that line runs fine when running compiled GWT code.
However, when run in Super Dev Mode, I get something like this:
Uncaught ReferenceError: $zIb_g$ is not defined
at QHcb_g$.wHcb_g$ [as myNonNativeMethod_1_g$] (app-0.js:1350405:3)
at FileReader.<anonymous> (app-0.js:1350882:25)
I tried a bunch of other methods, and they all get this error; toString() was successful, but all the others I tried failed like the above.
Anyone know why this might be? Is there an issue with Super Dev Mode in dealing with these JavaScript wrapper classes?
- Tim
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment