Oh I see. I forgot about that.
These ought to work.
> @JsType(isNative = true, namespace = JsPackage.GLOBAL)
> public abstract class ArrayBuffer { ... }
> @JsType(isNative = true, namespace = JsPackage.GLOBAL, name =
> "ArrayBuffer")
I don't know what else may be the problem.
What else is it going on java side?
Maybe the instance you are trying to cast is null?
What else can it be if not ArrayBuffer (hence the need of generic)? An
ArrayBuffer extension?
If you print the variable you are trying to cast in the console? Does it
says that's an ArrayBuffer?
I jave been fighting with jsinterop exceptions for some time and I know
that it can be very frustrating.
Vassilis
On Mon, Aug 21, 2017 at 4:52 PM, Kirill Prazdnikov <[email protected]>
wrote:
> Im talking about standard ArrayBuffer
>
> https://developer.mozilla.org/en/docs/Web/JavaScript/
> Reference/Global_Objects/ArrayBuffer
>
> From the console of the web browser: What is it required to create a new
>> ArrayBuffer?
>>
>> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>
--
Vassilis Virvilis
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.