Vaadin and GWT 2.7 compilePerFile

165 views
Skip to first unread message

Artur Signell

unread,
Sep 10, 2014, 3:36:40 AM9/10/14
to 'John Stalcup' via GWT Contributors
Hi,

There is some issue with -XcompilerPerFile and the generators used in Vaadin. There was a problem with  “stale types” previously, but this was fixed a while back. Today you consistently get a ClassCastException after the first partial recompilation.
SEVERE: undefinedjava.lang.ClassCastException
at Unknown.Throwable_1_g$(com.vaadin.DefaultWidgetSet-0.js@8:8546)
at Unknown.Exception_1_g$(com.vaadin.DefaultWidgetSet-0.js@18:8704)
at Unknown.RuntimeException_1_g$(com.vaadin.DefaultWidgetSet-0.js@18:8745)
at Unknown.ClassCastException_1_g$(com.vaadin.DefaultWidgetSet-0.js@25:154772)
at Unknown.dynamicCast_0_g$(com.vaadin.DefaultWidgetSet-0.js@11:600)
at Unknown.createWidget_0_g$(com.vaadin.DefaultWidgetSet-0.js@12:102047)
at Unknown.getWidget_7_g$(com.vaadin.DefaultWidgetSet-0.js@29:102094)
I don’t have any good way of extracting a small test case so I created https://code.google.com/p/google-web-toolkit/issues/detail?id=8880 already a while back with instructions on how it can be reproduced using the Vaadin project. 

Would be great to get this sorted out before GWT 2.7 - is there anything I can do to help getting this forward?

- Artur
-- 

John Stalcup

unread,
Sep 10, 2014, 12:06:16 PM9/10/14
to google-web-tool...@googlegroups.com
Ah, i didn't see that bug report. Thanks. Taking a look.

--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CBDB0261-D4A0-470B-8538-089C89F1D598%40vaadin.com.
For more options, visit https://groups.google.com/d/optout.

John Stalcup

unread,
Sep 12, 2014, 2:32:42 PM9/12/14
to google-web-tool...@googlegroups.com
Just to close the loop on the conversation, this is fixed in https://gwt-review.googlesource.com/#/c/9131/

Thanks for the report Artur.
Reply all
Reply to author
Forward
0 new messages