Re: Devmode compilation

2023-06-16 Thread Colin Alworth
Your stack trace stops just before where the issue is happening, but the GWT compiler believes that you are using code in an impossible way, and is forced to emit an error message to correctly compile out impossible code. Roughly, the "throw ClassCastException unless null" check means that there

Re: Devmode compilation

2023-06-16 Thread nikola
Some class cast exception... 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 ClassCastExc

Re: Devmode compilation

2023-06-16 Thread Colin Alworth
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 ho

Re: GWT compilation error with JDK 11

2023-06-16 Thread Colin Alworth
GWT 2.9 should support running on Java 11, both running on JDK 11 and compiling Java 11 sources. Without other information, it sounds like there is a problem with your copy of gwt-dev.jar - the jar might be corrupt, or somehow not on your classpath? Can you verify that the jar is present and

Devmode compilation

2023-06-16 Thread nikola
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 ar

devmode compilation

2023-06-16 Thread nikola
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? *The code has passed in development mode but