Sunday, October 6, 2019

Re: ClassCastException in some browser, but not others (



On Sun, 6 Oct 2019 at 22:56, Jens <jens.nehlmeier@gmail.com> wrote:

Actually I believe it is a bug in closures externs from which elemental2 is generated. Without checking my guess is that IDBDatabase is annotated with a @constructor tag rather than a @interface which is incorrect as the spec defines it as an interface [1]. Unfortunately, this is a common problem with some of the closure compiler externs. It does not impact people using closure compiler. Unfortunately, the jsinterop-generator will generate incorrect code if the extern is incorrectly annotated.

But they do accept fixes for these kind of things?

I believe that they would. My limited experience is that they will almost always accept changes that improve the correctness unless it requires massive reworks of internal apps. Even then I have got through some compromise changes to externs that achieve the same thing. Sometimes the occasional ping is required to get the ball rolling but other than that a relatively smooth experience to get changes in.


--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CACiKNc6F-OJ8auT_CHtpMxw5gmud556oWbyWTZBwbdm-%3D_bU6g%40mail.gmail.com.

No comments:

Post a Comment