Google News
logo
Java GWT - Interview Questions
How do I enable assertions?
The GWT compiler recognizes the -ea flag to generate code for assertions in the compiled JavaScript. Only use assertions for debugging purposes, not production logic because assertions will only work under GWT's development mode.
Advertisement