I didn't get that quite right, the generated function seem to fail doing the lookup in the castableTypeMap, which must be it's way of assuring that the types are actually castable to the target type.--
Den mandag den 26. oktober 2015 kl. 13.16.21 UTC+1 skrev Brian Pedersen:
It seems the generated function com_google_gwt_lang_
Den mandag den 26. oktober 2015 kl. 13.01.40 UTC+1 skrev Brian Pedersen:Thank's for pointing that out. So i switched to the new annotations in jsinterop.annotations and activated the new mode with -jsInteropMode JS_RC.The cast still doesn't work though :(Instead of a java.lang.ClassCastException, I now get a Uncaught [object Object] during the cast.Once again, everything works if I use the concrete type and remove the cast./Brian
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@example.com.
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.