Friday, August 18, 2017

Re: ClassCastException in generics

Look, it may not help.

In case if it works I don't understand well enough to explain the specifics. Maybe it checks javascript castability. Which reminds me... if your Object can be instantiated from javascript use that info i.e.

@JsType(isNative = true, namespace = "jslib.namespace.whatever" name = "ArrayBuffer")

If your javascript object is not ArrayBuffer but array_buffer make sure package name and name matches.

This is what I remember. I may be wrong. I have been before.

     Vassilis

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