Showing dialog with error2 Error: java.lang.ClassCastException
at ClassCastException.createError (lw_ui-0.js:2052:10)
at ClassCastException.initializeBackingError (lw_ui-0.js:2078:40)
at ClassCastException.Throwable_0 (lw_ui-0.js:2017:8)
at ClassCastException.Exception_0 (lw_ui-0.js:2095:15)
at ClassCastException.RuntimeException_0 (lw_ui-0.js:16350:15)
at new ClassCastException (lw_ui-0.js:217687:22)
at checkCriticalType (lw_ui-0.js:225523:16)
at throwClassCastExceptionUnlessNull (lw_ui-0.js:272:3)
It works with -draftCompile. What we are potentially losing having code compiled with -draftCompile? Is it safe to have it on production?
On Friday, June 16, 2023 at 7:36:50 PM UTC+2 Colin Alworth wrote:
Super Dev Mode skips many optimizations, both to decrease compile times and also to make incremental compilations possible - it isn't possible to make SDM behave the exact same as a production compile. One way you can get close is to specify -draftCompile (how you specify it may vary based on how you run the compiler) so that the production build skips many optimizations.Can you elaborate on what the strange error is?On Friday, June 16, 2023 at 11:32:37 AM UTC-5 nikola wrote:Hello,
The code has passed in development mode but when it's deployed I got an strange error. Is there a difference in generated compiled code when deployed and code in development mode ?
And if true, where can I change that setting to have it equals
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 firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/2bd6bf4a-df1f-4288-b5eb-41d309c37e11n%40googlegroups.com.