JavascriptObject.createObject().cast() ClassCastException

2017-09-08 Thread Thomas Broyer
Do you have any other class implementing the failing interface? When there's only one implementation, the compiler can "tighten" the types and consider/replace every use of the interface as/with the implementing class. The class then extends JSO so GWT knows it doesn't need any cast (actually,

JavascriptObject.createObject().cast() ClassCastException

2017-09-08 Thread Kirill Prazdnikov
I do not see any usage of *Impl, are they there ? -- 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+unsubscr...@googlegroups.com. To post to this

Re: Emulating CompletableFuture with Promise

2017-09-08 Thread Peter Donald
That is pretty awesome. Thanks! On Thu, Sep 7, 2017 at 6:55 AM, Benjamin DeLillo wrote: > I decided to package this up in a standalone library so it can be used > until such time that it makes it into a GWT release. > > https://github.com/OneGeek/GWT-CompletableFuture > > On