Wednesday, December 19, 2018

Re: A class cast exception when upgrading from GWT 2.8.0 to 2.8.2 ?

BTW: what is the correct way to solve this?

Should I make a new class that extends both JavaScriptObject and implements ZtoeslagAppConfig?

Yes, and getPages() would be implemented using JSNI. That also means that AppPage should be a JSO (and might implement in interface). Alternatively you could rewrite your code to use JsInterop annotations and jsinterop-base library. Less boilerplate and you have to do it anyways if you plan to adopt GWT 3.0 in the future.

-- J.

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
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment